What I'd like to find out, is which is the best way to do it.
As one option, I can hook IRQ1 myself, and completely reimpliment the keyboard
handler. This allows me to have my module inserted without the user having to
patch the kernel, but it also requires me to completely reimpliment the
keyboard handler inside my module. This is also platform-specific.
The other way is a small modification to the existing keyboard handler code.
It could declare a global symbol in the kernel, and if this symbol was set,
call the code that it pointed to every time a scancode was being processed, and
behave according to the return value of that function.
Thanks,
Ryan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/