Ignore:
Timestamp:
01/18/2007 05:38:32 AM (17 years ago)
Author:
Dan Nichilson <dnicholson@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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.