Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Dec 2004 13:39:36 -0800
From:      Julian Elischer <julian@elischer.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Question about pipes and ugen
Message-ID:  <41B0DD18.9080300@elischer.org>
In-Reply-To: <20041203.133422.67680751.imp@bsdimp.com>
References:  <41AE5B3C.8010003@elischer.org> <20041201.204502.51859780.imp@bsdimp.com>	<41B0C118.8070001@elischer.org> <20041203.133422.67680751.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help


M. Warner Losh wrote:

>In message: <41B0C118.8070001@elischer.org>
>            Julian Elischer <julian@elischer.org> writes:
>: I didn't say stack.. I said libusb (excepty I spelled it usblib)
>
>OK.  I got confused...
>
>: it recovers on several machines where FreeBSD looses communications with 
>: the target after an error.
>
>Hmmmm.  Actually, FreeBSD does do the ClearFeature(Halt) on opening of
>pipes by the driver (which ugen does each time the pipe subdevice is
>opened).  ClearFeature(Stall) was unfortunately typed from memory
>rather than looking at the standard (section 9.4.5).  What were you
>thinking about changing in this area?
>

BTW it does the halt too late.. by that time it has already tried to do 
other opertations that
have probably timed out (at least on the stupid device I have) so it's 
aborted before it ever gets
to the ClearFeature(Halt).

>
>Warner
>_______________________________________________
>freebsd-usb@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-usb
>To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41B0DD18.9080300>