X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=7fdb4beb731bfdca5b5f8d9b5c82c9a3df5459ce;hp=04bdc80545899a6fdba5ac115126c61c69a5b160;hb=b067eaa3953382530af6ee343de4a360e3eabec4;hpb=834cf8693ae03dee42d1c434422bf47c41ccdd74 diff --git a/autoconfig.functions b/autoconfig.functions index 04bdc80..7fdb4be 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1317,6 +1317,9 @@ config_mixer () { IFS=' ' for CONTROL in ${=CONTROLS} ; do + # such devices can not be controlled with amixer ... unmute + [[ "$CONTROL" == *Console* ]] && continue + if ! echo "${CONTROL}" | grep -q -i "mic" ; then if amixer -c $card sget "${CONTROL}" | grep -q 'Capabilities:.*pswitch' ; then amixer -c $card -q set "${CONTROL}" unmute