1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
6 | %general-entities;
|
---|
7 | %patches-entities;
|
---|
8 | ]>
|
---|
9 |
|
---|
10 | <sect1 id="ch-system-udev" role="wrap">
|
---|
11 | <?dbhtml filename="udev.html"?>
|
---|
12 |
|
---|
13 | <title>Udev-&udev-version;</title>
|
---|
14 |
|
---|
15 | <indexterm zone="ch-system-udev">
|
---|
16 | <primary sortas="a-Udev">Udev</primary>
|
---|
17 | </indexterm>
|
---|
18 |
|
---|
19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
20 | href="../common/udev.xml"
|
---|
21 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
22 |
|
---|
23 | <sect2 role="installation">
|
---|
24 | <title>Installation of Udev</title>
|
---|
25 |
|
---|
26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
27 | href="../common/udev.xml"
|
---|
28 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
29 |
|
---|
30 | <screen><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \
|
---|
31 | EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen>
|
---|
32 |
|
---|
33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
34 | href="../common/udev.xml"
|
---|
35 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
36 |
|
---|
37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
38 | href="../common/udev.xml"
|
---|
39 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
40 |
|
---|
41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
42 | href="../common/udev.xml"
|
---|
43 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
44 |
|
---|
45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
46 | href="../common/udev.xml"
|
---|
47 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
48 |
|
---|
49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
50 | href="../common/udev.xml"
|
---|
51 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
52 |
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
54 | href="../common/udev.xml"
|
---|
55 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
56 |
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
58 | href="../common/udev.xml"
|
---|
59 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
60 |
|
---|
61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
62 | href="../common/udev.xml"
|
---|
63 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
64 |
|
---|
65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
66 | href="../common/udev.xml"
|
---|
67 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
68 |
|
---|
69 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
70 | href="../common/udev.xml"
|
---|
71 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
72 |
|
---|
73 | </sect2>
|
---|
74 |
|
---|
75 | <sect2 id="contents-udev" role="content">
|
---|
76 | <title>Contents of Udev</title>
|
---|
77 |
|
---|
78 | <segmentedlist>
|
---|
79 | <segtitle>Installed programs</segtitle>
|
---|
80 | <segtitle>Installed directory</segtitle>
|
---|
81 |
|
---|
82 | <seglistitem>
|
---|
83 | <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
|
---|
84 | <seg>/etc/udev</seg>
|
---|
85 | </seglistitem>
|
---|
86 | </segmentedlist>
|
---|
87 |
|
---|
88 | <variablelist>
|
---|
89 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
90 | <?dbfo list-presentation="list"?>
|
---|
91 | <?dbhtml list-presentation="table"?>
|
---|
92 |
|
---|
93 | <varlistentry id="udev">
|
---|
94 | <term><command>udev</command></term>
|
---|
95 | <listitem>
|
---|
96 | <para>Creates device nodes in <filename
|
---|
97 | class="directory">/dev</filename> or renames network interfaces (not
|
---|
98 | in LFS) in response to hotplug events</para>
|
---|
99 | <indexterm zone="ch-system-udev udev">
|
---|
100 | <primary sortas="b-udev">udev</primary>
|
---|
101 | </indexterm>
|
---|
102 | </listitem></varlistentry>
|
---|
103 |
|
---|
104 | <varlistentry id="udevd">
|
---|
105 | <term><command>udevd</command></term>
|
---|
106 | <listitem>
|
---|
107 | <para>A daemon that reorders hotplug events before submitting them to
|
---|
108 | <command>udev</command>,
|
---|
109 | thus avoiding various race conditions</para>
|
---|
110 | <indexterm zone="ch-system-udev udevd">
|
---|
111 | <primary sortas="b-udevd">udevd</primary>
|
---|
112 | </indexterm>
|
---|
113 | </listitem></varlistentry>
|
---|
114 |
|
---|
115 | <varlistentry id="udevsend">
|
---|
116 | <term><command>udevsend</command></term>
|
---|
117 | <listitem>
|
---|
118 | <para>Delivers hotplug events to <command>udevd</command></para>
|
---|
119 | <indexterm zone="ch-system-udev udevsend">
|
---|
120 | <primary sortas="b-udevsend">udevsend</primary>
|
---|
121 | </indexterm>
|
---|
122 | </listitem></varlistentry>
|
---|
123 |
|
---|
124 | <varlistentry id="udevstart">
|
---|
125 | <term><command>udevstart</command></term>
|
---|
126 | <listitem>
|
---|
127 | <para>Creates device nodes in <filename class="directory">/dev</filename>
|
---|
128 | that correspond to drivers compiled directly into the kernel; it
|
---|
129 | performs that task by simulating hotplug events presumably dropped by
|
---|
130 | the kernel before invocation of this program (e.g., because the root
|
---|
131 | filesystem has not been mounted) and submitting such synthetic hotplug
|
---|
132 | events to <command>udev</command></para>
|
---|
133 | <indexterm zone="ch-system-udev udevstart">
|
---|
134 | <primary sortas="b-udevstart">udevstart</primary>
|
---|
135 | </indexterm>
|
---|
136 | </listitem>
|
---|
137 | </varlistentry>
|
---|
138 |
|
---|
139 | <varlistentry id="udevinfo">
|
---|
140 | <term><command>udevinfo</command></term>
|
---|
141 | <listitem>
|
---|
142 | <para>Allows users to query the <command>udev</command> database for
|
---|
143 | information on any device currently present on the system; it also
|
---|
144 | provides a way to query any device in the <systemitem
|
---|
145 | class="filesystem">sysfs</systemitem> tree to help create udev
|
---|
146 | rules</para>
|
---|
147 | <indexterm zone="ch-system-udev udevinfo">
|
---|
148 | <primary sortas="b-udevinfo">udevinfo</primary>
|
---|
149 | </indexterm>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | <varlistentry id="udevtest">
|
---|
154 | <term><command>udevtest</command></term>
|
---|
155 | <listitem>
|
---|
156 | <para>Simulates a <command>udev</command> run for the given device,
|
---|
157 | and prints out the name of the node the real <command>udev</command>
|
---|
158 | would have created or (not in LFS) the name of the renamed network
|
---|
159 | interface</para>
|
---|
160 | <indexterm zone="ch-system-udev udevtest">
|
---|
161 | <primary sortas="b-udevtest">udevtest</primary>
|
---|
162 | </indexterm>
|
---|
163 | </listitem>
|
---|
164 | </varlistentry>
|
---|
165 |
|
---|
166 | <varlistentry id="etc-udev">
|
---|
167 | <term><filename class="directory">/etc/udev</filename></term>
|
---|
168 | <listitem>
|
---|
169 | <para>Contains <command>udev</command> configuation files,
|
---|
170 | device permissions, and rules for device naming</para>
|
---|
171 | <indexterm zone="ch-system-udev etc-udev">
|
---|
172 | <primary sortas="e-/etc/udev">/etc/udev</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | </variablelist>
|
---|
178 |
|
---|
179 | </sect2>
|
---|
180 |
|
---|
181 | </sect1>
|
---|