John Crispin a écrit : > > > what would you use it for ? the keyboard needs to be attached to some > kind of tty. and as ttyS0 uses the serial link there would not be to > much poibnt as you have no access to the ptys > > alternativley you could enable the usb-hid support and get the > keyboard event through input-evdev
That's what I did to play with usb keyboards : - Activate USB-HID in kernel - Create device with min/maj 13,64 in /mnt/flash/dev (I didn't find where I could add devices to the main /dev directory in the main flash image) - Parse input from the device created Here's an excellent introduction to USB-HID: http://www.frogmouth.net/hid-doco/linux-hid.html Cheers, -- Xavier Garreau http://www.xgarreau.org/
