[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 \
|
---|
| 32 | --libexecdir=/lib/udev --libdir=/usr/lib \
|
---|
| 33 | --disable-extras</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>
|
---|
[3a9adc5c] | 63 | <seg>/etc/udev, /lib/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>
|
---|
[1da2a84] | 75 | <para>udevadm controls the runtime behavior of udev, requests kernel
|
---|
| 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>
|
---|
[3a9adc5c] | 110 | <para>Print 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>
|
---|
[3a9adc5c] | 140 | <para>Identify 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>
|
---|
[a68b59e] | 170 | <para>Provide the shortest possible unique hardware path to a
|
---|
| 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>
|
---|
[3a9adc5c] | 181 | <para>Retrieve or generate 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>
|
---|
[3a9adc5c] | 191 | <para>Identify 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>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
[1da2a84] | 198 | <varlistentry id="write_cd_rules">
|
---|
| 199 | <term><command>write_cd_rules</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 202 | <indexterm zone="ch-system-udev write_cd_rules">
|
---|
| 203 | <primary sortas="b-write_cd_rules">write_cd_rules</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="write_net_rules">
|
---|
| 209 | <term><command>write_net_rules</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 212 | <indexterm zone="ch-system-udev write_net_rules">
|
---|
| 213 | <primary sortas="b-write_net_rules">write_net_rules</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
[3a9adc5c] | 217 | <!-- End of Helpers -->
|
---|
[3f8be484] | 218 |
|
---|
[1da2a84] | 219 | <varlistentry id="libudev">
|
---|
| 220 | <term><filename class="libraryfile">libudev</filename></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>DESCRIPTION REQUIRED</para>
|
---|
| 223 | <indexterm zone="ch-system-udev libudev">
|
---|
[f4ab0fd] | 224 | <primary sortas="c-libudev">libudev</primary>
|
---|
[1da2a84] | 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
[3f8be484] | 229 | <varlistentry id="etc-udev">
|
---|
| 230 | <term><filename class="directory">/etc/udev</filename></term>
|
---|
| 231 | <listitem>
|
---|
[8fd11cd] | 232 | <para>Contains <command>udev</command> configuration files,
|
---|
[3f8be484] | 233 | device permissions, and rules for device naming</para>
|
---|
| 234 | <indexterm zone="ch-system-udev etc-udev">
|
---|
| 235 | <primary sortas="e-/etc/udev">/etc/udev</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
[6e8f798] | 240 | <varlistentry id="lib-udev">
|
---|
| 241 | <term><filename class="directory">/lib/udev</filename></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>Contains <command>udev</command> helper programs
|
---|
| 244 | and static devices which get copied to /dev when booted.</para>
|
---|
| 245 | <indexterm zone="ch-system-udev lib-udev">
|
---|
| 246 | <primary sortas="e-/lib/udev">/lib/udev</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
[3f8be484] | 250 | </variablelist>
|
---|
| 251 |
|
---|
| 252 | </sect2>
|
---|
| 253 |
|
---|
| 254 | </sect1>
|
---|