All of lore.kernel.org
 help / color / mirror / Atom feed
* fully udev-based hotplug system
@ 2005-06-23 21:54 Marco d'Itri
  2005-06-24  3:04 ` Bill Nottingham
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Marco d'Itri @ 2005-06-23 21:54 UTC (permalink / raw)
  To: linux-hotplug

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

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

end of thread, other threads:[~2005-06-24 18:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-23 21:54 fully udev-based hotplug system Marco d'Itri
2005-06-24  3:04 ` 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

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.