From: "Bryan Wu" <cooloney.lkml@gmail.com>
To: "Alan Stern" <stern@rowland.harvard.edu>
Cc: "David Brownell" <david-b@pacbell.net>,
"Mike Frysinger" <vapier.adi@gmail.com>,
gregkh@suse.de, linux-usb-devel@lists.sourceforge.net,
"Robin Getz" <rgetz@blackfin.uclinux.org>,
linux-kernel@vger.kernel.org
Subject: Re: [linux-usb-devel] [PATCH] : Allow embedded developers USB options normally reserved for OTG
Date: Thu, 3 Jan 2008 11:52:27 +0800 [thread overview]
Message-ID: <386072610801021952t710db0f8pa2b435224d6926b@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0801021556070.2990-100000@iolanthe.rowland.org>
On Jan 3, 2008 4:58 AM, Alan Stern <stern@rowland.harvard.edu> wrote:
> On Wed, 2 Jan 2008, David Brownell wrote:
>
> > On Wednesday 02 January 2008, Alan Stern wrote:
> > > On Wed, 2 Jan 2008, Mike Frysinger wrote:
> > >
> > > > perhaps the code size is arguable as to whether it really matters.
> > > > the reason we want it is that we have a USB host controller that will
> > > > not work with USB hubs, so we want to make sure the system does not
> > > > attempt such things. (yes, such a USB host controller is retarded,
> > > > but the decision was out of our hands.)
> > >
> > > Just out of curiosity, how does a host controller manage to avoid
> > > working with external hubs?
> >
> > The transaction translators in external high speed hubs require
> > hosts to issue particular USB transactions. If the host controller
> > doesn't implement the that split transaction support, then it won't
> > be supporting external hubs.
>
> So in theory one could connect a high-speed hub to such a host
> controller and expect it to communicate with high-speed devices. So
> long as no full- or low-speed devices are added there wouldn't be any
> split transactions. It wouldn't be USB-2.0 compliant but it should
> still work.
>
Hmmm, basically, I think the answer is yes.
But when you tell customers your devices support USB 2.0, they will
try to plug-in lots of USB devices that you can not even imagine.
If they plug-in a combo USB device including an external USB hub, the
whole embedded Linux system maybe crash or hang there.
So this patch is to refuse enumerate such unsupported USB devices.
-Bryan Wu
next prev parent reply other threads:[~2008-01-03 3:52 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-02 14:48 Robin Getz
2008-01-02 18:47 ` [linux-usb-devel] " David Brownell
2008-01-02 18:57 ` Felipe Balbi
2008-01-02 19:14 ` David Brownell
2008-01-02 18:58 ` Mike Frysinger
2008-01-02 19:16 ` David Brownell
2008-01-02 19:46 ` Alan Stern
2008-01-02 20:25 ` David Brownell
2008-01-02 20:58 ` Alan Stern
2008-01-03 3:50 ` David Brownell
2008-01-03 3:52 ` Bryan Wu [this message]
2008-01-03 17:01 ` Richard D
2008-01-03 3:03 ` Robin Getz
2008-01-03 3:43 ` David Brownell
2008-01-03 4:40 ` Bryan Wu
2008-01-03 7:36 ` David Brownell
2008-01-03 8:05 ` Bryan Wu
2008-01-03 17:04 ` Richard D
2008-01-04 1:20 ` Robin Getz
2008-01-03 7:58 ` Robin Getz
2008-01-03 3:47 ` Bryan Wu
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=386072610801021952t710db0f8pa2b435224d6926b@mail.gmail.com \
--to=cooloney.lkml@gmail.com \
--cc=david-b@pacbell.net \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=rgetz@blackfin.uclinux.org \
--cc=stern@rowland.harvard.edu \
--cc=vapier.adi@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®