Re: USB and clear endpoint stall

From: Ian Dowse <iedowse_at_iedowse.com>
Date: Sun, 19 Feb 2006 15:00:12 +0000
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
Received on Sun Feb 19 2006 - 14:00:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC