-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 8 Nov 2002, James Grant wrote:
> That got merged into the 2.5 development kernel just recently I believe. > > I think at the moment (2.4 kernels) the USB keyboard driver simply sends your > keystrokes through the AT keyboard driver. But in 2.5 everything has been > split up and is nice and clean. Yes. Here's a description of everything if anyone wants to know (that I just learnt/inferred): Linux up to and including version 2.4 has one console driver, with multiple consoles (F1 through F10 or something). The one console driver grabs your keyboard and apps get keystrokes through the console, or more precisely a tty (look in /dev for all of them). To get USB keyboards to work easily, the USB keyboard driver shoves all keystrokes in the old keyboard queue. The TTY code (and the console code) is really messy. In any case, in 2.4 and earlier kernels all applications think you have only one keyboards, no matter how many you actually have. Enter the Linux Console Project (linuxconsole.sourceforge.net). Working on the 2.5 series kernel they did everything properly. You can attach different keyboards to different consoles, and run X on different consoles therefore using different keyboards for different X sessions. (Linux already does different mice and monitors reasonably well) Someone has backported these changes to 2.4.19. sweet. does any of that make sence? 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/AwUBPcsL7AccL5A6x/wfEQJ4UwCfft/z3yuRwbwsa4jSUgBboRaxK2wAniAa dbh5KowtrIVn8Pbbl/mhwQBT =jT9R -----END PGP SIGNATURE-----
