I have just bought a new computer to use as an HTPC with Ubuntu 12.04 64-bit, but I can't get HDMI audio to work. I am using the integrated graphics in an Intel i3-2120 CPU and the motherboard is an ASUS P8H61-M LX2. The TV is connected to the motherboard's DVI-D port via an HDMI-to-DVI cable. Video works perfectly, but in ALSA and PulseAudio I don't see any option to select HDMI audio output. e.g.:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: VT1708S HP [VT1708S HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
Other people that use integrated graphics and HDMI audio seem to have one or more "INTEL HDMI" devices listed, but I don't, and none of the above produce sound over the HDMI cable. I've tried playing with alsamixer, the sound settings, pavucontrol, HDA Analyzer, and the BIOS, but so far nothing has worked. Help!
My full alsa-info.sh output is at http://www.alsa-project.org/db/?f=96647290482cf72674c26fe9088b785116325737