Okay.  This is confusion.

The original report was that when a _bulk_ pipe stalled, the attempt to
clear the stall also reported -EPIPE.

We're not trying to clear stalls on control endpoints.

Matt

On Fri, Oct 04, 2002 at 12:50:19PM -0700, David Brownell wrote:
> Matthew Dharm wrote:
> > Hrm...
> > 
> > Well, I can try this as an experiment... just assume that the clear halt
> > has worked... tho the logs suggest that it didn't.
> 
> I'm not sure I see what you're saying.  I think the correct response
> from device+core+hcds is quite typically going to be reporting -EPIPE
> to drivers trying to clear a control halt.  It indicates "there was no
> control halt" ... not "the clear didn't work".
> 
> - Dave
> 
> >>
> >>I think that means that some drivers, maybe even usb-storage, might need
> >>to be able to clear halts on the control pipe, if they talk to devices that
> >>are not "well designed".  BUT any driver that tries should expect that most
> >>devices return protocol stalls (-EPIPE) when asked to clear halts.
> >>
> >>Matt, does this help resolve your issue?
> >>
> >>- Dave
> >>
> >>
> > 
> > 
> 
> 

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

What, are you one of those Microsoft-bashing Linux freaks?
                                        -- Customer to Greg
User Friendly, 2/10/1999

Attachment: msg08312/pgp00000.pgp
Description: PGP signature

Reply via email to