Bug#367953: [Pkg-alsa-devel] Bug#367953: alsa-utils: Internal speakers on PowerMac Tumbler don't get activated

markus koller markus-koller at gmx.ch
Fri May 19 17:47:23 UTC 2006

On Fri, May 19, 2006 at 07:03:13PM +0200, Elimar Riesebieter wrote:
> Should it be something like:
> ...

Yeah, though I guess Snapper should stay there. The following works:

# $1 <card ID>
        CARDOPT="-c $1"

        # Silly dance to activate internal speakers by default on PowerMac
        # Snapper and Tumbler
        id=`cat /proc/asound/card$1/id 2>/dev/null`
        if [ "$id" = "Snapper" -o "$id" = "Tumbler" ]; then
                switch_control "Auto Mute" off
                switch_control "PC Speaker" off
                switch_control "Auto Mute" on


More information about the Pkg-alsa-devel mailing list