linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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:00:31 +0000	[thread overview]
Message-ID: <20050624050031.GA24461@kroah.com> (raw)
In-Reply-To: <20050623215418.GA16536@wonderland.linux.it>

On Thu, Jun 23, 2005 at 11:04:54PM -0400, Bill Nottingham wrote:
> Marco d'Itri (md@Linux.IT) said: 
> > 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"
> 
> How does this handle when multiple modules claim the same alias?
> (this happens for PCI devices...)
> 
> One method is to patch the module utilities to just insert all
> matches, I suppose.

That's exactly what modprobe now does in its latest version.

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

  parent reply	other threads:[~2005-06-24  5:00 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 [this message]
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=20050624050031.GA24461@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).