Configuration info:
kernel 2.4.2
USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10)
usb-uhci & uhci (same result with both modules)

I read data from my USB device (ALCATEL ADSL SpeedTouch USB modem) in user
space (ok, it's strange, but afterwards, it calls kernel mode functions!)
using USBDEVFS_SUBMITURB and USBDEVFS_REAPURB, with give access to
usb_submit_urb() and proc_reapurb().

I sucessfully read some data from the device, but after a short period of
time (say 5 seconds at most), I get an error (-EPIPE) in the urb :
status = -32 and error_count = 1 (for usb-uhci) or 0 (for uhci).

I tracked down the problem to uhci_map_status() with status=0x500000.
According to uhci.h, it means : TD_CTRL_STALLED & TD_CTRL_BABBLE.

What does that means (stalled? babble?)? Am I doing something wrong? Does
this problem may occur if the USB device is sending data & there is no
active URB to get it? Is it related to interrupt in any ways?

I try usb_clear_halt(). It just gives me a timeout.

Source code available on request.

TIA,
Benoit


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to