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