Hotplug Updates

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4751 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Jim Gifford 2005-03-14 06:40:47 +00:00
parent d1999f8b7e
commit 6d87f47af2
2 changed files with 38 additions and 1 deletions

View File

@ -82,6 +82,9 @@ first a summary, then a detailed log.</para>
</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>

View File

@ -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>