Ignore:
Timestamp:
05/07/2006 01:36:04 AM (18 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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:
04be25f
Parents:
1e9bd536
Message:

Updated to alsa-1.0.11

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

File:
1 edited

Legend:

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

    r1e9bd536 r7ffd4d7  
    77  <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
    88  <!ENTITY alsa-utils-download-ftp  "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
    9   <!ENTITY alsa-utils-md5sum        "d4b77e9fe0311772293e402fdd634ad2">
    10   <!ENTITY alsa-utils-size          "935 KB">
    11   <!ENTITY alsa-utils-buildsize     "5.9 MB">
     9  <!ENTITY alsa-utils-md5sum        "ba9b8010120701d0f6daf061d392cfa2">
     10  <!ENTITY alsa-utils-size          "972 KB">
     11  <!ENTITY alsa-utils-buildsize     "6.8 MB">
    1212  <!ENTITY alsa-utils-time          "0.1 SBU">
    1313]>
     
    128128alsactl store</userinput></screen>
    129129
    130       <para>The volume settings will be restored from the saved state using a
    131       shell script called by <application>Udev</application> that will
    132       execute when the device is detected (during boot or when plugged in for
    133       USB devices).</para>
    134 
     130      <para>The volume settings will be restored from the saved state by
     131      <application>Udev</application> when the device is detected (during boot
     132      or when plugged in for USB devices).</para>
     133
     134<!--
    135135      <para>  While still the
    136136      <systemitem class="username">root</systemitem> user, create the
     
    144144# $1 is (the numbered device "%n") passed in by udev/kernel.
    145145
    146 x=0
    147 
    148 # Give up to 20 seconds for /usr to be mounted
    149 while [ "${x}" -lt 20 ]
    150 do
     146    rc=1
     147
    151148    if [ -f /usr/sbin/alsactl ]; then
    152149        /usr/sbin/alsactl restore "${1}"
    153         exit 0
     150        rc=$?
    154151    fi
    155     x=$(( x + 1 ))
    156     sleep 1
    157 done &amp; # Put the loop in the background
     152
     153    exit $rc
    158154
    159155# End /etc/udev/scripts/alsa-restore
    160156EOF
    161157chmod -v 754 /etc/udev/scripts/alsa-restore</userinput></screen>
    162 
    163       <para>Finally, again as the
    164       <systemitem class="username">root</systemitem> user, install a new
    165       <application>Udev</application> rules file to create the audio
     158-->
     159
     160      <para>As the <systemitem class="username">root</systemitem> user, install
     161      a new <application>Udev</application> rules file to create the audio
    166162      device nodes and run the restore script:</para>
    167163
     
    173169# ALSA Devices
    174170# When a sound device is detected, restore the volume settings
    175 KERNEL=="controlC[0-9]*", ACTION=="add", NAME="snd/%k", RUN="/etc/udev/scripts/alsa-restore %n"
     171KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
    176172KERNEL="hw[CD0-9]*",      NAME="snd/%k"
    177173KERNEL="pcm[CD0-9cp]*",   NAME="snd/%k"
     
    195191
    196192      <seglistitem>
    197         <seg>aconnect, alsaconf, alsactl, alsamixer, amidi, amixer, aplay, aplaymidi,
    198         arecord, arecordmidi, aseqnet, aseqdump, iecset, and speaker-test</seg>
     193        <seg>aconnect, alsaconf, alsactl, alsamixer, amidi,
     194        amixer, aplay, aplaymidi, arecord, arecordmidi, aseqnet,
     195        aseqdump, iecset, and speaker-test</seg>
    199196        <seg>None</seg>
    200197        <seg>None</seg>
Note: See TracChangeset for help on using the changeset viewer.