From: "Fredrik Johansson" <frejo242@gmail.com>
To: linux-embedded@vger.kernel.org
Subject: USB, Host and Device on the same machine
Date: Fri, 24 Oct 2008 09:18:48 +0200 [thread overview]
Message-ID: <53e45cc30810240018w1c3c73c2nf9a9b606e0e7dea4@mail.gmail.com> (raw)
Hello
I am working on an embedded machine that has two USB controllers, one
is a OTG and the other is a pure host.
I have succesfully used g_serial driver on the OTG controller in
device mode and talked to my pc using the cdc-acm driver.
With the g_serial unloaded I have also enabled the ehci-hcd and
cdc-acm drivers and connected the host port to another serial device.
The problem I have now is that I want to be able to have my embedded
machine work as a device on the OTG port and a host on the host port,
but if I load the ehci-hcd driver with g_serial already loaded it
screws everything up since ehci-hcd driver attaches to both the OTG
and the host controller, how can i prevent it from using the OTG
controller?
Best regards
Fredrik Johansson
next reply other threads:[~2008-10-24 7:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 7:18 Fredrik Johansson [this message]
[not found] ` <53e45cc30810240018w1c3c73c2nf9a9b606e0e7dea4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-24 8:01 ` USB, Host and Device on the same machine Ming Lei
2008-10-27 16:44 ` David Brownell
2008-10-28 7:42 ` Fredrik Johansson
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=53e45cc30810240018w1c3c73c2nf9a9b606e0e7dea4@mail.gmail.com \
--to=frejo242@gmail.com \
--cc=linux-embedded@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).