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 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-scripts-udev-rules" role="wrap">
|
---|
9 | <?dbhtml filename="udev-rules.html"?>
|
---|
10 |
|
---|
11 | <title>Udev Rules-&udev-cross-lfs-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-scripts-udev-rules">
|
---|
14 | <primary sortas="a-Udev Rules">Udev Rules</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>The Udev Cross-LFS rules package contains the necessary
|
---|
21 | rules set for a basic functional system.</para>
|
---|
22 |
|
---|
23 | </sect2>
|
---|
24 |
|
---|
25 | <sect2 role="installation">
|
---|
26 | <title>Installation of Udev-Rules</title>
|
---|
27 |
|
---|
28 | <para os="a">When you installed udev, it installed a set of rules. This package
|
---|
29 | replaces these rules. So we must first remove all the old rule
|
---|
30 | sets:</para>
|
---|
31 |
|
---|
32 | <screen os="b"><userinput>rm -vf ${CLFS}/etc/udev/rules.d/*</userinput></screen>
|
---|
33 |
|
---|
34 | <para os="c">Install the package:</para>
|
---|
35 |
|
---|
36 | <screen os="d"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
37 |
|
---|
38 | </sect2>
|
---|
39 |
|
---|
40 | <sect2 id="contents-udev-rules" role="content">
|
---|
41 | <title>Contents of Udev Rules</title>
|
---|
42 |
|
---|
43 | <segmentedlist>
|
---|
44 | <segtitle>Installed Rules</segtitle>
|
---|
45 | <segtitle>Installed Programs</segtitle>
|
---|
46 | <segtitle>Installed Bootscripts</segtitle>
|
---|
47 |
|
---|
48 | <seglistitem>
|
---|
49 | <seg>05-udev-early.rules, 35-helper.rules, 40-modprobe.rules,
|
---|
50 | 50-udev.rules, 55-sound.rules, 60-persistent-disk.rules,
|
---|
51 | 61-persistent-input.rules, 90-user.rules, 95-debug.rules,
|
---|
52 | load_floppy_module.sh, show_event_log, udev, and udev_retry</seg>
|
---|
53 | </seglistitem>
|
---|
54 | </segmentedlist>
|
---|
55 |
|
---|
56 | <variablelist>
|
---|
57 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
58 | <?dbfo list-presentation="list"?>
|
---|
59 | <?dbhtml list-presentation="table"?>
|
---|
60 |
|
---|
61 | <varlistentry id="z05-udev-early.rules-udev-rules">
|
---|
62 | <term><command>05-udev-early.rules</command></term>
|
---|
63 | <listitem>
|
---|
64 | <para>Rules that are run early in the boot process. These rules check
|
---|
65 | for the ability to do hotplug events connect to the network, and
|
---|
66 | make sure that sysfs is ready before running any other rules.</para>
|
---|
67 | <indexterm zone="ch-scripts-udev-rules z05-udev-early.rules-udev-rules">
|
---|
68 | <primary sortas="d-05-udev-early.rules">05-udev-early.rules</primary>
|
---|
69 | </indexterm>
|
---|
70 | </listitem>
|
---|
71 | </varlistentry>
|
---|
72 |
|
---|
73 | <varlistentry id="z35-helper.rules-udev-rules">
|
---|
74 | <term><command>35-helper.rules</command></term>
|
---|
75 | <listitem>
|
---|
76 | <para>Rules that use helper programs.</para>
|
---|
77 | <indexterm zone="ch-scripts-udev-rules z35-helper.rules-udev-rules">
|
---|
78 | <primary sortas="d-35-helper.rules">35-helper.rules</primary>
|
---|
79 | </indexterm>
|
---|
80 | </listitem>
|
---|
81 | </varlistentry>
|
---|
82 |
|
---|
83 | <varlistentry id="z40-modprobe.rules">
|
---|
84 | <term><command>40-modprobe.rules</command></term>
|
---|
85 | <listitem>
|
---|
86 | <para>Rules that use modprobe to load kernel modules.</para>
|
---|
87 | <indexterm zone="ch-scripts-udev-rules z40-modprobe.rules">
|
---|
88 | <primary sortas="d-40-modprobe.rules">40-modprobe.rules</primary>
|
---|
89 | </indexterm>
|
---|
90 | </listitem>
|
---|
91 | </varlistentry>
|
---|
92 |
|
---|
93 | <varlistentry id="z50-udev.rules">
|
---|
94 | <term><command>50-udev.rules</command></term>
|
---|
95 | <listitem>
|
---|
96 | <para>Creates basic system devices and permissions.</para>
|
---|
97 | <indexterm zone="ch-scripts-udev-rules z50-udev.rules">
|
---|
98 | <primary sortas="d-50-udev.rules">50-udev.rules</primary>
|
---|
99 | </indexterm>
|
---|
100 | </listitem>
|
---|
101 | </varlistentry>
|
---|
102 |
|
---|
103 | <varlistentry id="z55-sound.rules">
|
---|
104 | <term><command>55-sound.rules</command></term>
|
---|
105 | <listitem>
|
---|
106 | <para>Gives proper permissions to audio device and restores sound
|
---|
107 | volumes.</para>
|
---|
108 | <indexterm zone="ch-scripts-udev-rules z55-sound.rules">
|
---|
109 | <primary sortas="d-55-sound.rules">55-sound.rules</primary>
|
---|
110 | </indexterm>
|
---|
111 | </listitem>
|
---|
112 | </varlistentry>
|
---|
113 |
|
---|
114 | <varlistentry id="z60-persistent-disk.rules">
|
---|
115 | <term><command>60-persistent-disk.rules</command></term>
|
---|
116 | <listitem>
|
---|
117 | <para>Allows persistent naming of disk drives.</para>
|
---|
118 | <indexterm zone="ch-scripts-udev-rules z60-persistent-disk.rules">
|
---|
119 | <primary sortas="d-60-persistent-disk.rules">60-persistent-disk.rules</primary>
|
---|
120 | </indexterm>
|
---|
121 | </listitem>
|
---|
122 | </varlistentry>
|
---|
123 |
|
---|
124 | <varlistentry id="z61-persistent-input.rules">
|
---|
125 | <term><command>61-persistent-input.rules</command></term>
|
---|
126 | <listitem>
|
---|
127 | <para>Allows persistent naming of input devices.</para>
|
---|
128 | <indexterm zone="ch-scripts-udev-rules z61-persistent-input.rules">
|
---|
129 | <primary sortas="d-61-persistent-input.rules">61-persistent-input.rules</primary>
|
---|
130 | </indexterm>
|
---|
131 | </listitem>
|
---|
132 | </varlistentry>
|
---|
133 |
|
---|
134 | <varlistentry id="z90-user.rules">
|
---|
135 | <term><command>90-user.rules</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>Rules defined by the user.</para>
|
---|
138 | <indexterm zone="ch-scripts-udev-rules z90-user.rules">
|
---|
139 | <primary sortas="d-90-user.rules">90-user.rules</primary>
|
---|
140 | </indexterm>
|
---|
141 | </listitem>
|
---|
142 | </varlistentry>
|
---|
143 |
|
---|
144 | <varlistentry id="z95-debug.rules">
|
---|
145 | <term><command>95-debug.rules</command></term>
|
---|
146 | <listitem>
|
---|
147 | <para>Rules for debugging udev.</para>
|
---|
148 | <indexterm zone="ch-scripts-udev-rules z95-debug.rules">
|
---|
149 | <primary sortas="d-95-debug.rules">95-debug.rules</primary>
|
---|
150 | </indexterm>
|
---|
151 | </listitem>
|
---|
152 | </varlistentry>
|
---|
153 |
|
---|
154 | <varlistentry id="load_floppy_module.sh">
|
---|
155 | <term><command>load_floppy_module.sh</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>To be Written.</para>
|
---|
158 | <indexterm zone="ch-scripts-udev-rules load_floppy_module.sh">
|
---|
159 | <primary sortas="d-load_floppy_module.sh">load_floppy_module.sh</primary>
|
---|
160 | </indexterm>
|
---|
161 | </listitem>
|
---|
162 | </varlistentry>
|
---|
163 |
|
---|
164 | <varlistentry id="show_event_log">
|
---|
165 | <term><command>show_event_log</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>To be Written.</para>
|
---|
168 | <indexterm zone="ch-scripts-udev-rules show_event_log">
|
---|
169 | <primary sortas="d-show_event_log">show_event_log</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="udev">
|
---|
175 | <term><command>udev</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>To be Written.</para>
|
---|
178 | <indexterm zone="ch-scripts-udev-rules udev">
|
---|
179 | <primary sortas="d-udev">udev</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry id="udev_retry">
|
---|
185 | <term><command>udev_retry</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>To be Written.</para>
|
---|
188 | <indexterm zone="ch-scripts-udev-rules udev_retry">
|
---|
189 | <primary sortas="d-udev_retry">udev_retry</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | </variablelist>
|
---|
195 |
|
---|
196 | </sect2>
|
---|
197 |
|
---|
198 | </sect1>
|
---|