Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2020 14:53:17 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Wojciech Puchar <wojtek@puchar.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: raspberry pi zero and SLOW USB HID
Message-ID:  <15d1ed37-a5d4-ed28-beeb-a4b248b5e802@selasky.org>
In-Reply-To: <alpine.BSF.2.20.2001141431400.56040@puchar.net>
References:  <alpine.BSF.2.20.2001131439440.2189@puchar.net> <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <alpine.BSF.2.20.2001131539550.36878@puchar.net> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> <alpine.BSF.2.20.2001140810360.49599@puchar.net> <83126787-192b-5f1b-305c-f48818706b0c@selasky.org> <alpine.BSF.2.20.2001141431400.56040@puchar.net>

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

On 2020-01-14 14:32, Wojciech Puchar wrote:
> Yes.
> 
> Then i've tried linux (truly horrific experience) on raspberry pi.
> Exactly the same delays on USB.

It might be something in the DWC OTG chipset then :-(

Let's put it like this. Be very happy that the DWC OTG works reliably 
AS-IS :-) I spent a lot of time hacking the driver to the state it is in 
today and reliability and device diversity has consequently been chosen 
over performance.

If your device supports retrieving the data via a HID interface class 
control request, that might be faster!

Else use a transfer of 64-bytes instead of 8-bytes.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15d1ed37-a5d4-ed28-beeb-a4b248b5e802>