steve crosby wrote:
On 7/3/05, Matthew Burgess <[EMAIL PROTECTED]> wrote:
<snip>
Well, this is an interesting point. I was going to point you at
http://www.linuxfromscratch.org/lfs/view/6.1-pre1/chapter07/udev.html
(7.4.2, paragraph 4 in particular), but that completely fails to mention
how the driver modules are actually loaded, in order to register
themselves in /sys).
Anyone care to hit me with the cluebat on this one? So far the chain of
events is:
From udev-047, udevd is capable of handling hotplug events from
modules, as well as devices, and knows to call the appropriate hotplug
rc script related to the module. (at module load, a hotplug event is
generated by the kernel, and calls whatever is defined as the hotplug
handler).
The udev package contains some (out of date) docs regarding event
handling and modules - the Changelog specifies the fact that udevd now
handles module events.
-- -
Steve Crosby
Thanks to the both of you. The e-mail announcing 6.1-pre1 arrived while
I was posting this and I saw the udev and hotplug changes. (I was
familiar with them since I had been using to "unstable" book to this
point. Your answers help me to understand how my box works now.
Currently, I want to limit my knowlege to the "basics" otherwise I would
be reading more than building :)
Now, another question proceeds from your answers and the book. (Isn't
this great mental excercise for early on a Sunday-holiday weekend-morning?)
I've learned that hotplug is arranged to handle "cold-plug" events. I
know just enough about the boot sequence to make me dangerous. Let's
see if I've understood what you have said--only changing the initial
conditions to "I've left my printer on."
rcsysinit.d has S10udev and S55hotplug. Does this sequence then mean
that the start-ups scripts "fool" the kernel into believing that my
printer was just turned on? Udev starts and populates /dev and creates
a "mission" for udevsend. Does hotplug then see this as a dynamic event
when it starts just a little later? Or does it see it as a "cold-plug"
event? Or does any of this mean anything as long as it works? :)
Thanks again.
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page