diff options
author | Jim Gifford <jim@linuxfromscratch.org> | 2005-03-14 06:40:47 +0000 |
---|---|---|
committer | Jim Gifford <jim@linuxfromscratch.org> | 2005-03-14 06:40:47 +0000 |
commit | 6d87f47af241143edeae5922c240fd90df6270f0 (patch) | |
tree | b1a77edefc2b958ec6f2340cd0e1cfb86c1e1e34 /chapter06 | |
parent | d1999f8b7eaf94eee67bcd43c55bc451604d56f6 (diff) |
Hotplug Updates
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4751 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/hotplug.xml | 36 |
1 files changed, 35 insertions, 1 deletions
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:</para> that reason, remove the network hotplug agent:</para> <screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen> + +<para>For logging of hotplug events we will create a directory and a +blank file. This file will show all the information passed to hotplug:</para> + +<screen><userinput>mkdir /var/log/hotplug +touch /var/log/hotplug/events</userinput></screen> + +<para>For firmware to be loaded by hotplug we will create the necessary +directory:</para> + +<screen><userinput>mkdir /lib/firmware</userinput></screen> + </sect2> @@ -61,7 +73,7 @@ that reason, remove the network hotplug agent:</para> <seglistitem><seg>hotplug</seg> <seg>/etc/hotplug/*.rc, /etc/hotplug/*.agent</seg> <seg>/etc/hotplug/hotplug.functions, /etc/hotplug/blacklist, /etc/hotplug/{pci,usb}, -/etc/hotplug/usb.usermap, /etc/hotplug.d</seg></seglistitem> +/etc/hotplug/usb.usermap, /etc/hotplug.d, /var/log/hotplug/events</seg></seglistitem> </segmentedlist> <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> @@ -151,6 +163,16 @@ call for each USB device, based on its vendor, id and other attributes. </listitem> </varlistentry> +<varlistentry id="hotplug-events"> +<term><filename>/var/log/hotplug/events</filename></term> +<listitem> +<indexterm zone="ch-system-hotplug events"><primary +sortas="e-/var/log/hotplug/events">/var/log/hotplug/events</primary></indexterm> +<para>This file contains all the events since bootup that hotplug has called. +</para> +</listitem> +</varlistentry> + <varlistentry id="hotplug-hotplug.d"> <term><filename class="directory">/etc/hotplug.d</filename></term> <listitem> @@ -162,6 +184,18 @@ that are interested in receiving hotplug events. E.g., </para> </listitem> </varlistentry> + +<varlistentry id="hotplug-firmware"> +<term><filename class="directory">/lib/firmware</filename></term> +<listitem> +<indexterm zone="ch-system-hotplug hotplug-firmware"><primary +sortas="e-/lib/firmware">/lib/firmware</primary></indexterm> +<para>This directory contains the firmware for devices that +need to have there firmware loaded before use. +</para> +</listitem> +</varlistentry> + </variablelist> </sect2> </sect1> |