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)
Fri, Nov 1, 5:37 AM
Unknown Object (File)
Sun, Oct 27, 4:42 AM
Unknown Object (File)
Thu, Oct 17, 10:10 AM
Unknown Object (File)
Oct 12 2024, 2:37 PM
Unknown Object (File)
Oct 12 2024, 2:36 PM
Unknown Object (File)
Oct 12 2024, 12:37 PM
Unknown Object (File)
Oct 1 2024, 2:45 PM
Unknown Object (File)
Sep 27 2024, 1:24 AM
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