Is there a single amixer control to reset all of the HDSP mixer
registers?  I recall that there's some mechanism for resetting the
HDSP (other than re-installing the module), but I can't find it now.

For now, I use scripts like this to configure the mixer paths:

#!/bin/bash
# mute all Multiface analogue I/O connections

inputs="0 1 2 3 4 5 6 7 26 27 28 29 30 31 32 33"
analogue_outputs="0 1 2 3 4 5 6 7"
headphone_outputs="26 27"

function disconnect () {
    for output in "$@"; do
        for input in $inputs; do
            echo -n "."
            amixer cset numid=5 $input,$output,0 > /dev/null
        done
    done
    echo
}

echo -n "Disconnecting analogue outputs"
disconnect $analogue_outputs
echo -n "Disconnecting headphone outputs"
disconnect $headphone_outputs

-- 
Roger Williams <[EMAIL PROTECTED]>
Qux Tool & Die, Middleborough, Massachusetts
// Omne tulit punctum qui misquit utile dulci //


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to