Date: Tue, 14 Jan 2020 08:12:26 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: Hans Petter Selasky <hps@selasky.org> Cc: Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID Message-ID: <alpine.BSF.2.20.2001140810360.49599@puchar.net> In-Reply-To: <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.2001140810360.49599>