All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Hotplug in device with Linux
Date: Fri, 02 May 2003 02:40:33 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-105184318731736@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-105184058830028@msgid-missing>

On Fri, May 02, 2003 at 09:52:47AM +0800, ?L???w wrote:
> 
> Hi there,
> I am working on sharp PDA that has Linux in it.
> I'd like it to trigger some event when USB line has been plugged into host,
> so that I can use it to call up a corresponding AP to offer service.

So your Linux PDA shows up as a USB device when plugged into a USB host?
Or is it the other way around?

> Can hotplug trigger this kind of event in Linux device?

Yes.  If you are a USB host you should get that event today.  If you are
a USB device (what Linux calls a USB gadget), you should generate that
event, but as there is no mainline code for USB gadget's right now, I do
not think that has been hooked up yet.

Are you using the Lineo USB gadget code, or some other USB code?

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  reply	other threads:[~2003-05-02  2:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-02  1:52 Hotplug in device with Linux 林建安
2003-05-02  2:40 ` Greg KH [this message]
2003-05-02  3:10 ` ???
2003-05-02  3:48 ` Greg KH
2003-05-02  5:09 ` David Brownell
2003-05-02  6:11 ` Greg KH
2003-05-02  6:56 ` David Brownell

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=marc-linux-hotplug-105184318731736@msgid-missing \
    --to=greg@kroah.com \
    --cc=linux-hotplug@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 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.