Changeset b4e477a


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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rb707cc4 rb4e477a  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[dnicholson] - Fixed the ALSA udev rules to work properly
     49          with the Udev and rules in stable LFS. This includes removing
     50          the device and group settings and leaving only the volume
     51          restoring RUN rule. The file is also moved after 25-lfs.rules
     52          since it will not conflict with any settings made there.
     53          Closes ticket #2125.</para>
     54        </listitem>
     55        <listitem>
    4856          <para>[dnicholson] - Updated the ALSA Library and Plugins to
    4957          version 1.0.13.</para>
  • 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.