From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: fully udev-based hotplug system
Date: Thu, 23 Jun 2005 21:54:18 +0000 [thread overview]
Message-ID: <20050623215418.GA16536@wonderland.linux.it> (raw)
Could something like this work?
The idea is to use udev as the hotplug multiplexer and totally kill
/sbin/hotplug and /etc/hotplug.d/default/default.hotplug (and hotplug.d/
too when other packages will stop using it).
ACTION="add", SUBSYSTEM="pci", MODALIAS="*", \
RUN+="/sbin/modprobe $modalias"
ACTION="add", SUBSYSTEM="usb", MODALIAS="*", \
RUN+="/sbin/modprobe $modalias"
# I have a working serio.agent, but how can other bus types be supported?
# Which other bus types exist?
# When the input subsystem will be modalias-enabled this will become
# a modprobe call like for the others.
ACTION="add", SUBSYSTEM="input", BUS="serio", \
RUN+="/etc/hotplug/serio.agent"
# I have not written yet this one...
ACTION="add", SUBSYSTEM="ieee1394", RUN+="/etc/hotplug/ieee1394.agent"
# what else is worth special-casing before it will be converted to the
# driver model?
SUBSYSTEM="net", RUN+="/etc/hotplug/net.agent"
ACTION="add", SUBSYSTEM="firmware", RUN+="/etc/hotplug/firmware.agent"
--
ciao,
Marco
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click
_______________________________________________
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
next reply other threads:[~2005-06-23 21:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-23 21:54 Marco d'Itri [this message]
2005-06-24 3:04 ` fully udev-based hotplug system Bill Nottingham
2005-06-24 5:00 ` Greg KH
2005-06-24 5:02 ` Greg KH
2005-06-24 12:27 ` Kay Sievers
2005-06-24 12:35 ` Marco d'Itri
2005-06-24 12:43 ` Kay Sievers
2005-06-24 18:33 ` Bill Nottingham
2005-06-24 18:50 ` Greg KH
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=20050623215418.GA16536@wonderland.linux.it \
--to=md@linux.it \
--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).