raspberry pi zero and SLOW USB HID

Hans Petter Selasky hps at selasky.org
Tue Jan 14 13:54:20 UTC 2020


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


More information about the freebsd-hackers mailing list