Hello hake,
I don't know in fact as /dev/keyboard0 is not present. when I plug in the keyboard I get :
usb 2-1: new high speed USB device using fsl-ehci and address 4
usb 2-1: New USB device found, idVendor=05ac, idProduct=1006
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Keyboard Hub
usb 2-1: Manufacturer: Apple, Inc.
usb 2-1: SerialNumber: 000000000000
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 3 ports detected
usb 2-1.2: new low speed USB device using fsl-ehci and address 5
usb 2-1.2: New USB device found, idVendor=05ac, idProduct=0221
usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.2: Product: Apple Keyboard
usb 2-1.2: Manufacturer: Apple, Inc
On device, each time I unplug / plug my keyboard, I get two new devices :
crw-rw---- 1 root root 189, 135 Jan 1 00:43 /dev/usbdev2.8
crw-rw---- 1 root root 189, 136 Jan 1 00:43 /dev/usbdev2.9
(8 and 9 are incremented at each unplug / plug action, next values are 10 and 11 and so on).
I tried to use some other keyboards, but the result is the same, nothing happens when I press on keys. My aim is to recognize all kind of keyboards as I have no idea of what kind of keyboard people will use on my application.
I don't use touch screen, just a VGA display + mouse + keyboard + serial interface to configure the system.
Regards,
Philippe.