diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-08-25 19:16:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-08-25 19:16:37 +0000 |
commit | dcac4981327d5f2226b4ad42521261acedea253d (patch) | |
tree | 8c150797c17decccaede74d6b2de4b3f21ba25b3 /usr.bin | |
parent | 5f8c06662258b3f3472b38b0a6d4fba9e519c4a0 (diff) |
Legacy-free PC hardware do not have a real PS/2 keyboard controller, but
rather have the USB HCI emulate it during boot, while legacy mode is enabled.
This causes pckbd0 to attach as the console device, but is lost as soon as
the USB HCI driver attaches.
The disappearance of the emulated PS/2 controller can however be detected
in pckbc(4) - which is supposed to attach after [eou]hci(4), with the controller
refusing to ack commands and replying ``please resend'' instead.
In that case, the kernel will now no longer attach pckbd, and will perform a
new console input device selection, allowing the (real) usb keyboard to
become the console.
Thanks to krw@ for countless tests on legacy-free hardware; also tested on
more conventional hardware by naddy@ and I.
Only amd64 and i386 platforms are affected by this change.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions