Matthew Burgess wrote:

OK then, your homework assignment is to proof-read the reworded section 7.4 and complain loudly at me if there's anything you don't understand or if you still have questions regarding how all this stuff hangs together :-)

Some minor points.

1) s/hotplug event/uevent/. These things have been officially renamed.
2) I am not sure that it is a good idea to scatter the information concerning the time when the sysfs files appear. They appear as soon as the kernel sees the device. For entries under /sys/bus, this happens as soon as the bus driver (not device driver!) is available. For entries under /sys/class and /sys/block, this happens as soon as the device driver is available. Here "available" means "built into the kernel or loaded as a module". 3) 7.4.2.4. Module Loading would benefit if the "modalias" file (e.g., /sys/bus/usb/devices/1-1/1-1:1.0/modalias) were mentioned, together with the /lib/modules/`uname -r`/modules.alias file which maps aliases to modules. 4) The section about modules that cannot be autoloaded by Udev should be expanded. Subject of a separate post, covering ppp-generic, ide-cd, psmouse and other modules.
5) The need to create persistent device names is not explained at all.
6) Method for blacklisting drivers is not explained.
7) ACTION=="add", SUBSYSTEM=="usb", MODALIAS=="*", RUN+="/sbin/modprobe $modalias" should be expanded to all subsystems (i.e., remove SUBSYSTEM=="usb").

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to