Subject: Re: auich support weirdness ?!
To: None <port-i386@netbsd.org>
From: Eric AUGE <eau@phear.org>
List: port-i386
Date: 12/20/2004 20:46:21
TAMURA Kent wrote:
>>Does somebody got any ideas on what is this "external amplifier" setting 
>>?, which is either "not called the same", either non existant setting in 
>>mixerctl/audioctl ?!
> 
> 
> Does the following patch solve your problem?
> 
> Index: ac97.c
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/ic/ac97.c,v
> retrieving revision 1.65
> diff -u -r1.65 ac97.c
> --- ac97.c      8 Nov 2004 14:24:17 -0000       1.65
> +++ ac97.c      17 Dec 2004 15:18:32 -0000
> @@ -980,7 +980,7 @@
>         }
> 
>         host_if->write(host_if->arg, AC97_REG_RESET, 0);
> -       host_if->write(host_if->arg, AC97_REG_POWER, 0);
> +       host_if->write(host_if->arg, AC97_REG_POWER, 0x8000);
> 
>         if (host_if->flags)
>                 as->host_flags = host_if->flags(host_if->arg);

Hello Kent,

I did change in my -2.0-release line 924:

    [...]
     924         host_if->write(host_if->arg, AC97_REG_POWER, 0x8000);
     925         host_if->write(host_if->arg, AC97_REG_RESET, 0);
     926
     927         if (host_if->flags)
     928                 as->host_flags = host_if->flags(host_if->arg);
    [...]

Does that make it ?!

I think your patch was for -current, i matched the line, changed and 
recompiled, but nothing happens... i still have no sound out of speakers...

I don't understand why..

Any other ideas are welcome.. :)

Thanks,
Eric