Ignore:
Timestamp:
01/18/2007 05:38:32 AM (15 years ago)
Author:
Dan Nichilson <dnicholson@…>
Branches:
10.0, 10.1, 11.0, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
22f39f2
Parents:
b707cc4
Message:

Fixed the ALSA udev rules, closing #2125

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6419 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/alsa-utils.xml

    rb707cc4 rb4e477a  
    158158      device nodes and run the restore script:</para>
    159159
    160 <screen role="root"><userinput>cat &gt; /etc/udev/rules.d/15-alsa.rules &lt;&lt; "EOF"
    161 # Give the audio group ownership of sound devices
    162 SUBSYSTEM=="sound",       GROUP="audio"
    163 SUBSYSTEM=="snd",         GROUP="audio"
    164 
    165 # ALSA Devices
     160<screen role="root"><userinput>cat &gt; /etc/udev/rules.d/40-alsa.rules &lt;&lt; "EOF"
     161# /etc/udev/rules.d/40-alsa.rules
     162
    166163# When a sound device is detected, restore the volume settings
    167164KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
    168 KERNEL="hw[CD0-9]*",      NAME="snd/%k"
    169 KERNEL="pcm[CD0-9cp]*",   NAME="snd/%k"
    170 KERNEL="midiC[D0-9]*",    NAME="snd/%k"
    171 KERNEL="timer",           NAME="snd/%k"
    172 KERNEL="seq",             NAME="snd/%k"
    173165EOF
    174 chmod 644 /etc/udev/rules.d/15-alsa.rules</userinput></screen>
     166chmod -v 644 /etc/udev/rules.d/40-alsa.rules</userinput></screen>
    175167
    176168    </sect3>
Note: See TracChangeset for help on using the changeset viewer.