Changeset e2a70be for chapter06


Ignore:
Timestamp:
09/22/2004 12:43:57 PM (20 years ago)
Author:
Jeremy Utley <jeremy@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
2157288
Parents:
0c8b99b
Message:

Hotplug patches are no longer needed...removed

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4188 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/hotplug.xml

    r0c8b99b re2a70be  
    2929<title>Installation of Hotplug</title>
    3030
    31 <para>
    32 The <command>usb.rc</command> script provided by the
    33 <application>Hotplug</application> package depends on the programs
    34 <command>usbutils</command> and <command>which</command> being present.
    35 However, these programs are not called for any useful purpose.
    36 Apply the patch that removes those dependencies:
    37 </para>
    38 
    39 <screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-bogus_deps-1.patch</userinput></screen>
    40 
    41 <para>
    42 USB coldplugging is somewhat broken in <application>Hotplug</application>
    43 by default: the DEVICE environment variable is not passed to user-defined USB
    44 hotplug handlers. Fix this with the following patch:
    45 </para>
    46 
    47 <screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-device-2.patch</userinput></screen>
    48 
    49 <!-- Waiting for hotplug-2004_04_01-isapnp-4.patch
    50 <para>
    51 There is an optional patch that adds ISAPNP hardware detection
    52 capabilities to Hotplug. It is not well tested and in fact contains known
    53 bugs. If you chose to apply it, run the following command:
    54 </para>
    55 
    56 <screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-isapnp-2.patch</userinput></screen>
    57 -->
    58 
    59 <para>Now install the Hotplug package:</para>
     31<para>Install the Hotplug package:</para>
    6032
    6133<screen><userinput>make install</userinput></screen>
     
    7042
    7143<screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
    72 <!-- Will be useless with version 4 of the isapnp patch
    73 <para>
    74 If you have applied the ISAPNP patch, add some required entries to
    75 <filename>/etc/modprobe.conf</filename>:</para>
    76 
    77 <screen><userinput>cat &gt;&gt;/etc/modprobe.conf &lt;&lt;"EOF"
    78 # Begin /etc/modprobe.conf entries for ISAPNP hardware detection script
    79 # by Marco d'Itri
    80 alias pnp:dPNP0511 irtty-sir
    81 alias pnp:dPNP0700 floppy
    82 alias pnp:dPNP0800 pcspkr
    83 alias pnp:dPNP0B00 rtc
    84 alias pnp:dPNP0303 atkbd
    85 alias pnp:dPNP0F13 psmouse
    86 alias pnp:dPNPB02F analog
    87 # End /etc/modprobe.conf entries for ISAPNP hardware detection script
    88 EOF</userinput></screen>
    89 
    90 <para>These entries may not be needed in newer versions of the Linux kernel,
    91 since Marco d'Itri will try to convince developers to put them into the
    92 corresponding modules themselves.</para>
    93 -->
    9444</sect2>
    9545
Note: See TracChangeset for help on using the changeset viewer.