From 6d87f47af241143edeae5922c240fd90df6270f0 Mon Sep 17 00:00:00 2001 From: Jim Gifford Date: Mon, 14 Mar 2005 06:40:47 +0000 Subject: Hotplug Updates git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4751 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/hotplug.xml | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'chapter06') 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. + + + + -- cgit v1.2.3-54-g00ecf