Subject: Re: auich support weirdness ?!
To: Eric AUGE <eau@phear.org>
From: TAMURA Kent <kent@NetBSD.org>
List: port-i386
Date: 12/18/2004 00:21:39
--pgp-sign-Multipart_Sat_Dec_18_00:21:36_2004-1
Content-Type: text/plain; charset=US-ASCII


> 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);

-- 
TAMURA Kent <kent_2004 at hauN.org> <kent at NetBSD.org>

--pgp-sign-Multipart_Sat_Dec_18_00:21:36_2004-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQEVAwUAQcL5g37t9398iwLqAQIzXQgAqBevGt7iRyBBBEWX2haAo+Uv3LB+rFUV
RYOP2Nda/UgA4M/mo9c40WdiYyadHnTdkX/+A7B8WA0OBI+9kLhzIJ0bUvmbDzyy
GsNSSjbDDiMt47aCD0NQNPNG89RISwF91YlXHLDGXccjYc67TfKCIF05Y+qn7xyb
tAkrRlGh1kArsJDtUEuxs9o0qePgJ9DecgfNdiXYyMxBqGIZjkcoOhtfdrgadDru
Sjp0bnyzAdmsGpYNJHlLdfMbPDS2QenqHqlA75u0o11vPO5xPyW0CU0KOYR5sTar
hYPRQ9sS+vMjtoNPNSAelLk0K1bGuU4OirIM0NlyrDOFa6nJm72quA==
=fley
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Sat_Dec_18_00:21:36_2004-1--