[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-udev" role="wrap">
|
---|
| 9 | <?dbhtml filename="udev.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Udev-&udev-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-udev">
|
---|
| 14 | <primary sortas="a-Udev">Udev</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Udev package contains programs for dynamic creation of device
|
---|
| 21 | nodes.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Udev</title>
|
---|
| 27 |
|
---|
[1da2a84] | 28 | <para os="a">Prepare Udev for compilation:</para>
|
---|
[3f8be484] | 29 |
|
---|
[b875779] | 30 | <screen os="b"><userinput>./configure --prefix=/usr \
|
---|
| 31 | --exec-prefix="" --sysconfdir=/etc \
|
---|
[bc1e9bd9] | 32 | --with-usb-ids-path=no --with-pci-ids-path=no \
|
---|
[c7fdbf48] | 33 | --disable-introspection --disable-keymap</userinput></screen>
|
---|
[3f8be484] | 34 |
|
---|
[1da2a84] | 35 | <para os="c">Compile the package:</para>
|
---|
[3f8be484] | 36 |
|
---|
[1da2a84] | 37 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 38 |
|
---|
[4faecfa] | 39 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 40 |
|
---|
[1da2a84] | 41 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 42 |
|
---|
[a10f292] | 43 | <para os="i">Create a directory for storing firmware that can be
|
---|
[07e9936] | 44 | loaded by <command>udev</command>:</para>
|
---|
| 45 |
|
---|
[a10f292] | 46 | <screen os="j"><userinput>install -dv /lib/firmware</userinput></screen>
|
---|
[9aba4a0] | 47 |
|
---|
[3f8be484] | 48 | </sect2>
|
---|
| 49 |
|
---|
| 50 | <sect2 id="contents-udev" role="content">
|
---|
| 51 | <title>Contents of Udev</title>
|
---|
| 52 |
|
---|
| 53 | <segmentedlist>
|
---|
| 54 | <segtitle>Installed programs</segtitle>
|
---|
[417c6ec] | 55 | <segtitle>Installed library</segtitle>
|
---|
[7177438] | 56 | <segtitle>Installed directories</segtitle>
|
---|
[3f8be484] | 57 |
|
---|
| 58 | <seglistitem>
|
---|
[417c6ec] | 59 | <seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
|
---|
| 60 | firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
|
---|
| 61 | v4l_id, write_cd_rules, write_net_rules</seg>
|
---|
| 62 | <seg>libudev</seg>
|
---|
[61ad0b7f] | 63 | <seg>/etc/udev, /lib/firmware, /lib/udev, /usr/share/doc/udev</seg>
|
---|
[3f8be484] | 64 | </seglistitem>
|
---|
| 65 | </segmentedlist>
|
---|
| 66 |
|
---|
| 67 | <variablelist>
|
---|
| 68 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 69 | <?dbfo list-presentation="list"?>
|
---|
| 70 | <?dbhtml list-presentation="table"?>
|
---|
| 71 |
|
---|
[3a9adc5c] | 72 | <varlistentry id="udevadm">
|
---|
| 73 | <term><command>udevadm</command></term>
|
---|
| 74 | <listitem>
|
---|
[092b9f8] | 75 | <para>Controls the runtime behavior of Udev, requests kernel
|
---|
[1da2a84] | 76 | events, manages the event queue, and provides simple debugging.</para>
|
---|
[3a9adc5c] | 77 | <indexterm zone="ch-system-udev udevadm">
|
---|
| 78 | <primary sortas="b-udevadm">udevadm</primary>
|
---|
| 79 | </indexterm>
|
---|
| 80 | </listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
[3f8be484] | 83 | <varlistentry id="udevd">
|
---|
| 84 | <term><command>udevd</command></term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>A daemon that reorders hotplug events before submitting them to
|
---|
| 87 | <command>udev</command>,
|
---|
| 88 | thus avoiding various race conditions</para>
|
---|
| 89 | <indexterm zone="ch-system-udev udevd">
|
---|
| 90 | <primary sortas="b-udevd">udevd</primary>
|
---|
| 91 | </indexterm>
|
---|
| 92 | </listitem>
|
---|
| 93 | </varlistentry>
|
---|
| 94 |
|
---|
[3a9adc5c] | 95 | <!-- Start of Helpers -->
|
---|
[a68b59e] | 96 | <varlistentry id="ata_id">
|
---|
| 97 | <term><command>ata_id</command></term>
|
---|
| 98 | <listitem>
|
---|
| 99 | <para>Provides Udev with a unique string and additional
|
---|
| 100 | information (uuid, label) for an ATA drive</para>
|
---|
| 101 | <indexterm zone="ch-system-udev ata_id">
|
---|
| 102 | <primary sortas="b-ata_id">ata_id</primary>
|
---|
| 103 | </indexterm>
|
---|
| 104 | </listitem>
|
---|
| 105 | </varlistentry>
|
---|
| 106 |
|
---|
[6e8f798] | 107 | <varlistentry id="cdrom_id">
|
---|
| 108 | <term><command>cdrom_id</command></term>
|
---|
[3f8be484] | 109 | <listitem>
|
---|
[092b9f8] | 110 | <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
|
---|
[6e8f798] | 111 | <indexterm zone="ch-system-udev cdrom_id">
|
---|
| 112 | <primary sortas="b-cdrom_id">cdrom_id</primary>
|
---|
[3f8be484] | 113 | </indexterm>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
| 116 |
|
---|
[1da2a84] | 117 | <varlistentry id="collect">
|
---|
| 118 | <term><command>collect</command></term>
|
---|
[a68b59e] | 119 | <listitem>
|
---|
[1da2a84] | 120 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 121 | <indexterm zone="ch-system-udev collect">
|
---|
| 122 | <primary sortas="b-collect">collect</primary>
|
---|
[a68b59e] | 123 | </indexterm>
|
---|
| 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 |
|
---|
[1da2a84] | 127 | <varlistentry id="create_floppy_devices">
|
---|
| 128 | <term><command>create_floppy_devices</command></term>
|
---|
[4ce2d9d] | 129 | <listitem>
|
---|
[1da2a84] | 130 | <para>Creates all possible floppy devices based on the CMOS type</para>
|
---|
| 131 | <indexterm zone="ch-system-udev create_floppy_devices">
|
---|
| 132 | <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
|
---|
[4ce2d9d] | 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="edd_id">
|
---|
| 138 | <term><command>edd_id</command></term>
|
---|
| 139 | <listitem>
|
---|
[092b9f8] | 140 | <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
|
---|
[4ce2d9d] | 141 | <indexterm zone="ch-system-udev edd_id">
|
---|
| 142 | <primary sortas="b-edd_id">edd_id</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
[a68b59e] | 147 | <varlistentry id="firmware.sh">
|
---|
[9e18eea] | 148 | <term><command>firmware.sh</command></term>
|
---|
[3f8be484] | 149 | <listitem>
|
---|
[3a9adc5c] | 150 | <para>Script to load firmware for a device</para>
|
---|
[a68b59e] | 151 | <indexterm zone="ch-system-udev firmware.sh">
|
---|
| 152 | <primary sortas="b-firmware.sh">firmware.sh</primary>
|
---|
[6e8f798] | 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
[1da2a84] | 157 | <varlistentry id="fstab_import">
|
---|
| 158 | <term><command>fstab_import</command></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 161 | <indexterm zone="ch-system-udev fstab_import">
|
---|
| 162 | <primary sortas="b-fstab_import">fstab_import</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
[a68b59e] | 167 | <varlistentry id="path_id">
|
---|
| 168 | <term><command>path_id</command></term>
|
---|
[6e8f798] | 169 | <listitem>
|
---|
[092b9f8] | 170 | <para>Provides the shortest possible unique hardware path to a
|
---|
[a68b59e] | 171 | device</para>
|
---|
| 172 | <indexterm zone="ch-system-udev path_id">
|
---|
| 173 | <primary sortas="b-path_id">path_id</primary>
|
---|
[6e8f798] | 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
[a68b59e] | 178 | <varlistentry id="scsi_id">
|
---|
| 179 | <term><command>scsi_id</command></term>
|
---|
[6e8f798] | 180 | <listitem>
|
---|
[092b9f8] | 181 | <para>Retrieves or generates a unique SCSI identifier.</para>
|
---|
[a68b59e] | 182 | <indexterm zone="ch-system-udev scsi_id">
|
---|
| 183 | <primary sortas="b-scsi_id">scsi_id</primary>
|
---|
[6e8f798] | 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="usb_id">
|
---|
| 189 | <term><command>usb_id</command></term>
|
---|
| 190 | <listitem>
|
---|
[092b9f8] | 191 | <para>Identifies a USB block device.</para>
|
---|
[6e8f798] | 192 | <indexterm zone="ch-system-udev usb_id">
|
---|
| 193 | <primary sortas="b-usb_id">usb_id</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
[092b9f8] | 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="v4l_id">
|
---|
| 199 | <term><command>v4l_id</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 202 | <indexterm zone="ch-system-udev v4l_id">
|
---|
| 203 | <primary sortas="b-v4l_id">v4l_id</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
[6e8f798] | 206 | </varlistentry>
|
---|
| 207 |
|
---|
[1da2a84] | 208 | <varlistentry id="write_cd_rules">
|
---|
| 209 | <term><command>write_cd_rules</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 212 | <indexterm zone="ch-system-udev write_cd_rules">
|
---|
| 213 | <primary sortas="b-write_cd_rules">write_cd_rules</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | <varlistentry id="write_net_rules">
|
---|
| 219 | <term><command>write_net_rules</command></term>
|
---|
| 220 | <listitem>
|
---|
| 221 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 222 | <indexterm zone="ch-system-udev write_net_rules">
|
---|
| 223 | <primary sortas="b-write_net_rules">write_net_rules</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
[3a9adc5c] | 227 | <!-- End of Helpers -->
|
---|
[3f8be484] | 228 |
|
---|
[1da2a84] | 229 | <varlistentry id="libudev">
|
---|
| 230 | <term><filename class="libraryfile">libudev</filename></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 233 | <indexterm zone="ch-system-udev libudev">
|
---|
[f4ab0fd] | 234 | <primary sortas="c-libudev">libudev</primary>
|
---|
[1da2a84] | 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
[3f8be484] | 239 | <varlistentry id="etc-udev">
|
---|
| 240 | <term><filename class="directory">/etc/udev</filename></term>
|
---|
| 241 | <listitem>
|
---|
[8fd11cd] | 242 | <para>Contains <command>udev</command> configuration files,
|
---|
[3f8be484] | 243 | device permissions, and rules for device naming</para>
|
---|
| 244 | <indexterm zone="ch-system-udev etc-udev">
|
---|
| 245 | <primary sortas="e-/etc/udev">/etc/udev</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
[6e8f798] | 250 | <varlistentry id="lib-udev">
|
---|
| 251 | <term><filename class="directory">/lib/udev</filename></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>Contains <command>udev</command> helper programs
|
---|
| 254 | and static devices which get copied to /dev when booted.</para>
|
---|
| 255 | <indexterm zone="ch-system-udev lib-udev">
|
---|
| 256 | <primary sortas="e-/lib/udev">/lib/udev</primary>
|
---|
| 257 | </indexterm>
|
---|
| 258 | </listitem>
|
---|
| 259 | </varlistentry>
|
---|
[3f8be484] | 260 | </variablelist>
|
---|
| 261 |
|
---|
| 262 | </sect2>
|
---|
| 263 |
|
---|
| 264 | </sect1>
|
---|