Page MenuHomeFreeBSD

bhyve: ps2 implement command 0xf6
ClosedPublic

Authored by imp on Oct 27 2023, 9:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 25, 5:57 PM
Unknown Object (File)
Tue, Sep 24, 9:36 AM
Unknown Object (File)
Mon, Sep 23, 6:24 AM
Unknown Object (File)
Fri, Sep 20, 6:48 AM
Unknown Object (File)
Mon, Sep 16, 12:52 PM
Unknown Object (File)
Mon, Sep 16, 12:22 PM
Unknown Object (File)
Wed, Sep 11, 11:13 AM
Unknown Object (File)
Thu, Sep 5, 8:41 PM
Subscribers

Details

Summary

Implement PS2 Keyboard command 0xf6, which is "SET DEFAULTS". This is
the same as 0xf5 (DISABLE KEYBOARD), but without disabling the keyboard
(since that resets all the defaults as a side effect). Normally, we
clear the fifo when we re-enable the keyboard. However, since this
leaves the keyboard enabled, clear the fifo as part of this command and
send an ack.

Linux's keyboard driver sends this command on reboot. Other commands
enable / reset the kebyoard, so it doesn't matter too much this isn't
implemented for booting, eg ubuntu.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable