I'm having some problems with a custom USB device that communicates with a Linux host running usb-uhci (Red Hat Linux 9, kernel-2.4.20-31.9)
Simply put, bulk read (via libusb usb_bulk_read()) from the device will sometimes fail. After the system has got into a failure state, all subsequent also return with error. Device reopen doesn't help, either, in fact the device sometimes isn't there any longer (i.e. it won't be returned by a bus scan.) Reloading the kernel module usually puts it right, however.


I could give you more details, but I think I'll ask first of all if anyone can explain what's going on when the following system log messages occur:

Sep 3 15:29:58 indonesia kernel: usb-uhci.c: interrupt, status 2, frame# 915
Sep 3 15:29:58 indonesia kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x82 l
en 108 ret -84
Sep 3 15:30:01 indonesia kernel: usb_control/bulk_msg: timeout
Sep 3 15:30:01 indonesia kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x82 l
en 32 ret -110
Sep 3 15:30:04 indonesia kernel: usb_control/bulk_msg: timeout
Sep 3 15:30:04 indonesia kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x82 l
en 32 ret -110


(This is what I get at the point of failure.)

Also, is there anything else I can do to make it easier to track down the problem? It is probably a device error, but can the driver help me identify it?

- Toralf



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to