Hi,
I am new to USB, when I try to use your generic_hid.c to get some information on my mouse in Ubuntu11.10. I got following information:
---------------exchange_input_and_output_reports_via_interrupt_transfers
submit_bulk_transfer().
need 1 urbs for new transfer with length 2
ioctrl return :-1
Error sending data via interrupt transfer -1
submiturb failed error -1 errno=22
---------------exchange_input_and_output_reports_via_control_transfers
Error sending Input report 0
---------------exchange_feature_reports_via_control_transfers
Error sending Feature report 0
I write some other programs using libusb.so to operate USB device, the ioctl() are all failed as above, anyone can share some information on it?
Thanks,
Hoveran