[02095ae] | 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 |
|
---|
[83be687] | 28 | <para os="a">Install the package:</para>
|
---|
[02095ae] | 29 |
|
---|
[83be687] | 30 | <screen os="b"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 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>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 70 | <para>Rules that use helper programs.</para>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 80 | <para>Rules that use modprobe to load kernel modules.</para>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 90 | <para>Creates basic system devices and permissions.</para>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 100 | <para>Gives proper permissions to audio device and restores sound
|
---|
| 101 | volumes.</para>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 111 | <para>Allows persistent naming of disk drives.</para>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 121 | <para>Allows persistent naming of input devices.</para>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 131 | <para>Rules defined by the user.</para>
|
---|
[02095ae] | 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>
|
---|
[83baa46] | 141 | <para>Rules for debugging udev.</para>
|
---|
[02095ae] | 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>To be Written.</para>
|
---|
| 152 | <indexterm zone="ch-scripts-udev-rules load_floppy_module.sh">
|
---|
| 153 | <primary sortas="d-load_floppy_module.sh">load_floppy_module.sh</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="show_event_log">
|
---|
| 159 | <term><command>show_event_log</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>To be Written.</para>
|
---|
| 162 | <indexterm zone="ch-scripts-udev-rules show_event_log">
|
---|
| 163 | <primary sortas="d-show_event_log">show_event_log</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="udev">
|
---|
| 169 | <term><command>udev</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>To be Written.</para>
|
---|
| 172 | <indexterm zone="ch-scripts-udev-rules udev">
|
---|
| 173 | <primary sortas="d-udev">udev</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="udev_retry">
|
---|
| 179 | <term><command>udev_retry</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>To be Written.</para>
|
---|
| 182 | <indexterm zone="ch-scripts-udev-rules udev_retry">
|
---|
| 183 | <primary sortas="d-udev_retry">udev_retry</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|