mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
64a88efa64
controllers, it is an error to issue a command before the keyboard has had time to reply to the previous command. Setting the LEDs involves issueing 2 commands, so it never worked on these keyboards. Fixed resetting of keyboard. It is possible for unprocessed scancodes to be present when the reset routine is called. This usually occurs after switching from one console driver to another in userconfig. pcvt and syscons attempt to flush any stale scancodes, but sometimes fail to do so because keyboard and/or keyboard controller takes a long time to send the scancodes after reset (scancodes are apparently not flushed by reset!). syscons handles this later by not checking for errors at strategic places, but pcvt was confused. Use an impossible initial and failure mode setting for the LEDs so that the LEDs always get set if they are possibly out of sync. Added missing spltty() in update_led(). |
||
---|---|---|
.. | ||
pcvt_conf.h | ||
pcvt_drv.c | ||
pcvt_ext.c | ||
pcvt_hdr.h | ||
pcvt_kbd.c | ||
pcvt_kbd.h | ||
pcvt_out.c | ||
pcvt_sup.c | ||
pcvt_tbl.h | ||
pcvt_vtf.c |