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