Charles,
I have an HID device with multiple interfaces (0-3) with IN endpoints (81-84) 
respectively.

It works OK if  I use with interface 0.

When I tried hid_force_open() with interface 1, I got the following error.
"WARNING: hid_prepare_hid_descriptor(): failed to get HID descriptor for USB 
device 004/003[1] "

I noticed the comment on hid_prepare_hid_descriptor() function and realized it 
always uses USB_ENDPOINT_IN+1. 

So I changed it to USB_ENDPOINT_IN+2 but still getting the same error.

I am using libhid-0.2.15+20060325 version of the library.

What should I do to get it work?

Should I use another version of the libray? 

Please advise.

Thanks
Muthu


_______________________________________________
libhid-discuss mailing list
[email protected]
https://ailab.ch/mailman/listinfo/libhid-discuss

Reply via email to