To be slightly more specific -- 'returned a status code indicating a
command error' isn't quite right.  Only if a status code is returned that
indicates 'unrecoverable error' is the reset performed.

This behavior, BTW, is mandated by the specification.  If we see this code,
we are required to reset the device.

Matt

On Thu, Dec 19, 2002 at 04:29:54PM -0500, Alan Stern wrote:
> On Thu, 19 Dec 2002, David Brownell wrote:
> 
> > ... usb-storage gets unhappy when
> > it decides (why?  and unsuccessfully) to reset high speed
> > devices.
> 
> Usb-storage decides to reset devices (regardless of speed) for only two
> reasons:
> 
>       1.  A reset was requested by the SCSI layer.
> 
>       2.  There was an error in the transport protocol: the device
> unexpectedly halted an endpoint, or failed to provide a packet of the
> proper size or having the proper magic numbers, or returned a status code
> indicating a command error.
> 
> Alan Stern
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: Geek Gift Procrastinating?
> Get the perfect geek gift now!  Before the Holidays pass you by.
> T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

I'm a pink gumdrop! How can anything be worse?!!
                                        -- Erwin
User Friendly, 10/4/1998

Attachment: msg10174/pgp00000.pgp
Description: PGP signature

Reply via email to