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)
Apr 7 2024, 3:54 PM
Unknown Object (File)
Mar 9 2024, 5:15 PM
Unknown Object (File)
Jan 15 2024, 4:30 AM
Unknown Object (File)
Jan 12 2024, 12:08 PM
Unknown Object (File)
Jan 4 2024, 9:44 PM
Unknown Object (File)
Dec 20 2023, 8:13 AM
Unknown Object (File)
Dec 16 2023, 11:11 PM
Unknown Object (File)
Nov 11 2023, 2:51 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