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

Elimar Riesebieter riesebie at lxtec.de
Fri May 19 17:03:13 UTC 2006


On Thu, 18 May 2006 the mental interface of
markus koller told:

> Package: alsa-utils
> Version: 1.0.11-2
> Severity: important
> 
> Hi,
> 
> The "silly dance" in /etc/init.d/alsa-utils to activate the internal
> speakers is needed for Tumbler chips too.
> 

Should it be something like:
# $1 <card ID>
preinit_levels_on_card()
{
        CARDOPT="-c $1"

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

I can't test it, I am runing a PowerBook with a "Live". Please let me know
wheter it works. It'll be included in the next upload then.

Thanks for reporting

Elimar


-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)




More information about the Pkg-alsa-devel mailing list