I've been searching for this issue for days now and tried various solutions suggested, without any success.
Basically, I have a laptop with built-in audio (the output goes either to the headphone jack or to the built-in speaker) and HDMI. I'm running Debian 7.5 with KDE.
Previously, I was running ALSA only and I was able to configure Skype to ring on the HDMI, but use the headphones for the calls themselves. I'd like to achieve something similar using Pulse.
I'm not sure if Skype still separates ringing and call audio when it sends them to PulseAudio, but as the Linux version of Skype can run arbitrary scripts on events, I would be happy if I could use e.g.
aplay to play something on the HDMI port. However, whatever I do, I always see (and can use) a single output device only.
**** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0
default Playback/recording through the PulseAudio sound server sysdefault:CARD=PCH HDA Intel PCH, ALC269VB Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog Front speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output
When I try to use the hdmi device directly, I get the following error:
$ aplay -D hdmi alert.wav Playing WAVE 'alert.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono aplay: set_params:1087: Channels count non available
pavucontrol, under the Configuration tab, I see a
Profile drop-down with the following options:
Analog Stereo Duplex Analog Stereo Output Analog Stereo (HDMI) Output + Analog Stereo Input Analog Stereo (HDMI) Output Analog Stereo Input Off
As far as I can tell, all of these work as (probably) expected: the ones that say HDMI will direct audio output to the HDMI port; the others to the built-in audio card. No matter which one I select, I always see a single output device only under the Output Devices tab.
I've tried adding either the built-in or the HDMI device to
load-module module-alsa-sink device=hw:0,0 and
load-module module-alsa-sink device=hw:0,3 - these either seemed to have no effect, or made pulseaudio not display any profiles at all.