From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] usb: increase delay after port reset
Date: Wed, 9 Nov 2011 20:09:02 -0500 [thread overview]
Message-ID: <201111092009.03751.vapier@gentoo.org> (raw)
In-Reply-To: <1320883438-12274-1-git-send-email-yanok@emcraft.com>
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
next prev parent reply other threads:[~2011-11-10 1:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 0:03 [U-Boot] [PATCH] usb: increase delay after port reset Ilya Yanok
2011-11-10 1:09 ` Mike Frysinger [this message]
2011-11-16 21:17 ` Ilya Yanok
2012-04-02 17:29 ` Marek Vasut
2012-04-02 19:00 ` Ilya Yanok
2012-04-03 15:19 ` Stefano Babic
2012-04-03 16:16 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201111092009.03751.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.