On Wed, 5 Nov 2003, Johannes Erdfelt wrote:

> On Wed, Nov 05, 2003, Alan Stern <[EMAIL PROTECTED]> wrote:
> > On Tue, 4 Nov 2003, Prageeth wrote:
> > > thanks for the reply.
> > > 
> > > after the timeout, if i call usb_clear_halt(), it
> > > works fine. is there any better method?
> > > 
> > > am suspecting some D0/D1 toggle problem.
> > > 
> > > is there some known issues? would a patch be available
> > > for preferably 2.4.20-18? am afraid have to stick to
> > > 2.4 itself..
> > 
> > Are you sending control message to endpoint 0?  The uhci-hcd driver in 2.6 
> > definitely has an error with toggling for control endpoints.  I don't know 
> > if that error is also present in 2.4 -- but even if it is, it's unlikely 
> > that anyone will be interested in fixing it.
> 
> Unlikely a problem in 2.4. Toggling rules for control is different and
> restarts from a deterministic state every message.
> 
> I'd be surprised if it's broken in 2.6, but I haven't seen all of the
> patches that went in.

It very definitely was broken in 2.6, and I don't think it's ever been
fixed.  Apparently when the queueing code was added, the new data toggle
fixup routines didn't take into account that control transfers are
different from bulk and interrupt transfers.  I sent in a patch in August,
but you never okayed it so it wasn't applied. See

http://www.mail-archive.com/[EMAIL PROTECTED]/msg14959.html

Alan Stern



-------------------------------------------------------
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