From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Yanok Date: Thu, 17 Nov 2011 01:17:02 +0400 Subject: [U-Boot] [PATCH] usb: increase delay after port reset In-Reply-To: <201111092009.03751.vapier@gentoo.org> References: <1320883438-12274-1-git-send-email-yanok@emcraft.com> <201111092009.03751.vapier@gentoo.org> Message-ID: <4EC4284E.3000408@emcraft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Mike, On 10.11.2011 05:09, Mike Frysinger wrote: > 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. Thanks for the pointer. Unfortunately I don't have time to look into this deeper and we will go with a workaround for now. Maybe we will return to this later. Regards, Ilya.