Problem with interrupt-in endpoint and USB hub
Posted: Sun Jul 29, 2007 8:31 pm
Dear all,
I use AVR-USB for the implemetation of a special interface converter for the Hameg 81xx measurement devices. As I do not want to poll the interfaces permanently, I implemented the interrupt-in endpoint. Everything seems to work quite well, I was able to use libusb's usb_interrupt_read() function on my Linux host and it behaved at it was intended to.
When I connected the converter via an USB hub to the host, usb_interrupt_read() returns error -22 (error submitting URB: Invalid argument). I tested it with another USB hub, but got the same errors.
My configuration:
Host:
* Linux 2.4.34.5
* libusb-0.1.12
AVR-USB:
* HID (according to AVR-doper)
* interrupt-in endpoint
* usbFunctionWrite() and usbFunctionRead()
HUB:
* USB 2.0 (Thyphoon card reader with 3 USB ports)
AVR:
* AVR mega 162
* avr-gcc 4.2.0
* avr libc 1.4.6
Was any member of the community able to use the interrupt-in endpoint via an USB hub?
Any hints? Thanks!
I use AVR-USB for the implemetation of a special interface converter for the Hameg 81xx measurement devices. As I do not want to poll the interfaces permanently, I implemented the interrupt-in endpoint. Everything seems to work quite well, I was able to use libusb's usb_interrupt_read() function on my Linux host and it behaved at it was intended to.
When I connected the converter via an USB hub to the host, usb_interrupt_read() returns error -22 (error submitting URB: Invalid argument). I tested it with another USB hub, but got the same errors.
My configuration:
Host:
* Linux 2.4.34.5
* libusb-0.1.12
AVR-USB:
* HID (according to AVR-doper)
* interrupt-in endpoint
* usbFunctionWrite() and usbFunctionRead()
HUB:
* USB 2.0 (Thyphoon card reader with 3 USB ports)
AVR:
* AVR mega 162
* avr-gcc 4.2.0
* avr libc 1.4.6
Was any member of the community able to use the interrupt-in endpoint via an USB hub?
Any hints? Thanks!