Subject: kern/33787: Support for the CMedia CMI9880 codec in the Azalia driver
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <eye.of.the.8eholder@gmail.com>
List: netbsd-bugs
Date: 06/21/2006 14:10:00
>Number:         33787
>Category:       kern
>Synopsis:       Support for the CMedia CMI9880 codec in the Azalia driver
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 21 14:10:00 +0000 2006
>Originator:     Khelban Blackstaff
>Release:        3.99.21
>Organization:
>Environment:
NetBSD hostname 3.99.21 NetBSD 3.99.21 (hostname) #1: Fri Jun  9 10:18:57 EEST 2006  root@hostname:/usr/obj/usr/src/sys/arch/i386/compile/hostname i386
>Description:
The azalia driver doesn't support the C-Media CMI9880 HD Audio Codec.

The dmesg output is the following:

azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at irq 5
azalia0: host: 82801FB/FR High Definition Audio Controller (rev. 3)
azalia0: host: High Definition Audio rev. 1.0

azalia0: codec: 0x434d/0x4980 (rev. 0.2)
azalia0: codec: High Definition Audio rev. 0.9
azalia0: adc08: No PCM support: 0
azalia0: adc09: No PCM support: 0
azalia0: adc0a: No PCM support: 0
azalia0: invalid PCM format: 0x00000000

The lspci output is the following:

00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
        Subsystem: ASUSTeK Computer Inc.: Unknown device 813d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, cache line size 04
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at cdbf4000 (64-bit, non-prefetchable)
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] #10 [0091]


>How-To-Repeat:
Use a motherboard having the CMI9880 audio codec.
>Fix: