hi hans,
i'm trying your new hid to make it work with the multio of christian klippel. here's what i get when i plug the iobox in my computer (gentoo, 2.6.12)
ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 2-2: new low speed USB device using ohci_hcd and address 4 ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 2-2: skipped 1 descriptor after interface usb 2-2: default language 0x0409 usb 2-2: new device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-2: Product: multI/O Box usb 2-2: Manufacturer: mamalala.de usb 2-2: SerialNumber: Verrsion 0.01 usb 2-2: hotplug usb 2-2: configuration #1 chosen from 2 choices usb 2-2: adding 2-2:1.0 (config #1, interface 0) usbhid 2-2:1.0: usb_probe_interface usbhid 2-2:1.0: usb_probe_interface - got id input: USB HID v1.00 Multi-Axis Controller [mamalala.de multI/O Box] on usb-0000:00:03.0-2 usb 2-2:1.0: hotplug hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
then, i had to do a chmod 666 /dev/input/event*. using lsevent:
./lsevent Compiled with EV_VERSION 0x10000 Nothing on /dev/input/event0. Nothing on /dev/input/event1. Nothing on /dev/input/event2. Nothing on /dev/input/event3. Nothing on /dev/input/event4. Nothing on /dev/input/event5. Nothing on /dev/input/event6. Nothing on /dev/input/event7.
a question: does your object need libusb?
is this normal: cat /dev/input/event0 cat: /dev/input/event0: No such device
thank you hans! pat