[alsa-devel] HDMI out with Zepto Nox A14, help for a patch
Takashi Iwai
tiwai at suse.de
Fri Jul 30 14:34:16 CEST 2010
At Thu, 29 Jul 2010 13:27:02 +0200,
Damien Thébault wrote:
>
> Hello,
>
> My laptop is a Zepto Nox A14, with an ALC 262 audio chip.
> HDMI is connected through an NVIDIA GeForce 9600 graphic card.
>
> After some investigation, it appears that to output HDMI audio, I have
> to use the sound card which has a digital out for HDMI connected to
> the graphic card (there is no nvhdmi thing).
> I noticed with hda_analyser that there are two digital audio out
> nodes, the first one is the default ALC 262 one (S/PDIF). With the
> default configuration, when I enable what's called "HDMI" it's S/PDIF
> that is enabled (and I can see the red light on the mini-TOSLINK jack
> when it's enabled).
> So I was thinking that the second digital out was for the real HDMI.
>
> I went into patch_realtek.c and used the id of the second digital out
> (0x10) instead of ALC_262_DIGOUT_NID (0x06) in
> alc262_parse_auto_config.
> That allowed me to have a alsa device hw:0,3 connected to the digital
> out 0x10 instead of having it on 0x06.
> Then I had to enable the linked pin too, because otherwise I didn't
> have any sound. The pin connected to the digital out 0x10 is 0x11 (the
> one connected to 0x06 is 0x1e).
>
> So in the end, I'm able to have HDMI sound! Now here are my questions:
>
> - how can I add this with SND_PCI_QUIRK?
> I think that I have to find the IDs of my setup (PCI ID?) and then
> create a preset. How can I find this ID on my system?
> There is a dig_out_nid field in the preset so I would use 0x10 instead
> of ALC262_DIGOUT_NID (0x06).
> I don't know how to change the pin from 0x1e to 0x11, is it automatic?
Could you try the latest alsa-driver-snapshot below?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
It'll make both digital outputs available, at least.
It's no best solution, but a workable one.
thanks,
Takashi
More information about the Alsa-devel
mailing list