[lkml]   [2003]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: PATCH: usb-uhci: interrupt out with urb->interval 0
I am not subscribed to this list - please include me on the 
'cc' line.

Version: 2.4.21-pre6
Subsystem: USB
Driver: Lego USB Tower

Writing one-short interrupt out transfers without this patch
cause the system to hang. Applying this patch fixes that
(thankfully after fsck'ing my disk a dozen times!) - however
the driver (which works still using usb-ohci on an ohci
card) - doesn't work because the reads are failing -
returning a ETIMEDOUT.

I am assuming that the changes made (see below) - somehow
have affected other aspects of one-shot interrupt in transfers?



Frode wrote:

A recent change (2.4.21) in the usb-uhci driver calls
"uhci_clean_iso_step2" after the completion of one-shot
0) interrupt out transfers. This call clears the list of
However, it crashes when trying to get the next desciptor in
the "for"
loop in the "process_interrupt" function, since the list of
are already cleared. A simple change I did was to do a
"break" to quit
the "for" loop for interrupt out transfers with urb->interval 0.


--- drivers/usb/usb-uhci.c.orig 2003-04-16
15:39:04.000000000 +0200
+++ drivers/usb/usb-uhci.c 2003-04-16 15:39:56.000000000 +0200
@@ -2628,6 +2628,7 @@
// correct toggle after
usb_dotoggle (urb->dev,
usb_pipeendpoint (urb->pipe), usb_pipeout
clr_td_ioc(desc); //
inactivate TD
+ break;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:34    [W:0.057 / U:4.724 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site