Bug 14097

Summary: Missing HDMI audio in HDA Intel with Nvidia ID 3 chip
Product: Drivers Reporter: Žygimantas Augilius (jeegiz)
Component: Sound(ALSA)Assignee: Takashi Iwai (tiwai)
Status: RESOLVED CODE_FIX    
Severity: normal CC: tiwai
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.28 Subsystem:
Regression: No Bisected commit-id:
Attachments: 2.6.28 kernel patch for the Nvidia ID 3 HDMI audio support

Description Žygimantas Augilius 2009-08-31 11:33:36 UTC
Created attachment 22926 [details]
2.6.28 kernel patch for the Nvidia ID 3 HDMI audio support

I have HP Pavilion DV4 laptop with Nvidia 9200 video card and Intel HDA sound. There is HDMI port, but audio over HDMI does not work out of the box. 

I'm using Ubuntu 9.04 Jaunty with 2.6.28 kernel. Also i have checked 2.6.30.5 x86_64 kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/. There is still no support for Nvidia ID 3.

alsamixer shows following info:

Card: HDA Intel
Chip: Nvidia ID 3
View: [Playback] Capture  All
Item: Master [dB gain=0.00]

aplay -l output:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

start of output from cat /proc/asound/card0/codec#2:

Codec: Nvidia ID 3
Address: 2
Function Id: 0x1
Vendor Id: 0x10de0003
Subsystem Id: 0x10de0101
Revision Id: 0x100000
No Modem Function Group found

After i apply attached patch to the kernel 2.6.28 source, i can see HDMI device in the "aplay -l" output and i can use audio over HDMI. 

Please include support for "Nvidia ID 3" controller in the linux kernel.
Comment 1 Takashi Iwai 2009-09-01 06:56:15 UTC
Fixed in sound git tree now.  Thanks for reporting.