[SeaBIOS] [PATCH] EHCI: increase CONNECT detection delay

Sven Schnelle svens at stackframe.org
Wed Aug 1 09:43:17 CEST 2012


Kevin O'Connor <kevin at koconnor.net> writes:

> On Sun, Jul 29, 2012 at 09:51:14PM +0200, Sven Schnelle wrote:
>> 1ms seems to short on my chromebook, increasing that
>> to 5ms makes EHCI work.
>
> Thanks.  Why not go to 20ms - how about the below instead?
> -        msleep(1); // XXX - time for connect to be detected.
> +        // Port is already powered up, but we don't know how long it
> +        // has been powered up, so wait the 20ms.
> +        msleep(EHCI_TIME_POSTPOWER);

Feel free to use that, no objections from my side.

Regards
Sven.



More information about the SeaBIOS mailing list