r6013 - in trunk/BOOK: introduction/welcome multimedia/libdriv

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sat May 6 18:36:05 PDT 2006


Author: bdubbs
Date: 2006-05-06 19:36:04 -0600 (Sat, 06 May 2006)
New Revision: 6013

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/alsa-firmware.xml
   trunk/BOOK/multimedia/libdriv/alsa-lib.xml
   trunk/BOOK/multimedia/libdriv/alsa-oss.xml
   trunk/BOOK/multimedia/libdriv/alsa-plugins.xml
   trunk/BOOK/multimedia/libdriv/alsa-tools.xml
   trunk/BOOK/multimedia/libdriv/alsa-utils.xml
Log:
Updated to alsa-1.0.11

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-05-06 22:18:13 UTC (rev 6012)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-05-07 01:36:04 UTC (rev 6013)
@@ -45,6 +45,9 @@
       <para>May 6th, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Updated to alsa-1.0.11.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Updated to dhcp-3.0.4.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/multimedia/libdriv/alsa-firmware.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-firmware.xml	2006-05-06 22:18:13 UTC (rev 6012)
+++ trunk/BOOK/multimedia/libdriv/alsa-firmware.xml	2006-05-07 01:36:04 UTC (rev 6013)
@@ -6,10 +6,10 @@
 
   <!ENTITY alsa-firmware-download-http "&alsa-download-http;/firmware/alsa-firmware-&alsa-firmware-version;.tar.bz2">
   <!ENTITY alsa-firmware-download-ftp  "&alsa-download-ftp;/firmware/alsa-firmware-&alsa-firmware-version;.tar.bz2">
-  <!ENTITY alsa-firmware-md5sum        "f7ce6a31691d6eb35fc155f306abc77b">
+  <!ENTITY alsa-firmware-md5sum        "bd573f4dac7f4786a20bb4427229acef">
   <!ENTITY alsa-firmware-size          "1.5 MB">
-  <!ENTITY alsa-firmware-buildsize     "18.4 MB">
-  <!ENTITY alsa-firmware-time          "0.1 SBU">
+  <!ENTITY alsa-firmware-buildsize     "18.6 MB">
+  <!ENTITY alsa-firmware-time          "less than 0.1 SBU">
 ]>
 <sect1 id="alsa-firmware" xreflabel="ALSA Firmware-&alsa-firmware-version;">
   <?dbhtml filename="alsa-firmware.html"?>

Modified: trunk/BOOK/multimedia/libdriv/alsa-lib.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-lib.xml	2006-05-06 22:18:13 UTC (rev 6012)
+++ trunk/BOOK/multimedia/libdriv/alsa-lib.xml	2006-05-07 01:36:04 UTC (rev 6013)
@@ -6,10 +6,10 @@
 
   <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
   <!ENTITY alsa-lib-download-ftp  "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
-  <!ENTITY alsa-lib-md5sum        "114af3304619920ffe2b147b760700b9">
-  <!ENTITY alsa-lib-size          "682 KB">
-  <!ENTITY alsa-lib-buildsize     "27.3 MB (additional 14.4 MB to build and install docs)">
-  <!ENTITY alsa-lib-time          "0.6 SBU">
+  <!ENTITY alsa-lib-md5sum        "ef7ae78a0ef08cbeacb295f2518886ab">
+  <!ENTITY alsa-lib-size          "696 KB">
+  <!ENTITY alsa-lib-buildsize     "31.8 MB (additional 15.2 MB to build and install docs)">
+  <!ENTITY alsa-lib-time          "0.7 SBU (less than 0.1 SBU to build and install docs)">
 ]>
 
 <sect1 id="alsa-lib" xreflabel="ALSA Library-&alsa-lib-version;">
@@ -72,11 +72,11 @@
   <sect2 role="kernel"  id="alsa-lib-kernel">
     <title>Kernel Configuration</title>
 
-    <para>In the <quote>Sound</quote> section of the kernel configuration, edit
-    <emphasis role="bold">Advanced Linux Sound Architecture</emphasis>
-    options to match your audio hardware and disable deprecated
-    <emphasis role="bold">Open Sound System</emphasis>.
-    Recompile and install your new kernel.</para>
+    <para>In the Device Drivers ⇒ Sound ⇒ Advanced Linux Sound
+    Architecture section of the kernel configuration, select the settingis and
+    drivers appropriate for your hardware.  Ensure that the deprecated Device
+    Drivers ⇒ Sound ⇒ Open Sound System is <emphasis>not</emphasis>
+    selected.  If necessary, recompile and install your new kernel.</para>
 
     <indexterm zone="alsa-lib alsa-lib-kernel">
       <primary sortas="d-ALSA">ALSA</primary>
@@ -173,9 +173,9 @@
       <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
-        <seg>alsalisp and aserver</seg>
-        <seg>libasound.{so,a}</seg>
-        <seg>/usr/include/alsa, /usr/share/alsa and
+        <seg>aserver</seg>
+        <seg>libasound.{so,a} and smixer-*.{so,a}</seg>
+        <seg>/usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and
         /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
       </seglistitem>
     </segmentedlist>
@@ -195,6 +195,16 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry id="smixer">
+        <term><filename class='libraryfile'>smixer-*.{so,a}</filename></term>
+        <listitem>
+          <para>provides hardware dependent ALSA mixer functions.</para>
+          <indexterm zone="alsa-lib smixer">
+            <primary sortas="c-smixer">smixer-*.{so,a}</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
   </sect2>

Modified: trunk/BOOK/multimedia/libdriv/alsa-oss.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-oss.xml	2006-05-06 22:18:13 UTC (rev 6012)
+++ trunk/BOOK/multimedia/libdriv/alsa-oss.xml	2006-05-07 01:36:04 UTC (rev 6013)
@@ -6,10 +6,10 @@
 
   <!ENTITY alsa-oss-download-http "&alsa-download-http;/oss-lib/alsa-oss-&alsa-oss-version;.tar.bz2">
   <!ENTITY alsa-oss-download-ftp  "&alsa-download-ftp;/oss-lib/alsa-oss-&alsa-oss-version;.tar.bz2">
-  <!ENTITY alsa-oss-md5sum        "3c0411e54fd2e5c6083fd3c2ac9db509">
-  <!ENTITY alsa-oss-size          "219 KB">
-  <!ENTITY alsa-oss-buildsize     "2.5 MB">
-  <!ENTITY alsa-oss-time          "0.1 SBU">
+  <!ENTITY alsa-oss-md5sum        "3106c2d59a329263867fa3dd44133dda">
+  <!ENTITY alsa-oss-size          "232 KB">
+  <!ENTITY alsa-oss-buildsize     "2.8 MB">
+  <!ENTITY alsa-oss-time          "less than 0.1 SBU">
 ]>
 
 <sect1 id="alsa-oss" xreflabel="ALSA OSS-&alsa-oss-version;">

Modified: trunk/BOOK/multimedia/libdriv/alsa-plugins.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-plugins.xml	2006-05-06 22:18:13 UTC (rev 6012)
+++ trunk/BOOK/multimedia/libdriv/alsa-plugins.xml	2006-05-07 01:36:04 UTC (rev 6013)
@@ -6,10 +6,10 @@
 
   <!ENTITY alsa-plugins-download-http "&alsa-download-http;/plugins/alsa-plugins-&alsa-plugins-version;.tar.bz2">
   <!ENTITY alsa-plugins-download-ftp  "&alsa-download-ftp;/plugins/alsa-plugins-&alsa-plugins-version;.tar.bz2">
-  <!ENTITY alsa-plugins-md5sum        "15a3fbbea779736b6425f43bbd051a32">
-  <!ENTITY alsa-plugins-size          "187 KB">
-  <!ENTITY alsa-plugins-buildsize     "1.8">
-  <!ENTITY alsa-plugins-time          "0.1 SBU">
+  <!ENTITY alsa-plugins-md5sum        "4ca9ebb9f59b6d9bd85c904134a78305">
+  <!ENTITY alsa-plugins-size          "236 KB">
+  <!ENTITY alsa-plugins-buildsize     "2.4 MB">
+  <!ENTITY alsa-plugins-time          "less than 0.1 SBU">
 ]>
 
 <sect1 id="alsa-plugins" xreflabel="ALSA Plugins-&alsa-plugins-version;">
@@ -59,6 +59,7 @@
       </listitem>
     </itemizedlist>
 
+<!--
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing='compact'>
       <listitem>
@@ -66,6 +67,7 @@
         url="&patch-root;/alsa-plugins-&alsa-plugins-version;-no_jack-1.patch"/></para>
       </listitem>
     </itemizedlist>
+-->
 
     <bridgehead renderas="sect3">ALSA Plugins Dependencies</bridgehead>
 
@@ -84,11 +86,13 @@
   <sect2 role="installation">
     <title>Installation of ALSA Plugins</title>
 
+<!--
     <para>If you choose not to install <application>JACK</application>,
     apply the patch by running the following commands:</para>
 
 <screen><userinput>patch -Np1 -i \
     ../alsa-plugins-&alsa-plugins-version;-no_jack-1.patch</userinput></screen>
+-->
 
     <para>Install <application>ALSA Plugins</application> by
     running the following commands:</para>
@@ -114,8 +118,9 @@
 
       <seglistitem>
         <seg>None</seg>
-        <seg>libasound_module_pcm_oss.so and optionally
-        libasound_module_pcm_jack.so</seg>
+        <seg>libasound_module_pcm_oss.so, libasound_module_ctl_oss.so, 
+        libasound_module_pcm_upmix.so, libasound_module_pcm_vdownmix.so, 
+        and optionally libasound_module_pcm_jack.so</seg>
         <seg>/usr/lib/alsa-lib</seg>
       </seglistitem>
     </segmentedlist>

Modified: trunk/BOOK/multimedia/libdriv/alsa-tools.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-tools.xml	2006-05-06 22:18:13 UTC (rev 6012)
+++ trunk/BOOK/multimedia/libdriv/alsa-tools.xml	2006-05-07 01:36:04 UTC (rev 6013)
@@ -18,7 +18,7 @@
 
   <!ENTITY alsa-tools-download-http "&alsa-download-http;/tools/alsa-tools-&alsa-tools-version;.tar.bz2">
   <!ENTITY alsa-tools-download-ftp  "&alsa-download-ftp;/tools/alsa-tools-&alsa-tools-version;.tar.bz2">
-  <!ENTITY alsa-tools-md5sum        "3139b9d6c10e14acbb926f23b488e745">
+  <!ENTITY alsa-tools-md5sum        "a2840af7f1624d46257b6a53aea43eb7">
   <!ENTITY alsa-tools-size          "1.4 MB">
   <!ENTITY alsa-tools-buildsize     "14-17 MB depending on the tool being built">
   <!ENTITY alsa-tools-time          "0.1-0.5 SBU depending on the tool being built">

Modified: trunk/BOOK/multimedia/libdriv/alsa-utils.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-utils.xml	2006-05-06 22:18:13 UTC (rev 6012)
+++ trunk/BOOK/multimedia/libdriv/alsa-utils.xml	2006-05-07 01:36:04 UTC (rev 6013)
@@ -6,9 +6,9 @@
 
   <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
   <!ENTITY alsa-utils-download-ftp  "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
-  <!ENTITY alsa-utils-md5sum        "d4b77e9fe0311772293e402fdd634ad2">
-  <!ENTITY alsa-utils-size          "935 KB">
-  <!ENTITY alsa-utils-buildsize     "5.9 MB">
+  <!ENTITY alsa-utils-md5sum        "ba9b8010120701d0f6daf061d392cfa2">
+  <!ENTITY alsa-utils-size          "972 KB">
+  <!ENTITY alsa-utils-buildsize     "6.8 MB">
   <!ENTITY alsa-utils-time          "0.1 SBU">
 ]>
 
@@ -127,11 +127,11 @@
 <screen role="root"><userinput>touch /etc/asound.state &&
 alsactl store</userinput></screen>
 
-      <para>The volume settings will be restored from the saved state using a
-      shell script called by <application>Udev</application> that will
-      execute when the device is detected (during boot or when plugged in for
-      USB devices).</para>
+      <para>The volume settings will be restored from the saved state by
+      <application>Udev</application> when the device is detected (during boot
+      or when plugged in for USB devices).</para>
 
+<!--
       <para>  While still the
       <systemitem class="username">root</systemitem> user, create the
       <filename>/etc/udev/scripts/alsa-restore</filename> script with
@@ -143,26 +143,22 @@
 # Begin /etc/udev/scripts/alsa-restore
 # $1 is (the numbered device "%n") passed in by udev/kernel.
 
-x=0
+    rc=1
 
-# Give up to 20 seconds for /usr to be mounted
-while [ "${x}" -lt 20 ]
-do
     if [ -f /usr/sbin/alsactl ]; then
         /usr/sbin/alsactl restore "${1}"
-        exit 0
+        rc=$?
     fi
-    x=$(( x + 1 ))
-    sleep 1
-done & # Put the loop in the background
 
+    exit $rc
+
 # End /etc/udev/scripts/alsa-restore
 EOF
 chmod -v 754 /etc/udev/scripts/alsa-restore</userinput></screen>
+-->
 
-      <para>Finally, again as the
-      <systemitem class="username">root</systemitem> user, install a new
-      <application>Udev</application> rules file to create the audio
+      <para>As the <systemitem class="username">root</systemitem> user, install
+      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"
@@ -172,7 +168,7 @@
 
 # ALSA Devices
 # When a sound device is detected, restore the volume settings
-KERNEL=="controlC[0-9]*", ACTION=="add", NAME="snd/%k", RUN="/etc/udev/scripts/alsa-restore %n"
+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"
@@ -194,8 +190,9 @@
       <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
-        <seg>aconnect, alsaconf, alsactl, alsamixer, amidi, amixer, aplay, aplaymidi,
-        arecord, arecordmidi, aseqnet, aseqdump, iecset, and speaker-test</seg>
+        <seg>aconnect, alsaconf, alsactl, alsamixer, amidi, 
+        amixer, aplay, aplaymidi, arecord, arecordmidi, aseqnet, 
+        aseqdump, iecset, and speaker-test</seg>
         <seg>None</seg>
         <seg>None</seg>
       </seglistitem>




More information about the blfs-book mailing list