linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matts Kivik <kivik@firstlinux.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Is this the official hotplug ?
Date: Sat, 04 Aug 2001 20:01:11 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-99695537506650@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-99692070315295@msgid-missing>

Thanks for your answer. Do you know where I can find information on what happens when I plug a device to the usb port. I can see that /proc/bus/usb/devices gets information on my device. Now I would like to start a program, or script when this happens (ONLY when a certain device is inserted), how shall I do that, (on a standard production pre compiled generally distrubuted kernel (Mandrake/RedHat....)).

--- David Brownell <david-b@pacbell.net>
> wrote:
>"Matts Kivik"  wrote:
>
>> I have seen there is also a hotplug deamon called usbmgr.
>> 
>> Is any of theese the official one ?
>
>Well, only the /sbin/hotplug mechanism is actually called "hotplug"
>and has direct kernel support.  It's referenced in the kernel
>config help for CONFIG_HOTPLUG.  All in all, I think it
>has more of a claim to being "official" than "usbmgr".
>
>Actually a key part of the idea was to get away from the need to
>have an extra daemon running all the time, consuming system
>resources.
>
>- Dave
>
>> Clearly there is only room for one, unless they are somewhat compatible, as a
>> developer I cant develop hotplug features for more than one hotplug handler
>> for my piece of usb hotplug device.
>> 
>
>
>
>_______________________________________________
>Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
>Linux-hotplug-devel@lists.sourceforge.net
>http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2001-08-04 20:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-04 10:20 Is this the official hotplug ? Matts Kivik
2001-08-04 16:12 ` David Brownell
2001-08-04 20:01 ` Matts Kivik [this message]
2001-08-05  0:22 ` 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-99695537506650@msgid-missing \
    --to=kivik@firstlinux.net \
    --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 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).