Subject: kern/18524: Nvidia nForce 420D (MCP-D) analog audio support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 10/04/2002 11:59:23
>Number: 18524
>Category: kern
>Synopsis: Nvidia nForce 420D (MCP-D) analog audio support
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 03 20:00:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: FUKAUMI Naoki
>Release: NetBSD 1.6I
>Organization:
FUKAUMI Naoki
>Environment:
System: NetBSD nforce.naobsd.org 1.6I NetBSD 1.6I (NFORCE) #0: Tue Oct 1 21:38:49 JST 2002 fun@nforce.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/NFORCE i386
Architecture: i386
Machine: i386
>Description:
nForce 420D audio doesn't work with auich(4). (dmesg shows many
'codec is not ready' errors)
>How-To-Repeat:
% audioplay anyaudiodata.wav
>Fix:
This patch enables MCP-D analog audio on MSI MS-6367 mobo.
line-out (headphones-out) and mic-in was tested, both OK.
XXX man auich/auich.c say 'mic-in is not supported', but some
people (include me) can use mic-in! XXX
Index: auich.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/auich.c,v
retrieving revision 1.22
diff -u -r1.22 auich.c
--- auich.c 2002/09/30 20:37:08 1.22
+++ auich.c 2002/10/02 10:27:45
@@ -435,6 +435,11 @@
sc->sc_sample_size = 2;
}
+ if (d->vendor == PCI_VENDOR_NVIDIA
+ && d->product == PCI_PRODUCT_NVIDIA_NFORCE_MCP_AC) {
+ sc->sc_ignore_codecready = TRUE;
+ }
+
/* Set up DMA lists. */
sc->ptr_pcmo = sc->ptr_pcmi = sc->ptr_mici = 0;
auich_alloc_cdata(sc);
>Release-Note:
>Audit-Trail:
>Unformatted: