From: Wayne W. <wh...@ma...> - 2003-01-24 21:33:13
|
Hello, Sorry if this is an FAQ, but I couldn't find any archives for linuxconsole-dev or linux-input. I have an x86 machine with two keyboards, one PS/2 and one USB. Under linux 2.5.59, both keyboards work, and the console receives keystrokes from either one. However, I would like to bind the keyboards to separate devices, with only the PS/2 keystrokes going to the console. Then I could access the USB keyboard via /dev/input/eventX. How can I do this? Even better would be /dev/input/keyboardX, but I've not heard of that. If I disable CONFIG_USB_HIDINPUT in my kernel configuration, then the USB keystrokes don't make it to the input layer, so the console doesn't get them. Of course, then they also don't show up in /dev/input/eventX. They do seem to show up in /dev/usb/hiddevX, but this device I'm not familiar with. For example, if I point XFree86 to my USB mouse on /dev/usb/hiddevX, it won't start up. Any pointers would be greatly appreciated. I did look at the ruby CVS, but it seems to be against 2.5.51, and I'm also not clear on what to do with the CVS files. The BitKeeper repository is not accessible to me. Thanks, Wayne P.S. My application for this is to run a second X server, divorced from the VT system and using its own video card, keyboard and mouse, to achieve multidesktop without explicit kernel or X support. I understand that the 2.5 ruby multidesktop support is not quite there yet. |