Gaining sound through HDMI

I use my HD tv as part of my dual-monitor set-up, and I used to be able to let the sound come through my TV’s speakers, as well as through the headphone socket for the laptop, giving me a nice somewhat surround sound system for my room (via Windoze). I’m not able to do this through Ubuntu, so some help or a step in the right path would be nice.

Outputs from

sudo lshw -C multimedia
 *-multimedia            
       description: Audio device
       product: 82801H (ICH8 Family) HD Audio Controller
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:00:1b.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=HDA Intel latency=0
       resources: irq:48 memory:fc300000-fc303fff


sudo lshw -C display
*-display               
       description: VGA compatible controller
       product: G84 [GeForce 9500M GS]
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:c6000000-c6ffffff memory:d0000000-dfffffff memory:c4000000-c5ffffff ioport:2000(size=128)


asound -l
No command 'asound' found. 

Can you post the output from:

aplay -l

Try this…

sudo apt-get install gnome-alsamixer

Then start GNOME ALSA Mixer, and put a tick in IEC958

Does audio work over HDMI now ?

There was already a tick in IEC958. and also in IEC958 Default PCM

First of all I would have expected an audio playback device by nVidia to have been listed (but I could be wrong).

Have we ever edited your -
/etc/modprobe.d/alsa-base.conf
file to sort out an audio problem ?

Can you post the contents of that file:

gedit /etc/modprobe.d/alsa-base.conf

Which graphics drivers are you using, and how did you install them ?

gedit /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

I’m using the nVidia proprietary drivers, current version. I installed them via the “Additional Drivers”.

What was you laptop make model again ?

Acer Aspire 6920 model number LF1

Is there nothing in the nVidia config application to do with HDMI audio that’s disabled/muted ?

Try adding a new line that reads -

options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2

to the bottom of /etc/modprobe.d/alsa-base.conf

gksudo gedit /etc/modprobe.d/alsa-base.conf

Then reboot and test HDMI audio

Nope doesn’t work, but it also changed my theme to Ubuntu’s root one. ??? :o How weird.

If you run:

alsamixer

What’s listed when you hit F6

Also, still in alsamixer, does S/PDIF have 00 or MM above it ?

What else is listed across the bottom of alsamixer.

Listed in alsamixer is:


-   (default)
0  HDA Intel
1  USB Device 0x46d:0x9a4
    enter device name...

S/PDIF has 00 in it. As does S/PDIF De.

Across the bottom of the alsamixer is:


http://farm7.static.flickr.com/6047/6234583108_3e6920f3b5_z.jpg

Click image for bigger photo.

Try adding yourself to the audio group.

Nope, doesn’t make a difference. :frowning: