From: Ulrich Dangel Date: Fri, 16 Dec 2011 10:27:59 +0000 (+0100) Subject: Unmute mixer controls before setting volume X-Git-Tag: v0.9.42~2 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=cd25e7864a1a21783dce42ab226b643cb2395a86;hp=48c933ababe8d6f96d3f1425592c53a5b4f72d6c Unmute mixer controls before setting volume --- diff --git a/autoconfig.functions b/autoconfig.functions index 1a3488b..de8341d 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1155,6 +1155,7 @@ config_mixer () { for CONTROL in Master PCM ; do if amixer -q | grep -q "Simple mixer control '$CONTROL'" ; then + amixer -q set "${CONTROL}" unmute 1>/dev/null 2>&1 amixer -q set "${CONTROL}" "${VOL}"% eend $? fi