[U-Boot] [PATCH] usb: increase delay after port reset

Mike Frysinger vapier at gentoo.org
Thu Nov 10 02:09:02 CET 2011


On Wednesday 09 November 2011 19:03:58 Ilya Yanok wrote:
> In our setup (OMAP3 EHCI host, keyboard, mouse mass storage and BT
> dongle devices connected via several hubs) keyboard fails to initialize
> during the bus scan (stalled endpoint while get_descriptor/64) and after
> that keyboard is unusable (even in Linux) until power off/on.
> 
> Increasing the delay after port reset from 200ms to 260ms solves this
> problem.

ugh.  this doesn't sound like the right way to fix things.  looks like Linux 
has added a dynamic polling state that automatically deals with broken 
devices.  look at its hub_port_debounce.  seems like we should implement 
something like that instead of delaying longer and longer and making the 
situation needlessly worse for most systems.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111109/d8433847/attachment.pgp 


More information about the U-Boot mailing list