Re: 2.6.28: hda_codec: Unknown model for ALC883, trying auto-probefrom BIOS...

From: Justin Piszcz
Date: Tue Dec 30 2008 - 07:28:30 EST




On Tue, 30 Dec 2008, Justin Piszcz wrote:

The audio for this board works fine, there are no issues, but there are some cosmetic issues when the driver loads:

1. Unknown model.
2. Wrong model number.

On my ABIT AW9D-MAX motherboard:
[ 10.667963] Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
[ 10.668156] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 1
6
[ 10.668228] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 10.677932] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS.
..
[ 10.705082] ALSA device list:
[ 10.705128] #0: HDA Intel at 0xfdff8000 irq 16

On an Intel motherboard, correctly detected, no warnings about an Unknown
model.

[ 5.466951] Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
[ 5.470149] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 5.473135] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 5.512645] ALSA device list:
[ 5.515568] #0: HDA Intel at 0xe2420000 irq 22

Specs:
# abit AudioMAX# HD 7.1 CH
# Supports Jack Sensing and S/PDIF In/Out
# Dolby® Master Studio Certificated http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?pMODEL_NAME=AW9D-MAX&fMTYPE=LGA775&pPRODINFO=Specifications&fSEARCHTEXT=AW9D-MAX

Not too specific, however:
http://www.anandtech.com/mb/showdoc.aspx?i=2829

Reveals the correct model:
-> Realtek ALC882M HD-Audio 8-channel CODEC - Dolby Master Studio Where the kernel believes it is an ALC883.

Would it be possible to probe properly/and get the correct model number in there for this audio chipset?

lspci:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

lspci -vvvx:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: ABIT Computer Corp. Device 107a
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 4 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fdff8000 (64-bit, non-prefetchable) [size=16K]
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: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
00: 86 80 d8 27 06 00 10 00 01 00 03 04 01 00 00 00
10: 04 80 ff fd 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 7b 14 7a 10
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00

Fixed alsa e-mail in cc list.

Justin.