From: mr_bunnyman <s_f...@un...> - 2009-07-19 17:15:24
|
Hi Folks, I'm having some trouble getting an USB Human Interface Device to work on my qemu-verdex-image, build with Angstroem/OpenEmbedded and based on 2.6.21 without an X-Server. After plugging it in, everything seems to work fine: $ (qemu) usb_add host:046d:c626 $ usb 1-3: new low speed USB device using pxa27x-ohci and address 2 $ usb 1-3: configuration #1 chosen from 1 choice $ usbcore: registered new interface driver usbhid $ drivers/usb/input/hid-core.c: v2.6:USB HID core driver The driver seems to have loaded: $ cat /proc/bus/usb/devices $ T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 $ D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 $ P: Vendor=046d ProdID=c626 Rev= 4.04 $ S: Manufacturer=3Dconnexion $ S: Product=SpaceNavigator $ C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA $ I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none) $ E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms But when I try to access the Input-Subsystem to read out movement events, my problems begin. The /dev/input section is empty/non-existant: $ ls -l /proc/bus/input/devices $ -r--r--r-- 1 root root 0 Jul 17 15:31 /proc/bus/input/devices $ ls /dev/input $ ls: /dev/input: No such file or directory I'm using the standard basic-image build with Angstroem 2007 for my gumstix-verdex qemu image. I found out, that the Kernel-Option CONFIG_USB_HIDINPUT has something to do with the input-subsystem, but this option seems to be deprecated since 2.6.19...? Knows anybody how i get it to work? How can I access my USB-HID through /dev/input/eventX? Where do I have to look for the appropriate Kernel-Option to switch the service on? Thanks in advance the bunnyman! -- View this message in context: http://www.nabble.com/Kernel---Input-Subsystem---USB-HID%3A-where-is-my--dev-input-eventX--Verdex-Angstroem2007%2C-2.6.21-tp24556432p24556432.html Sent from the Gumstix mailing list archive at Nabble.com. |