From: Aivils <ai...@un...> - 2004-10-22 08:27:17
|
On Friday 22 October 2004 08:43, samar j. singh wrote: > Hi > > I am looking at the best way of setting up 16 usb keyboards connected > through multiple hubs to one linux machine, so that the input of the > keyboards either goes to separate files, or, it goes to a common file > and some prefix identifies the keyboard from which the input has come. > > As the inputs are short there is no need for the input document to be > visible to the persons typing at the keyboard. The purpose is data > collection so multiple X Servers are not necessary or desirable. > > Is it possible that there is some way of polling each usb keyboard > and capturing the characters or alternately using the usb port code > to act as a prefix for that character in a common file. > All ideas are welcome. You can use evtest.c code from linuxconsole.sf.net CVS repositary and more compicated Debian evdev keyboard driver. I do not understand how to work Debian file repositaries, just down load Debian xfree86 sources and patches and look for *lnx_evdev*. Both evtest.c and evdev keyboard driver are fully functional in Your case. IMHO You must be capable write and patch "C" programms :) There is not existing "ready for use" solutions. Aivils |