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