hda-intel nvhdmi codec not working ... wait no, it is working!

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

 



Trying to get hdmi audio out on an Acer Aspire X1200.

With 1.0.18a, I only have one codec available for hda-intel nvidia
8200 board - the realtek one.  If I compile with only the nvhdmi one:

ALSA_CARDS="hda-intel"
ALSA_CARD_OPTIONS="hda-codec-nvhdmi"
ALSA_DEBUG="y"

then I get no sound cards and see the following in dmesg upon loading
the snd-hda-intel driver.  I've heard reports that people have this
working, but I've yet to see an aplay -[lL] and a proc/asound tree
from one of these folks.

[  117.392433] HDA Intel 0000:00:07.0: PCI INT A -> Link[AAZA] -> GSI
21 (level, low) -> IRQ 21
[  117.392486] HDA Intel 0000:00:07.0: setting latency timer to 64
[  117.392493] ALSA
/usr/src/modules/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
chipset global capabilities = 0x4401
[  117.428527] ALSA
/usr/src/modules/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
codec_mask = 0x9
[  117.784032] hda-codec: No codec parser is available
[  117.784064] ALSA
/usr/src/modules/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1258:
hda-intel: no codecs initialized
[  117.784173] HDA Intel 0000:00:07.0: PCI INT A disabled

alsa-info.sh in this state is here:

http://www.alsa-project.org/db/?f=0453d13aa81ce9b444481276b4cc1410f0fa364d

... as I was fiddling, turns out that this is likely due to the the
"probe_mask" option I had in my modprobe.d/alsa-base config file,
which was preventing the nvhdmi codec from loading.  After I removed
that, I now have hdmi audio working!

To build the package in Ubuntu I had to enable the nvhdmi codec with
the ALSA_CARD_OPTIONS above in /etc/alsa/alsa-source.conf.  Then
ensure I had no options in /etc/modprobe.d/alsa-base.  HDMI shows up
as the 0th card, 3rd device:

$ sudo aplay -l
[sudo] password for dvhart:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

dvhart@katara:~$ cat /proc/asound/devices
  0: [ 0]   : control
  1:        : sequencer
 19: [ 0- 3]: digital audio playback
 33:        : timer


$ ls /proc/asound/card0/
codec#3  id  pcm3p

dvhart@katara:~$ cat /proc/asound/card0/codec#3
Codec: Generic 10de NVIDIA MCP78 HDMI
Address: 3
Vendor Id: 0x10de0002
Subsystem Id: 0x10de0101
Revision Id: 0x100000
...

alsa-info.sh for the working system is available here:

http://www.alsa-project.org/db/?f=4b0eeffd1d87e1e5cfae2c8ad098836a6d187858



-- 
Darren Hart

------------------------------------------------------------------------------
_______________________________________________
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