Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2020 20:48:23 +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.2001132048120.57812@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
>
> #define DWC_OTG_HOST_TIMER_RATE 10 /* ms */

can i change this to 1?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.2001132048120.57812>