- Timestamp:
- 09/22/2004 12:43:57 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/hotplug.xml
r0c8b99b re2a70be 29 29 <title>Installation of Hotplug</title> 30 30 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> 60 32 61 33 <screen><userinput>make install</userinput></screen> … … 70 42 71 43 <screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen> 72 <!-- Will be useless with version 4 of the isapnp patch73 <para>74 If you have applied the ISAPNP patch, add some required entries to75 <filename>/etc/modprobe.conf</filename>:</para>76 77 <screen><userinput>cat >>/etc/modprobe.conf <<"EOF"78 # Begin /etc/modprobe.conf entries for ISAPNP hardware detection script79 # by Marco d'Itri80 alias pnp:dPNP0511 irtty-sir81 alias pnp:dPNP0700 floppy82 alias pnp:dPNP0800 pcspkr83 alias pnp:dPNP0B00 rtc84 alias pnp:dPNP0303 atkbd85 alias pnp:dPNP0F13 psmouse86 alias pnp:dPNPB02F analog87 # End /etc/modprobe.conf entries for ISAPNP hardware detection script88 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 the92 corresponding modules themselves.</para>93 -->94 44 </sect2> 95 45
Note:
See TracChangeset
for help on using the changeset viewer.