Some devices don’t have legacy interrupt support, but still need to use a legacy keyboard. This patch adds a KBC check and manual call to the keyboard service if there is a key waiting in the KBC.
diff --git a/src/Kconfig b/src/Kconfig index 6606ce4..d389ede 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -440,6 +440,11 @@ menu "BIOS interfaces" default y help Support for int15c2 mouse calls.
- config KBC_POLL
bool "Poll the keyboad controller for keys"
default n
help
Poll for keys when interrupts are not available.
Note we already have CONFIG_HARDWARE_IRQ. So, do we actually need this new config option?
cheers, Gerd