On 02/21/11 17:46, Christopher K. wrote: > My second question is about sound over hdmi with an Nvidia GTX460 > (NVC4 /GF104 family): > > aplay -L gives > hdmi:CARD=NVidia,DEV=0 -> pcm3p/ > hdmi:CARD=NVidia,DEV=1 -> pcm7p/ > hdmi:CARD=NVidia,DEV=2 -> pcm8p/ > hdmi:CARD=NVidia,DEV=3 -> pcm9p/ > > but only pcm7p actually does anything. > > So currently I use > load-module module-alsa-sink device=hw:1,7 > to add a sink, but PA automatically adds pcm3p as "GF104 High > Definition Audio Controller Digital Stereo (HDMI)", > so I effectively have two nvidia-hdmi sinks, one of which does > absolutely nothing. > > Is there any way to disable the automatically added sink OR define > which device to chose as default? What you want to do is add probe_mask to your snd-hda-intel module options. If you google nvidia hdmi probe_mask you can find an explanation. For example I have in /etc/modprobe.d/snd_hda_intel.conf: options snd-hda-intel probe_mask=0x102