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