raspberry pi zero and SLOW USB HID

Warner Losh imp at bsdimp.com
Mon Jan 13 14:34:43 UTC 2020


On Mon, Jan 13, 2020, 6:40 AM Wojciech Puchar <wojtek at puchar.net> wrote:

> thank you for the help i already got. Raspberry pi zero run now completely
> with FreeBSD including USB.
>
> Over this USB we connect our own hardware that looks like HID device.
> Actually it's nothing like mouse or keyboard, but it's HID
> device so to be able to work under windoze without requiring user to
> install any drivers.
>
> Both raspberry pi and PC have 480Mbit/s USB. device actually works with
> 12Mbit/s USB.
>
> my program does lots of hid_read_timeout from this device
>
> When running on PC it goes fast - able to perform enough reads to read all
> needed data.
>
> When running on raspberry pi - in spite of total CPU load is far less than
> 5% - it is slow. all hid_read_timeout works properly but
> way too slow. every read takes like 10 times more time.
>
> what is needed to fix this?
>

I think a RPI firmware upgrade is needed. I don't know if our port has been
updated yet.

Warner

_______________________________________________
> 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