Author: dnicholson
Date: 2007-01-17 22:38:32 -0700 (Wed, 17 Jan 2007)
New Revision: 6419
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/multimedia/libdriv/alsa-utils.xml
Log:
Fixed the ALSA udev rules, closing #2125
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2007-01-18 05:19:49 UTC
(rev 6418)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2007-01-18 05:38:32 UTC
(rev 6419)
@@ -45,6 +45,14 @@
<para>January 17th, 2007</para>
<itemizedlist>
<listitem>
+ <para>[dnicholson] - Fixed the ALSA udev rules to work properly
+ with the Udev and rules in stable LFS. This includes removing
+ the device and group settings and leaving only the volume
+ restoring RUN rule. The file is also moved after 25-lfs.rules
+ since it will not conflict with any settings made there.
+ Closes ticket #2125.</para>
+ </listitem>
+ <listitem>
<para>[dnicholson] - Updated the ALSA Library and Plugins to
version 1.0.13.</para>
</listitem>
Modified: trunk/BOOK/multimedia/libdriv/alsa-utils.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-utils.xml 2007-01-18 05:19:49 UTC
(rev 6418)
+++ trunk/BOOK/multimedia/libdriv/alsa-utils.xml 2007-01-18 05:38:32 UTC
(rev 6419)
@@ -157,21 +157,13 @@
a new <application>Udev</application> rules file to create the audio
device nodes and run the restore script:</para>
-<screen role="root"><userinput>cat > /etc/udev/rules.d/15-alsa.rules
<< "EOF"
-# Give the audio group ownership of sound devices
-SUBSYSTEM=="sound", GROUP="audio"
-SUBSYSTEM=="snd", GROUP="audio"
+<screen role="root"><userinput>cat > /etc/udev/rules.d/40-alsa.rules
<< "EOF"
+# /etc/udev/rules.d/40-alsa.rules
-# ALSA Devices
# When a sound device is detected, restore the volume settings
KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
-KERNEL="hw[CD0-9]*", NAME="snd/%k"
-KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
-KERNEL="midiC[D0-9]*", NAME="snd/%k"
-KERNEL="timer", NAME="snd/%k"
-KERNEL="seq", NAME="snd/%k"
EOF
-chmod 644 /etc/udev/rules.d/15-alsa.rules</userinput></screen>
+chmod -v 644 /etc/udev/rules.d/40-alsa.rules</userinput></screen>
</sect3>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page