https://bugzilla.novell.com/show_bug.cgi?id=282223 Summary: Sound card woking only from headphones on HP DC7700 Product: openSUSE 10.2 Version: Final Platform: i386 OS/Version: openSUSE 10.2 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: leandro.gelasi@tiscali.it QAContact: qa@suse.de I recently get assigned a brand new HP DC7700 PC, from a very big public supply (over 15.000 PCs - bought by CONSIP - Italy). All these PCs will be assigned to Italian public agencies. I installed OpenSuSE 10.2 and all went fine, except for the soundcard that worked only from headphones and have non-functional mixer settings. Details about audio card: from lspci: 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) Subsystem: Hewlett-Packard Company Unknown device 2802 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: 64 bytes Interrupt: pin A routed to IRQ 233 Region 0: Memory at f0420000 (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 Unknown type IRQ 0 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s <64ns, L1 <1us Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported- Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0 Link: Latency L0s <64ns, L1 <1us Link: ASPM Disabled CommClk- ExtSynch- Link: Speed unknown, Width x0 Capabilities: [100] Virtual Channel Capabilities: [130] Unknown (5) The system correctly load snd-hda-intel module, but the module didn't recognize the specific card: (from dmesg) Jun 5 07:57:05 xxxxxxx kernel: hda_codec: Unknown model for ALC262, trying auto-probe from BIOS... Jun 5 07:57:05 xxxxxxx kernel: ALSA sound/pci/hda/hda_codec.c:2117: autoconfig: line_outs=1 (0x16/0x0/0x0/0x 0/0x0) Jun 5 07:57:05 xxxxxxx kernel: ALSA sound/pci/hda/hda_codec.c:2121: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) Jun 5 07:57:05 xxxxxxx kernel: ALSA sound/pci/hda/hda_codec.c:2123: hp=0x15, dig_out=0x0, din_in=0x0 Jun 5 07:57:05 xxxxxxx kernel: ALSA sound/pci/hda/hda_codec.c:2131: inputs: mic=0x18, fmic=0x1a, line=0x19, fline=0x0, cd=0x0, aux=0x0 After some investigation I found that module doesn't know the correct PCI ID of this board (0x2802). I patched SuSE Linux kernel source, adding that PCI ID, and recompiled the kernel. All solved! Now the audio board works perfectly. My patch is applied versus /usr/src/linux/sound/pci/hda/patch_realtek.c (from kernel-source-2.6.18.8-0.3.rpm): ---- patch start here ------ 5779a5780,5781
{ .pci_subvendor = 0x103c, .pci_subdevice = 0x2802, .config = ALC262_HP_BPC }, /* dc7700 */
---- patch ends here ------ I merely copied a similar section made for HP XWxxxx workstation, changing the subdevice ID. I suggest Novell to make an updated kernel package to address this problem, considering that this specific PC will be at the hand of 15.000 Italian public officers. Thanks for your attention. Leandro Gelasi Corte dei conti - Italy leandro.gelasi@corteconti.it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.