From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: fully udev-based hotplug system
Date: Fri, 24 Jun 2005 05:02:23 +0000 [thread overview]
Message-ID: <20050624050223.GC24461@kroah.com> (raw)
In-Reply-To: <20050623215418.GA16536@wonderland.linux.it>
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_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 prev parent reply other threads:[~2005-06-24 5:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=20050624050223.GC24461@kroah.com \
--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 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).