Skip to contentSkip to conversation

the "correct" hotplug system...

DISCUSSION Piter Punk 1 participant 1 message Aug 25, 2005

lore
Share & tools
lore

Piter Punk

author
#0 lore raw

Hi,

I still had many doubts about hotplug/udev and the future
"ways" of that. As i can see, i need at startup:

1) run "udevstart"
2) put "/sbin/udevsend" as my hotplug handler.
3) All hotplug events will run udev.rules, and in the end of udev.rules i need these lines:

ENV{UDEVD_EVENT}="1", RUN+="/sbin/udev_run_hotplugd" RUN+="/sbin/udev_run_devd"

With only these, i don't load my pcicard modules and things
like that. Because that i put:

0) run hotplug agents to pickup "coldplug" events and load pci modules and already connected usb devices

Is these the correct way to do? Or i am making something
wrong or can change something to achieve better results? I am using the udev-064, hotplug-2004_09_23 and kernel 2.6.12.2.

Thanks!

Piter PUNK

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel