From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 24 Jun 2005 05:02:23 +0000 Subject: Re: fully udev-based hotplug system Message-Id: <20050624050223.GC24461@kroah.com> List-Id: References: <20050623215418.GA16536@wonderland.linux.it> In-Reply-To: <20050623215418.GA16536@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jun 23, 2005 at 11:54:18PM +0200, Marco d'Itri wrote: > 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" Is the $modalias new? Or did I miss another neat feature that Kay slipped in? :) But yes, I don't see why it wouldn't work. > # I have a working serio.agent, but how can other bus types be supported? > # Which other bus types exist? Look at the current hotplug package for this answer. > # 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? scsi? thanks, greg k-h ------------------------------------------------------- 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_id492&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