[CentOS] No sound over HDMI using nvidia graphics card

Ned Slider ned at unixmail.co.uk
Wed Jan 18 16:36:39 UTC 2012


On 18/01/12 15:21, Lars Hecking wrote:
>
>   Apologies for hijacking this thread, but I have posted here before and
>   received not a single response. This is on CentOS5.
>
>    http://lists.centos.org/pipermail/centos/2011-November/119707.html
>
>   Other than the OP, I don't want HDMI sound, but the builtin sound device is
>   not working. In a nutshell, a machine with this sound configuration
>
> # lspci |grep -i aud
> 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
> 02:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1)
> #
>
>   does not play any sound, whereas this otherwise identical one works
>
> 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
>
>   In the non-working case, /etc/modprobe.conf has
>
> alias snd-card-1 snd-hda-intel
> options snd-card-1 index=1
> options snd-hda-intel index=1
> remove snd-hda-intel { /usr/sbin/alsactl store 1>/dev/null 2>&1 || : ; }; /sbin
> /modprobe -r --ignore-remove snd-hda-intel
>


Try changing the above to:

alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; 
}; /sbin/modprobe -r --ignore-remove snd-hda-intel

Save and reboot.







More information about the CentOS mailing list