Subject: kern/21966: i82801EB (ICH5) AC-97 Audio not supported by auich
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/23/2003 05:01:23
>Number:         21966
>Category:       kern
>Synopsis:       i82801EB (ICH5) AC-97 Audio not supported by auich
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 23 05:02:00 UTC 2003
>Originator:     Austin K. Kurahone
>Release:        1.6.1
NetBSD 1.6.1 NetBSD 1.6.1 (THOTH) #8: Sun Jun 22 20:27:17 PDT 2003n i386

i82801EB (ICH5) AC-97 Audio is not supported as an audio device under NetBSD 1.6.1.  The ICH5 is normally seen on motherboards based around the i875P chipset.

According to Intel it is fully backward compatible with earlier ICH AC-97 controllers.
Install NetBSD on a computer with ICH5 onboard audio.  auich will fail to detect the device.
The following patch adds basic support for the ICH5.  Tested on Asus P4C800 board by mp3 playback via xmms.  (Need to regenerate pcidevs.h before build).

Known Issues: None of the features unique to the ICH5 are supported, and on my system audio is being outputed from the line in jack.

--- Sun Jun 22 20:13:05 2003
+++ auich.c     Sun Jun 22 20:26:48 2003
@@ -285,6 +285,8 @@
            "i82440MX AC-97 Audio",             "440MX" },
        { PCI_PRODUCT_INTEL_82801CA_AC,
            "i82801CA AC-97 Audio",             "i830M" },
+       { PCI_PRODUCT_INTEL_82801EB_ACA,
+           "i82801EB (ICH5) AC-97 Audio",      "ICH5" },
        { 0,
            NULL,                       NULL },
--- Sun Jun 22 20:19:25 2003
+++ pcidevs     Sun Jun 22 20:26:36 2003
@@ -1445,6 +1445,7 @@
 product INTEL 82801DB_USB_3    0x24C7  82801DB USB UHCI Controller #3
 product INTEL 82801DB_IDE      0x24CB  82801DB IDE Controller (UltraATA/100)
 product INTEL 82801DB_USBC     0x24CD  82801DB USB EHCI Controller
+product INTEL 82801EB_ACA      0x24D5  82801EB AC97 Audio Controller
 product INTEL 82820_MCH                0x2501  82820 MCH (Camino)
 product INTEL 82820_AGP                0x250f  82820 AGP
 product INTEL 82850_HB         0x2530  82850 Host