linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Udev - Trapping "Add" - Subsystem "module"
@ 2006-11-09 18:44 Kilau, Scott
  2006-11-09 19:09 ` Kris van Rens
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kilau, Scott @ 2006-11-09 18:44 UTC (permalink / raw)
  To: linux-hotplug

Hi everyone,
 
I have a quick question that I am hoping has a quick answer.  =)

 
I want to hook my driver when its added to the module subsystem.
 
After spending quite a bit of time trying to figure out why I
couldn't get the right hook, I finally found that it can't
be trapped, currently on purpose.
 

My rule (currently I put in "10-dgap.rules"):

ACTION="add", KERNEL="dgap", SUBSYSTEM="module", \
     RUN+="/usr/sbin/dgapdl", OPTIONS+="last_rule"
 
But it won't hook, because of the rule in 05-udev-early.rules:
 
# ignore these events until someone needs them
SUBSYSTEM="module",            OPTIONS="ignore_device"
 
To verify that I did actually have the right hook okay,
I made a 01-dgap.rules and put my rule in there,
and it did hook like I wanted it to.
 
I really don't want to have a 01-dgap.rules, mainly because
I suspect its probably frowned upon...
(ie, I don't see anyone else doing it...)
 
Is there any way I can "override" the 05-udev-early.rules for
just this entry in my 10-dgap.rules file?

Thanks!
Scott Kilau

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2006-11-10  2:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 18:44 Udev - Trapping "Add" - Subsystem "module" Kilau, Scott
2006-11-09 19:09 ` Kris van Rens
2006-11-09 19:17 ` Kilau, Scott
2006-11-09 19:22 ` Kris van Rens
2006-11-09 20:58 ` Sergey Vlasov
2006-11-10  2:05 ` Kilau, Scott

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).