[3e79861] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3e79861] | 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 |
|
---|
[a8355dc] | 28 | <para os="a">Install the package:</para>
|
---|
[3e79861] | 29 |
|
---|
[a8355dc] | 30 | <screen os="b"><userinput>make install</userinput></screen>
|
---|
[3e79861] | 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,
|
---|
[d8ba4c3] | 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>
|
---|
[3e79861] | 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 |
|
---|
[d8ba4c3] | 55 | <varlistentry id="z05-udev-early.rules-udev-rules">
|
---|
[3e79861] | 56 | <term><command>05-udev-early.rules</command></term>
|
---|
| 57 | <listitem>
|
---|
[aeec3457] | 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>
|
---|
[d8ba4c3] | 61 | <indexterm zone="ch-scripts-udev-rules z05-udev-early.rules-udev-rules">
|
---|
[3e79861] | 62 | <primary sortas="d-05-udev-early.rules">05-udev-early.rules</primary>
|
---|
| 63 | </indexterm>
|
---|
| 64 | </listitem>
|
---|
| 65 | </varlistentry>
|
---|
| 66 |
|
---|
[d8ba4c3] | 67 | <varlistentry id="z35-helper.rules-udev-rules">
|
---|
[3e79861] | 68 | <term><command>35-helper.rules</command></term>
|
---|
| 69 | <listitem>
|
---|
[aeec3457] | 70 | <para>Rules that use helper programs.</para>
|
---|
[d8ba4c3] | 71 | <indexterm zone="ch-scripts-udev-rules z35-helper.rules-udev-rules">
|
---|
[3e79861] | 72 | <primary sortas="d-35-helper.rules">35-helper.rules</primary>
|
---|
| 73 | </indexterm>
|
---|
| 74 | </listitem>
|
---|
| 75 | </varlistentry>
|
---|
| 76 |
|
---|
[d8ba4c3] | 77 | <varlistentry id="z40-modprobe.rules">
|
---|
[3e79861] | 78 | <term><command>40-modprobe.rules</command></term>
|
---|
| 79 | <listitem>
|
---|
[aeec3457] | 80 | <para>Rules that use modprobe to load kernel modules.</para>
|
---|
[d8ba4c3] | 81 | <indexterm zone="ch-scripts-udev-rules z40-modprobe.rules">
|
---|
[3e79861] | 82 | <primary sortas="d-40-modprobe.rules">40-modprobe.rules</primary>
|
---|
| 83 | </indexterm>
|
---|
| 84 | </listitem>
|
---|
| 85 | </varlistentry>
|
---|
| 86 |
|
---|
[d8ba4c3] | 87 | <varlistentry id="z50-udev.rules">
|
---|
[3e79861] | 88 | <term><command>50-udev.rules</command></term>
|
---|
| 89 | <listitem>
|
---|
[aeec3457] | 90 | <para>Creates basic system devices and permissions.</para>
|
---|
[d8ba4c3] | 91 | <indexterm zone="ch-scripts-udev-rules z50-udev.rules">
|
---|
[3e79861] | 92 | <primary sortas="d-50-udev.rules">50-udev.rules</primary>
|
---|
| 93 | </indexterm>
|
---|
| 94 | </listitem>
|
---|
| 95 | </varlistentry>
|
---|
| 96 |
|
---|
[d8ba4c3] | 97 | <varlistentry id="z55-sound.rules">
|
---|
[3e79861] | 98 | <term><command>55-sound.rules</command></term>
|
---|
| 99 | <listitem>
|
---|
[aeec3457] | 100 | <para>Gives proper permissions to audio device and restores sound
|
---|
| 101 | volumes.</para>
|
---|
[d8ba4c3] | 102 | <indexterm zone="ch-scripts-udev-rules z55-sound.rules">
|
---|
[3e79861] | 103 | <primary sortas="d-55-sound.rules">55-sound.rules</primary>
|
---|
| 104 | </indexterm>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
[d8ba4c3] | 108 | <varlistentry id="z60-persistent-disk.rules">
|
---|
[3e79861] | 109 | <term><command>60-persistent-disk.rules</command></term>
|
---|
| 110 | <listitem>
|
---|
[aeec3457] | 111 | <para>Allows persistent naming of disk drives.</para>
|
---|
[d8ba4c3] | 112 | <indexterm zone="ch-scripts-udev-rules z60-persistent-disk.rules">
|
---|
[3e79861] | 113 | <primary sortas="d-60-persistent-disk.rules">60-persistent-disk.rules</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
[d8ba4c3] | 118 | <varlistentry id="z61-persistent-input.rules">
|
---|
[3e79861] | 119 | <term><command>61-persistent-input.rules</command></term>
|
---|
| 120 | <listitem>
|
---|
[aeec3457] | 121 | <para>Allows persistent naming of input devices.</para>
|
---|
[d8ba4c3] | 122 | <indexterm zone="ch-scripts-udev-rules z61-persistent-input.rules">
|
---|
[3e79861] | 123 | <primary sortas="d-61-persistent-input.rules">61-persistent-input.rules</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 |
|
---|
[d8ba4c3] | 128 | <varlistentry id="z90-user.rules">
|
---|
[3e79861] | 129 | <term><command>90-user.rules</command></term>
|
---|
| 130 | <listitem>
|
---|
[aeec3457] | 131 | <para>Rules defined by the user.</para>
|
---|
[d8ba4c3] | 132 | <indexterm zone="ch-scripts-udev-rules z90-user.rules">
|
---|
[3e79861] | 133 | <primary sortas="d-90-user.rules">90-user.rules</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
| 137 |
|
---|
[d8ba4c3] | 138 | <varlistentry id="z95-debug.rules">
|
---|
[3e79861] | 139 | <term><command>95-debug.rules</command></term>
|
---|
| 140 | <listitem>
|
---|
[aeec3457] | 141 | <para>Rules for debugging udev.</para>
|
---|
[d8ba4c3] | 142 | <indexterm zone="ch-scripts-udev-rules z95-debug.rules">
|
---|
[3e79861] | 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>
|
---|
[040521bc] | 151 | <para>Checks to see if a floppy drive exists before loading
|
---|
| 152 | the floppy drive module into memory.</para>
|
---|
[3e79861] | 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>
|
---|
[040521bc] | 162 | <para>Displays Udev log messages from /var/log/messages.</para>
|
---|
[3e79861] | 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>
|
---|
[d8ba4c3] | 182 |
|
---|
[3e79861] | 183 | </sect1>
|
---|