Problem getting USB keyboard to catch new eventX que

Nov 24, 2005 0 Replies

Hi experts,



I have run into a problem with my USB keyboard on an ARM9 based embedded linux version 2.6.13.2. The USB keyboard works nicely and are connected to the /dev/input/eventX que when inserted into the USB plug. However each time i plug the keyboard it is connected to a new eventX number (the next free number).



The problem is that after having plugged the keyboard some times there are no longer any free eventX number and the keyboard stops working. On my PC running linux the keyboard gets the same eventX number each time but on the embedded linux it seems to run through the event ques until no more free ques.



I have loaded usbcore, ohci-hcd, and tried both usbkbd and the newer usbhid, same thing happens for both keyboard drivers.



I even tried making 32 eventX nodes (using mknod) but then it just takes longer to run into the problem, i.e. after 32 insertions no more USB keyboard :-(



Why is this ? Do i need any additional drivers ?



Hoping for a prompt reply as we are soon to release the product :-(



B.Rgds Peter Denmark



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required