Author: jim
Date: 2005-03-13 23:40:47 -0700 (Sun, 13 Mar 2005)
New Revision: 4751
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/hotplug.xml
Log:
Hotplug Updates
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2005-03-14 06:36:44 UTC (rev 4750)
+++ trunk/BOOK/chapter01/changelog.xml 2005-03-14 06:40:47 UTC (rev 4751)
@@ -82,6 +82,9 @@
</itemizedlist>
</listitem>
+<listitem><para>March 11, 2005 [jim]: Added /var/log/hotplug for capturing
+of hotplug events. Added /lib/firmware for firmware loading with
hotplug</para></listitem>
+
<listitem><para>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</para></listitem>
Modified: trunk/BOOK/chapter06/hotplug.xml
===================================================================
--- trunk/BOOK/chapter06/hotplug.xml 2005-03-14 06:36:44 UTC (rev 4750)
+++ trunk/BOOK/chapter06/hotplug.xml 2005-03-14 06:40:47 UTC (rev 4751)
@@ -49,6 +49,18 @@
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 @@
<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 @@
</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 @@
</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>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page