USB and clear endpoint stall
Ian Dowse
iedowse at iedowse.com
Sun Feb 19 07:00:19 PST 2006
In message <43F87155.3050103 at shapeshifter.se>, Fredrik Lindberg writes:
>After a quite recent -current update, UPEKs touchchip driver began
>to run dead slow and by turning on debugging for libusb (which the
>driver utilize) I noticed several 5 seconds long read timeouts.
>
>These timeouts were not present with the same driver on an earlier
>current and I think I've tracked it down to the commits on Jan 8
>which dropped usbd_clear_endpoint_stall() from usbd_setup_pipe().
>Apparently this device needs this, because after re-adding this
>functionallity the timeout disappears.
>
>I've attached a patch that works for me, it's basicly the same
>as before Jan 8, but with the quirk reversed.
>My USB-foo isn't that good so people with better understanding
>of the USB stack might have a better fix for this.
Committed, thanks! I wasn't sure if such devices would exist, but
that's exactly the right way to handle them.
Ian
More information about the freebsd-current
mailing list