linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB, Host and Device on the same machine
@ 2008-10-24  7:18 Fredrik Johansson
       [not found] ` <53e45cc30810240018w1c3c73c2nf9a9b606e0e7dea4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2008-10-27 16:44 ` David Brownell
  0 siblings, 2 replies; 4+ messages in thread
From: Fredrik Johansson @ 2008-10-24  7:18 UTC (permalink / raw)
  To: linux-embedded

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-28  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24  7:18 USB, Host and Device on the same machine Fredrik Johansson
     [not found] ` <53e45cc30810240018w1c3c73c2nf9a9b606e0e7dea4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-24  8:01   ` Ming Lei
2008-10-27 16:44 ` David Brownell
2008-10-28  7:42   ` Fredrik Johansson

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).