From 656725d3ccf7d3586593684bc385af4199bd6e4c Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Mon, 1 Aug 2005 00:36:51 +0000 Subject: [PATCH] Fixed typos and minor wording changes to the ALSA Utilities instructions git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4868 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- multimedia/libdriv/alsa-utils.xml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/multimedia/libdriv/alsa-utils.xml b/multimedia/libdriv/alsa-utils.xml index b029ca241e..11d68b91ec 100644 --- a/multimedia/libdriv/alsa-utils.xml +++ b/multimedia/libdriv/alsa-utils.xml @@ -108,26 +108,28 @@ make make install-alsa Note that all channels of your sound card are muted by default. - You can use the alsamixer program from + You can use the alsamixer program from the ALSA Utilities to change this. - The first time the dev.d script below is run, it will complain + The first time the dev.d + script below is run, it will complain that there is no state in /etc/asound.state. - You can prevent this by running the following commands while still - the root user (after - installing ALSA Utilities): + You can prevent this by running the following commands as + the root user: touch /etc/asound.state && alsactl store - 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 - root user, create the dev.d - script with the following commands: + The volume settings will be restored from the saved state using a + dev.d handler script that will + execute when the device is detected + during boot (when plugged in for USB devices). While still the + root user, create the + dev.d script with the following + commands: -install -d -m755 /etc/dev.d/snd && -cat >> /etc/dev.d/snd/alsa.dev << "EOF" && +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 @@ case "$DEV_BASENAME" in esac exit 0 EOF -chmod 755 /etc/dev.d/snd/alsa.dev +chmod -v 755 /etc/dev.d/snd/alsa.dev You may wish to do additional configuration on a per card basis.