LibUSB usb_control_msg fails for kernel 3

Asked by Ian McClenahan

Since Ubuntu moved to kernel 3 we are no longer able to communicate with our USB device which uses libusb 0.1. The device works with Ubuntu 10.04 and earlier but fails with Ubuntu 11.10 and 12.10. I tried Fedora 17 which also uses kernel 3 and it functions as expected. The first point where I can see problems is a call to usb_control_msg
usb_control_msg(mDevice, USB_RECIP_DEVICE | USB_TYPE_VENDOR, 0xA0, 0xE600, 0, (char*)pBuffer, 1, 1000)
which now returns -1.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu libusb Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Ian McClenahan (i-mcclenahan) said :
#2

Bug #1076295 has been created

Can you help with this problem?

Provide an answer of your own, or ask Ian McClenahan for more information if necessary.

To post a message you must log in.