linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ming Lei" <tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Fredrik Johansson <frejo242-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: USB, Host and Device on the same machine
Date: Fri, 24 Oct 2008 16:01:38 +0800	[thread overview]
Message-ID: <d82e647a0810240101l49a4fe39la5e7976f3df743e0@mail.gmail.com> (raw)
In-Reply-To: <53e45cc30810240018w1c3c73c2nf9a9b606e0e7dea4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

2008/10/24 Fredrik Johansson <frejo242-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> 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?

It is a platform dependent problem.  what is your platform ?( musb? )
which buses do the otg controller and ehci controller attache to?

>
> Best regards
> Fredrik Johansson
> --
> To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Lei Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-10-24  8:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=d82e647a0810240101l49a4fe39la5e7976f3df743e0@mail.gmail.com \
    --to=tom.leiming-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=frejo242-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).