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.