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-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">Install the package:</para>
|
---|
29 |
|
---|
30 | <screen os="b"><userinput>make install</userinput></screen>
|
---|
31 |
|
---|
32 | </sect2>
|
---|
33 |
|
---|
34 | <sect2 id="contents-udev-rules" role="content">
|
---|
35 | <title>Contents of Udev Rules</title>
|
---|
36 |
|
---|
37 | <segmentedlist>
|
---|
38 | <segtitle>Installed Rules</segtitle>
|
---|
39 | <segtitle>Installed Programs</segtitle>
|
---|
40 | <segtitle>Installed Bootscripts</segtitle>
|
---|
41 |
|
---|
42 | <seglistitem>
|
---|
43 | <seg>05-udev-early.rules, 35-helper.rules, 40-modprobe.rules,
|
---|
44 | 50-udev.rules, 55-sound.rules, 60-persistent-disk.rules,
|
---|
45 | 61-persistent-input.rules, 90-user.rules, 95-debug.rules,
|
---|
46 | load_floppy_module.sh, show_event_log, udev, and udev_retry</seg>
|
---|
47 | </seglistitem>
|
---|
48 | </segmentedlist>
|
---|
49 |
|
---|
50 | <variablelist>
|
---|
51 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
52 | <?dbfo list-presentation="list"?>
|
---|
53 | <?dbhtml list-presentation="table"?>
|
---|
54 |
|
---|
55 | <varlistentry id="z05-udev-early.rules-udev-rules">
|
---|
56 | <term><command>05-udev-early.rules</command></term>
|
---|
57 | <listitem>
|
---|
58 | <para>Rules that are run early in the boot process. These rules check
|
---|
59 | for the ability to do hotplug events connect to the network, and
|
---|
60 | make sure that sysfs is ready before running any other rules.</para>
|
---|
61 | <indexterm zone="ch-scripts-udev-rules z05-udev-early.rules-udev-rules">
|
---|
62 | <primary sortas="d-05-udev-early.rules">05-udev-early.rules</primary>
|
---|
63 | </indexterm>
|
---|
64 | </listitem>
|
---|
65 | </varlistentry>
|
---|
66 |
|
---|
67 | <varlistentry id="z35-helper.rules-udev-rules">
|
---|
68 | <term><command>35-helper.rules</command></term>
|
---|
69 | <listitem>
|
---|
70 | <para>Rules that use helper programs.</para>
|
---|
71 | <indexterm zone="ch-scripts-udev-rules z35-helper.rules-udev-rules">
|
---|
72 | <primary sortas="d-35-helper.rules">35-helper.rules</primary>
|
---|
73 | </indexterm>
|
---|
74 | </listitem>
|
---|
75 | </varlistentry>
|
---|
76 |
|
---|
77 | <varlistentry id="z40-modprobe.rules">
|
---|
78 | <term><command>40-modprobe.rules</command></term>
|
---|
79 | <listitem>
|
---|
80 | <para>Rules that use modprobe to load kernel modules.</para>
|
---|
81 | <indexterm zone="ch-scripts-udev-rules z40-modprobe.rules">
|
---|
82 | <primary sortas="d-40-modprobe.rules">40-modprobe.rules</primary>
|
---|
83 | </indexterm>
|
---|
84 | </listitem>
|
---|
85 | </varlistentry>
|
---|
86 |
|
---|
87 | <varlistentry id="z50-udev.rules">
|
---|
88 | <term><command>50-udev.rules</command></term>
|
---|
89 | <listitem>
|
---|
90 | <para>Creates basic system devices and permissions.</para>
|
---|
91 | <indexterm zone="ch-scripts-udev-rules z50-udev.rules">
|
---|
92 | <primary sortas="d-50-udev.rules">50-udev.rules</primary>
|
---|
93 | </indexterm>
|
---|
94 | </listitem>
|
---|
95 | </varlistentry>
|
---|
96 |
|
---|
97 | <varlistentry id="z55-sound.rules">
|
---|
98 | <term><command>55-sound.rules</command></term>
|
---|
99 | <listitem>
|
---|
100 | <para>Gives proper permissions to audio device and restores sound
|
---|
101 | volumes.</para>
|
---|
102 | <indexterm zone="ch-scripts-udev-rules z55-sound.rules">
|
---|
103 | <primary sortas="d-55-sound.rules">55-sound.rules</primary>
|
---|
104 | </indexterm>
|
---|
105 | </listitem>
|
---|
106 | </varlistentry>
|
---|
107 |
|
---|
108 | <varlistentry id="z60-persistent-disk.rules">
|
---|
109 | <term><command>60-persistent-disk.rules</command></term>
|
---|
110 | <listitem>
|
---|
111 | <para>Allows persistent naming of disk drives.</para>
|
---|
112 | <indexterm zone="ch-scripts-udev-rules z60-persistent-disk.rules">
|
---|
113 | <primary sortas="d-60-persistent-disk.rules">60-persistent-disk.rules</primary>
|
---|
114 | </indexterm>
|
---|
115 | </listitem>
|
---|
116 | </varlistentry>
|
---|
117 |
|
---|
118 | <varlistentry id="z61-persistent-input.rules">
|
---|
119 | <term><command>61-persistent-input.rules</command></term>
|
---|
120 | <listitem>
|
---|
121 | <para>Allows persistent naming of input devices.</para>
|
---|
122 | <indexterm zone="ch-scripts-udev-rules z61-persistent-input.rules">
|
---|
123 | <primary sortas="d-61-persistent-input.rules">61-persistent-input.rules</primary>
|
---|
124 | </indexterm>
|
---|
125 | </listitem>
|
---|
126 | </varlistentry>
|
---|
127 |
|
---|
128 | <varlistentry id="z90-user.rules">
|
---|
129 | <term><command>90-user.rules</command></term>
|
---|
130 | <listitem>
|
---|
131 | <para>Rules defined by the user.</para>
|
---|
132 | <indexterm zone="ch-scripts-udev-rules z90-user.rules">
|
---|
133 | <primary sortas="d-90-user.rules">90-user.rules</primary>
|
---|
134 | </indexterm>
|
---|
135 | </listitem>
|
---|
136 | </varlistentry>
|
---|
137 |
|
---|
138 | <varlistentry id="z95-debug.rules">
|
---|
139 | <term><command>95-debug.rules</command></term>
|
---|
140 | <listitem>
|
---|
141 | <para>Rules for debugging udev.</para>
|
---|
142 | <indexterm zone="ch-scripts-udev-rules z95-debug.rules">
|
---|
143 | <primary sortas="d-95-debug.rules">95-debug.rules</primary>
|
---|
144 | </indexterm>
|
---|
145 | </listitem>
|
---|
146 | </varlistentry>
|
---|
147 |
|
---|
148 | <varlistentry id="load_floppy_module.sh">
|
---|
149 | <term><command>load_floppy_module.sh</command></term>
|
---|
150 | <listitem>
|
---|
151 | <para>Checks to see if a floppy drive exists before loading
|
---|
152 | the floppy drive module into memory.</para>
|
---|
153 | <indexterm zone="ch-scripts-udev-rules load_floppy_module.sh">
|
---|
154 | <primary sortas="d-load_floppy_module.sh">load_floppy_module.sh</primary>
|
---|
155 | </indexterm>
|
---|
156 | </listitem>
|
---|
157 | </varlistentry>
|
---|
158 |
|
---|
159 | <varlistentry id="show_event_log">
|
---|
160 | <term><command>show_event_log</command></term>
|
---|
161 | <listitem>
|
---|
162 | <para>Displays Udev log messages from /var/log/messages.</para>
|
---|
163 | <indexterm zone="ch-scripts-udev-rules show_event_log">
|
---|
164 | <primary sortas="d-show_event_log">show_event_log</primary>
|
---|
165 | </indexterm>
|
---|
166 | </listitem>
|
---|
167 | </varlistentry>
|
---|
168 |
|
---|
169 | <varlistentry id="udev">
|
---|
170 | <term><command>udev</command></term>
|
---|
171 | <listitem>
|
---|
172 | <para>To be Written.</para>
|
---|
173 | <indexterm zone="ch-scripts-udev-rules udev">
|
---|
174 | <primary sortas="d-udev">udev</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | </variablelist>
|
---|
180 |
|
---|
181 | </sect2>
|
---|
182 |
|
---|
183 | </sect1>
|
---|