aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJim Gifford <jim@linuxfromscratch.org>2005-03-11 18:38:58 +0000
committerJim Gifford <jim@linuxfromscratch.org>2005-03-11 18:38:58 +0000
commit4e64c91883550cf71443d572980d5eb0d503e526 (patch)
tree9e3686d7f48eb09e2565a5b360e87463339eb89e /chapter06
parenta867bd89d451b5d96ed9e393f193a153d1989ce1 (diff)
Hotplug updates
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4729 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/hotplug.xml36
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>