How to further debug issues with HDMI codec in HDA cards?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys!

I have an issue that's being pretty difficult to diagnose, since most
of the howtos are mostly centered when the HDA sound card or specific
codec is not detected correctly, but in my case, they are successfully
initialized, and I can send audio, but nothing happens, not even
errors, but no sound either, even after fiddling with every mixer
setting too.

I enabled the driver debug to be verbose
cat /sys/module/snd/parameters/debug
2

and if I try to use the HDMI codec in the speaker test utility:

speaker-test -c 2 -r 48000 -D plughw:0,3

the following is shown in the dmesg log:
36355.107191] ALSA sound/pci/hda/hda_intel.c:1894 azx_pcm_prepare:
bufsize=0x10000, format=0x11
[36362.086043] ALSA sound/pci/hda/hda_codec.c:1473
hda_codec_cleanup_stream: NID=0x4

but when I use the analog codec (Sigmatel, works flawlessly):
speaker-test -c 2 -r 48000 -D plughw:0,0

[36375.340599] ALSA sound/pci/hda/hda_intel.c:1894 azx_pcm_prepare:
bufsize=0x10000, format=0x11
[36375.340615] ALSA sound/pci/hda/hda_codec.c:1410
hda_codec_setup_stream: NID=0x1e, stream=0x8, channel=0, format=0x11
[36375.353409] ALSA sound/pci/hda/hda_codec.c:1410
hda_codec_setup_stream: NID=0x1f, stream=0x8, channel=0, format=0x11
[36375.366758] ALSA sound/pci/hda/hda_codec.c:1410
hda_codec_setup_stream: NID=0x2, stream=0x8, channel=0, format=0x11
[36375.380057] ALSA sound/pci/hda/hda_codec.c:1410
hda_codec_setup_stream: NID=0x5, stream=0x8, channel=0, format=0x11
[36375.393383] ALSA sound/pci/hda/hda_codec.c:1410
hda_codec_setup_stream: NID=0x4, stream=0x8, channel=0, format=0x11
[36375.406719] ALSA sound/pci/hda/hda_codec.c:1410
hda_codec_setup_stream: NID=0x3, stream=0x8, channel=0, format=0x11
[36381.579249] ALSA sound/pci/hda/hda_codec.c:1473
hda_codec_cleanup_stream: NID=0x2
[36381.579256] ALSA sound/pci/hda/hda_codec.c:1473
hda_codec_cleanup_stream: NID=0x5
[36381.579261] ALSA sound/pci/hda/hda_codec.c:1473
hda_codec_cleanup_stream: NID=0x4
[36381.579265] ALSA sound/pci/hda/hda_codec.c:1473
hda_codec_cleanup_stream: NID=0x3
[36381.579270] ALSA sound/pci/hda/hda_codec.c:1473
hda_codec_cleanup_stream: NID=0x1e
[36381.579274] ALSA sound/pci/hda/hda_codec.c:1473
hda_codec_cleanup_stream: NID=0x1f

Clearly, no hda_codec_setup_stream invocation for the HDMI codec.

I already followed this:
http://www.alsa-project.org/main/index.php/Help_To_Debug_Intel_HDA
and the HDA Analyzer shows the HDMI codec seemingly OK.

Tried to ignore the HDMI device "handshake" with
snd-hda-codec-hdmi.static_hdmi_pcm=1
but no luck either.

My card is a Nvidia MCP77/78 HDMI, and I'm using Alsa driver/lib/util
version 1.0.25.

So I tried to even further see if the NVIDIA-specific codec setup
routines are really being invoked, added my own "printk"s to the
driver, and I see that the patch_nvhdmi_8ch_7x() function from the
driver is indeed being invoked.

Everything looks OK except for the missing hda_codec_setup_stream()
when I try to use the HDMI codec (and the missing sound ;-) .

Any ideas on how can I further debug this?

TIA!
-- 
Tomas J. Sokorai Sch.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux