On Thu, 25 May 2006, Norbert Preining wrote:

> Hi Alan!
> 
> On Don, 25 Mai 2006, Alan Stern wrote:
> > I don't know whether such a change would be acceptable in general.  
> > Perhaps it would, especially if we jump to Handle_Errors only for data-OUT
> > transfers.
> 
> Please keep in mind that I am *NOT* searching for a hand-made solution
> for me! I just wanted to report and to be sure that this is a problem of
> my units and not of the USB implementation.
> 
> If you say the way the resets are handled is ok, and it is the hardware
> of mine which is a bit buggy, this is prefectly ok for me. No need to
> debug further. I just report and help to test I somethings occurs I
> consider a bit fishy.
> 
> So I guess we close this chapter, I can live with the resets (shouldn't
> look so much into the log files, or?).

Well, don't be in too big a hurry to give up.  If you're having these
problems, the chances are reasonably good that other people with similar
hardware are too.  They just don't notice or complain about it.  But we
would like the driver to work as well as possible for as wide a range of
devices as possible.  (And having someone like you who possesses the
hardware in question and can quickly and reliably run a lot of tests is a
big advantage!)

If we can't prevent the crashes, reducing the dead time is worthwhile.  
Adding that jump for OUT transfers is a logical approach, for two reasons.  
First, we report the transfer as an error so we might as well treat it as
an error.  Second, since the vast majority of OUT transfers we do are data
writes, a partial transfer really does indicate that something has gone
pretty badly wrong.

Your symptoms remind me a little of what used to happen with the Genesys 
chips.  Maybe the same solution will help.  Do you know how to add an 
entry for your drive into the unusual_devs.h file?  It should contain the 
US_FL_GO_SLOW flag, just like the Genesys entries.

If that stops the resets then it's the best approach.  Otherwise I'll 
settle for doing the immediate resets.

Alan Stern



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to