Changeset 24a08b9 for chapter07


Ignore:
Timestamp:
08/17/2004 10:12:01 PM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
fa2f5ad
Parents:
6850316
Message:

General edits. Added bash+readline display_wrap patches

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/udev.xml

    r6850316 r24a08b9  
    153153<para>When you plug in a device, e.g. a USB MP3 player, the kernel
    154154recognizes that the device is now connected and generates a hotplug
    155 event. The driver will already have been loaded (either because it was
    156 compiled into the kernel, or it was loaded via the
    157 <command>S05modules</command> bootscript) so <command>udev</command>
    158 will simply be called upon to create the relevant device node
    159 according to the <systemitem class="filesystem">sysfs</systemitem>
    160 data available in <filename class="directory">/sys</filename>.</para>
     155event. If the driver is already loaded (either because it was compiled
     156into the kernel, or it was loaded via the
     157<command>S05modules</command> bootscript) <command>udev</command> will
     158be called upon to create the relevant device node(s) according to the
     159<systemitem class="filesystem">sysfs</systemitem> data available in
     160<filename class="directory">/sys</filename>.  If the driver for the
     161just plugged in device is available as a module but currently unloaded,
     162then attaching the device to the system will only cause the kernel's
     163bus driver to generate a hotplug event that notifies userspace of the
     164new device connection and it not being attached to a driver. In
     165effect, nothing happens and the device itself is not usable
     166yet.</para>
     167
     168<para>If you are building a system that has a lot of drivers compiled
     169as modules rather than directly built into the kernel and using the
     170<command>S05modules</command> is not practical then the Hotplug
     171package (see <ulink url="http://linux-hotplug.sourceforge.net/"/>) can
     172be beneficial. When the Hotplug package is installed it will respond
     173to the aforementioned kernel's bus driver hotplug events. The Hotplug
     174package will load the appropriate module and make this device
     175available by creating the device node(s) for it.</para>
    161176</sect2>
    162177
Note: See TracChangeset for help on using the changeset viewer.