Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 15:00:12 +0000
From:      Ian Dowse <iedowse@iedowse.com>
To:        Fredrik Lindberg <fli+freebsd-current@shapeshifter.se>
Cc:        freebsd-current@freebsd.org
Subject:   Re: USB and clear endpoint stall 
Message-ID:  <200602191500.aa87886@nowhere.iedowse.com>
In-Reply-To: Your message of "Sun, 19 Feb 2006 14:23:33 %2B0100." <43F87155.3050103@shapeshifter.se> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <43F87155.3050103@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



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