diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 6d66091f6..b99d8c8ab 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -82,6 +82,9 @@ first a summary, then a detailed log. +March 11, 2005 [jim]: Added /var/log/hotplug for capturing +of hotplug events. Added /lib/firmware for firmware loading with hotplug + March 13, 2005 [jim]: Updated iproute2 db patch to iproute2-2.6.11-050310. Removed unneeded find_update patch also for iproute2-2.6.11-050310 diff --git a/chapter06/hotplug.xml b/chapter06/hotplug.xml index b4d40583d..f099482d5 100644 --- a/chapter06/hotplug.xml +++ b/chapter06/hotplug.xml @@ -49,6 +49,18 @@ using the script included with LFS-Bootscripts: that reason, remove the network hotplug agent: rm -f /etc/hotplug/net.agent + +For logging of hotplug events we will create a directory and a +blank file. This file will show all the information passed to hotplug: + +mkdir /var/log/hotplug +touch /var/log/hotplug/events + +For firmware to be loaded by hotplug we will create the necessary +directory: + +mkdir /lib/firmware + @@ -61,7 +73,7 @@ that reason, remove the network hotplug agent: hotplug /etc/hotplug/*.rc, /etc/hotplug/*.agent /etc/hotplug/hotplug.functions, /etc/hotplug/blacklist, /etc/hotplug/{pci,usb}, -/etc/hotplug/usb.usermap, /etc/hotplug.d +/etc/hotplug/usb.usermap, /etc/hotplug.d, /var/log/hotplug/events Short Descriptions @@ -151,6 +163,16 @@ call for each USB device, based on its vendor, id and other attributes. + +/var/log/hotplug/events + +/var/log/hotplug/events +This file contains all the events since bootup that hotplug has called. + + + + /etc/hotplug.d @@ -162,6 +184,18 @@ that are interested in receiving hotplug events. E.g., + + +/lib/firmware + +/lib/firmware +This directory contains the firmware for devices that +need to have there firmware loaded before use. + + + +