r4868 - trunk/BOOK/multimedia/libdriv

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Jul 31 17:36:52 PDT 2005


Author: randy
Date: 2005-07-31 18:36:51 -0600 (Sun, 31 Jul 2005)
New Revision: 4868

Modified:
   trunk/BOOK/multimedia/libdriv/alsa-utils.xml
Log:
Fixed typos and minor wording changes to the ALSA Utilities instructions

Modified: trunk/BOOK/multimedia/libdriv/alsa-utils.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-utils.xml	2005-08-01 00:16:06 UTC (rev 4867)
+++ trunk/BOOK/multimedia/libdriv/alsa-utils.xml	2005-08-01 00:36:51 UTC (rev 4868)
@@ -108,26 +108,28 @@
 <screen role="root"><userinput>make install-alsa</userinput></screen>
 
       <para>Note that all channels of your sound card are muted by default.
-      You can use the <command>alsamixer</command> program from
+      You can use the <command>alsamixer</command> program from the
       <application>ALSA Utilities</application> to change this.</para>
 
-      <para>The first time the dev.d script below is run, it will complain 
+      <para>The first time the <filename class='directory'>dev.d</filename>
+      script below is run, it will complain 
       that there is no state in <filename>/etc/asound.state</filename>.  
-      You can prevent this by running the following commands while still 
-      the <systemitem class="username">root</systemitem> user (after
-      installing <application>ALSA Utilities</application>):</para>
+      You can prevent this by running the following commands as
+      the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>touch /etc/asound.state &&
 alsactl store</userinput></screen>
 
-      <para>The volumes will be restored using the saved settings by a 
-      dev.d handler script that will execute when the device is detected 
-      durring boot (when pluged in for USB devices).  While still the 
-      <systemitem class="username">root</systemitem> user, create the dev.d
-      script with the following commands:</para>
+      <para>The volume settings will be restored from the saved state using a 
+      <filename class='directory'>dev.d</filename> handler script that will
+      execute when the device is detected 
+      during boot (when plugged in for USB devices).  While still the 
+      <systemitem class="username">root</systemitem> user, create the
+      <filename class='directory'>dev.d</filename> script with the following
+      commands:</para>
 
-<screen role="root"><userinput>install -d -m755 /etc/dev.d/snd &&
-cat >> /etc/dev.d/snd/alsa.dev << "EOF" &&
+<screen role="root"><userinput>install -v -d -m755 /etc/dev.d/snd &&
+cat >> /etc/dev.d/snd/alsa.dev << "EOF"
 #!/bin/sh -e
 DEV_BASENAME="${DEVNAME##*/}"
 N="${DEV_BASENAME#controlC}"
@@ -150,7 +152,7 @@
 esac
 exit 0
 EOF
-chmod 755 /etc/dev.d/snd/alsa.dev</userinput></screen>
+chmod -v 755 /etc/dev.d/snd/alsa.dev</userinput></screen>
 
 
       <para>You may wish to do additional configuration on a per card basis.




More information about the blfs-book mailing list