Citeren Robert Millan <[EMAIL PROTECTED]>:

> > The keyboard is accessed directly, too.  There is a simple driver in the
> > kernel though so the interrupt handling is done inside the kernel.
> 
> and the Xserver is also accessing VGA and keyboard directly? looks like
> an unnecessary code duplication to me.

Currently I'm working on a XKB plugin for the console client. Some months ago 
Marcus and I had a discussion about this. Marcus spoke about a repeater for the 
keyboard from which X can read input. I can design a protocol to speak with the 
keyboard via this driver. This protocol includes console switching, controlling 
LEDs, reading scancodes and keycodes, setting hardware bits like repeat and 
locking, etc.

X should be addepted to use this, the console switching code is in the input 
driver of X and it has access to the keyboard IIRC. 



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to