Hello,

I am using a custom board with a an2131 usb controller. To access this
controller I use a file called usblinux.c from the ezusb2131 driver.
This file uses ioctl calls like USBDEVFS_BULK to access a bulk endpoint
via /proc/bus/usb/*/*. I developped the an2131-software under a 2.5
kernel and the access via userspace worked well. Now I try to do the
same under 2.6.0-test8 and it doesn't behave as it did under 2.5.

I send a bulk-out message and get a response via a bulk-in message. For
some endpoints this works, but for some it works only the first time.
After that, the bulk out seems to work (I don't get an error) but the
bulk in does not work. I get this in dmesg:
usb 1-2: bulk timeout on ep1in
usbfs: USBDEVFS_BULK failed dev 2 ep 0x81 len 64 ret -110

Calling strerror on the errno after the call gives "Connection timed out"

I don't know wether the output does not hit the device or the input does
 not get back to me, but it does work for one endpoint and does not for
others and it does work with 2.5.18 and 2.5.31.

Any hints, any suggestions?

Thanks in advance
  Alexander




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to