[71caa77] | 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 |
|
---|
[ba8680e] | 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>
|
---|
[71caa77] | 31 |
|
---|
[ba8680e] | 32 | <screen os="b"><userinput>rm -vf /etc/udev/rules.d/*</userinput></screen>
|
---|
[71caa77] | 33 |
|
---|
[ba8680e] | 34 | <para os="c">Install the package:</para>
|
---|
[71caa77] | 35 |
|
---|
[ba8680e] | 36 | <screen os="d"><userinput>make install</userinput></screen>
|
---|
[71caa77] | 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,
|
---|
[72e634a] | 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>
|
---|
[71caa77] | 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 |
|
---|
[72e634a] | 61 | <varlistentry id="z05-udev-early.rules-udev-rules">
|
---|
[71caa77] | 62 | <term><command>05-udev-early.rules</command></term>
|
---|
| 63 | <listitem>
|
---|
[9d166e1] | 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>
|
---|
[72e634a] | 67 | <indexterm zone="ch-scripts-udev-rules z05-udev-early.rules-udev-rules">
|
---|
[71caa77] | 68 | <primary sortas="d-05-udev-early.rules">05-udev-early.rules</primary>
|
---|
| 69 | </indexterm>
|
---|
| 70 | </listitem>
|
---|
| 71 | </varlistentry>
|
---|
| 72 |
|
---|
[72e634a] | 73 | <varlistentry id="z35-helper.rules-udev-rules">
|
---|
[71caa77] | 74 | <term><command>35-helper.rules</command></term>
|
---|
| 75 | <listitem>
|
---|
[9d166e1] | 76 | <para>Rules that use helper programs.</para>
|
---|
[72e634a] | 77 | <indexterm zone="ch-scripts-udev-rules z35-helper.rules-udev-rules">
|
---|
[71caa77] | 78 | <primary sortas="d-35-helper.rules">35-helper.rules</primary>
|
---|
| 79 | </indexterm>
|
---|
| 80 | </listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
[72e634a] | 83 | <varlistentry id="z40-modprobe.rules">
|
---|
[71caa77] | 84 | <term><command>40-modprobe.rules</command></term>
|
---|
| 85 | <listitem>
|
---|
[9d166e1] | 86 | <para>Rules that use modprobe to load kernel modules.</para>
|
---|
[72e634a] | 87 | <indexterm zone="ch-scripts-udev-rules z40-modprobe.rules">
|
---|
[71caa77] | 88 | <primary sortas="d-40-modprobe.rules">40-modprobe.rules</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
[72e634a] | 93 | <varlistentry id="z50-udev.rules">
|
---|
[71caa77] | 94 | <term><command>50-udev.rules</command></term>
|
---|
| 95 | <listitem>
|
---|
[9d166e1] | 96 | <para>Creates basic system devices and permissions.</para>
|
---|
[72e634a] | 97 | <indexterm zone="ch-scripts-udev-rules z50-udev.rules">
|
---|
[71caa77] | 98 | <primary sortas="d-50-udev.rules">50-udev.rules</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
[72e634a] | 103 | <varlistentry id="z55-sound.rules">
|
---|
[71caa77] | 104 | <term><command>55-sound.rules</command></term>
|
---|
| 105 | <listitem>
|
---|
[9d166e1] | 106 | <para>Gives proper permissions to audio device and restores sound
|
---|
| 107 | volumes.</para>
|
---|
[72e634a] | 108 | <indexterm zone="ch-scripts-udev-rules z55-sound.rules">
|
---|
[71caa77] | 109 | <primary sortas="d-55-sound.rules">55-sound.rules</primary>
|
---|
| 110 | </indexterm>
|
---|
| 111 | </listitem>
|
---|
| 112 | </varlistentry>
|
---|
| 113 |
|
---|
[72e634a] | 114 | <varlistentry id="z60-persistent-disk.rules">
|
---|
[71caa77] | 115 | <term><command>60-persistent-disk.rules</command></term>
|
---|
| 116 | <listitem>
|
---|
[9d166e1] | 117 | <para>Allows persistent naming of disk drives.</para>
|
---|
[72e634a] | 118 | <indexterm zone="ch-scripts-udev-rules z60-persistent-disk.rules">
|
---|
[71caa77] | 119 | <primary sortas="d-60-persistent-disk.rules">60-persistent-disk.rules</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 |
|
---|
[72e634a] | 124 | <varlistentry id="z61-persistent-input.rules">
|
---|
[71caa77] | 125 | <term><command>61-persistent-input.rules</command></term>
|
---|
| 126 | <listitem>
|
---|
[9d166e1] | 127 | <para>Allows persistent naming of input devices.</para>
|
---|
[72e634a] | 128 | <indexterm zone="ch-scripts-udev-rules z61-persistent-input.rules">
|
---|
[71caa77] | 129 | <primary sortas="d-61-persistent-input.rules">61-persistent-input.rules</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
[72e634a] | 134 | <varlistentry id="z90-user.rules">
|
---|
[71caa77] | 135 | <term><command>90-user.rules</command></term>
|
---|
| 136 | <listitem>
|
---|
[9d166e1] | 137 | <para>Rules defined by the user.</para>
|
---|
[72e634a] | 138 | <indexterm zone="ch-scripts-udev-rules z90-user.rules">
|
---|
[71caa77] | 139 | <primary sortas="d-90-user.rules">90-user.rules</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
[72e634a] | 144 | <varlistentry id="z95-debug.rules">
|
---|
[71caa77] | 145 | <term><command>95-debug.rules</command></term>
|
---|
| 146 | <listitem>
|
---|
[9d166e1] | 147 | <para>Rules for debugging udev.</para>
|
---|
[72e634a] | 148 | <indexterm zone="ch-scripts-udev-rules z95-debug.rules">
|
---|
[71caa77] | 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>
|
---|
[72e634a] | 197 |
|
---|
[71caa77] | 198 | </sect1>
|
---|