I can't get audio out from HDMI for my HTPC. Using Ubuntu 14.04.1 LTS - KODIbuntu on Lenovo Ideacentre Q150 hardware with NVIDIA ION graphics. The problem appears to be that the PC doesn't recognize there is a monitor present. The NVIDIA HDMI audio device is recognized by both Ubuntu and ALSA. Most of the troubleshooting directions on the internet is very outdated and doesn't help.
administrator@MediaCenter:~$ cat /proc/asound/card1/eld#*
monitor_present 0
eld_valid 0
administrator@MediaCenter:~$ cat /proc/asound/NVidia/eld#*
monitor_present 0
eld_valid 0
I know the audio cable and TV work fine when I plug in a Roku device. It is not muted in AlsaMixer. The output from
uname -r; cat /proc/asound/version
play -l
aplay -L