raspberry pi zero and SLOW USB HID

Wojciech Puchar wojtek at puchar.net
Tue Jan 14 07:12:34 UTC 2020


>> device is the same hardware with the same firmware. What causes larger 
>> delays?
>
> What you see is likely a manifestion of:
>
> #define DWC_OTG_HOST_TIMER_RATE 10 /* ms */
>
changed to 1. nothing improved.

any other things to try?


> Which is because we want save a little power polling the DWC OTG.
>
> To avoid this:
>
> USB transfers must be double buffered! That means you must submit two 
> IN-endpoint jobs, instead of just one. Then the driver will understand there 
> is more work to do, and not go to idlewait!
>
> --HPS
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>


More information about the freebsd-hackers mailing list