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