|
@@ -28,35 +28,7 @@ boot and inserts the relevant modules into the running kernel.
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Hotplug</title>
|
|
|
|
|
|
-<para>
|
|
|
-The <command>usb.rc</command> script provided by the
|
|
|
-<application>Hotplug</application> package depends on the programs
|
|
|
-<command>usbutils</command> and <command>which</command> being present.
|
|
|
-However, these programs are not called for any useful purpose.
|
|
|
-Apply the patch that removes those dependencies:
|
|
|
-</para>
|
|
|
-
|
|
|
-<screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-bogus_deps-1.patch</userinput></screen>
|
|
|
-
|
|
|
-<para>
|
|
|
-USB coldplugging is somewhat broken in <application>Hotplug</application>
|
|
|
-by default: the DEVICE environment variable is not passed to user-defined USB
|
|
|
-hotplug handlers. Fix this with the following patch:
|
|
|
-</para>
|
|
|
-
|
|
|
-<screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-device-2.patch</userinput></screen>
|
|
|
-
|
|
|
-<!-- Waiting for hotplug-2004_04_01-isapnp-4.patch
|
|
|
-<para>
|
|
|
-There is an optional patch that adds ISAPNP hardware detection
|
|
|
-capabilities to Hotplug. It is not well tested and in fact contains known
|
|
|
-bugs. If you chose to apply it, run the following command:
|
|
|
-</para>
|
|
|
-
|
|
|
-<screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-isapnp-2.patch</userinput></screen>
|
|
|
--->
|
|
|
-
|
|
|
-<para>Now install the Hotplug package:</para>
|
|
|
+<para>Install the Hotplug package:</para>
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
@@ -69,28 +41,6 @@ the script including with LFS-Bootscripts:</para>
|
|
|
that reason, remove the network hotplug agent:</para>
|
|
|
|
|
|
<screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
|
|
|
-<!-- Will be useless with version 4 of the isapnp patch
|
|
|
-<para>
|
|
|
-If you have applied the ISAPNP patch, add some required entries to
|
|
|
-<filename>/etc/modprobe.conf</filename>:</para>
|
|
|
-
|
|
|
-<screen><userinput>cat >>/etc/modprobe.conf <<"EOF"
|
|
|
-# Begin /etc/modprobe.conf entries for ISAPNP hardware detection script
|
|
|
-# by Marco d'Itri
|
|
|
-alias pnp:dPNP0511 irtty-sir
|
|
|
-alias pnp:dPNP0700 floppy
|
|
|
-alias pnp:dPNP0800 pcspkr
|
|
|
-alias pnp:dPNP0B00 rtc
|
|
|
-alias pnp:dPNP0303 atkbd
|
|
|
-alias pnp:dPNP0F13 psmouse
|
|
|
-alias pnp:dPNPB02F analog
|
|
|
-# End /etc/modprobe.conf entries for ISAPNP hardware detection script
|
|
|
-EOF</userinput></screen>
|
|
|
-
|
|
|
-<para>These entries may not be needed in newer versions of the Linux kernel,
|
|
|
-since Marco d'Itri will try to convince developers to put them into the
|
|
|
-corresponding modules themselves.</para>
|
|
|
--->
|
|
|
</sect2>
|
|
|
|
|
|
|