-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'm currently working on a project I thought other CLUG members might be interested in (and could help me with:). Last week I had the idea that under X, the configuration file specifies which mouse, keyboard, monitor, video card to display the server on. Therefore, it should be possible to have a machine with 2 mice, keyboards, video cards and monitors and have two people logged in simultaneously and independently using 2 X servers. Really usefull for things like, say, internet cafes. However, Linux combines all keyboards into a single system keyboard, and merges all input streams from all keyboards. This has the odd side effect that if you have two keyboards (one PS/2 and one USB) and press 'a' (or any key) on both keyboards at the same time, 3 'a's appear. go figure. Anyway, I've modified the Linux USB keyboard driver so that it created device nodes /dev/keyboards/keyboard?? when you plug in a usb keyboard. (using DEVFS is really cool...i plug in a keyboard and the directley and nodes magically appear). When you open one of those nodes the keypresses stop going through to the system keyboard. I'm working on read, write, and poll at the moment (but open and close work fine). aaah, writing kernel modules again (Yuri: those books were usefull in the end:) Next step is to write a XFree86 input driver for those nodes. Does anyone have any experiance writing XFree86 input drivers? tim http://www.cosc.canterbury.ac.nz/~tnw13 Quidquid latine dictum sit, altum viditur. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Comment: Made with pgp4pine 1.75-6 Charset: noconv iQA/AwUBPcrtnQccL5A6x/wfEQI4qwCfTwArqKe6lyQgp+rwVdZy4wUI0s0An2Gf PvbQcjbCI5mGGif/abTlNSgv =GxgE -----END PGP SIGNATURE-----
