You are not logged in.

#1 2014-12-24 19:07:11

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

HDMI Auto Switch

Hi! I have a HDMI in my laptop, Dell XPS L421X with XFCE. When I connect HDMI to TV I have the video, use ARandR to set the displays, but not sound. I Install pavucontrol (PulseAudio Volume Control) because in SoundMixer have not controls with pulseaudio and not apear the hdmi. With pavcontrol I can select the audio and go to TV.

In pavcontrol I can see in the Configuration Tab, diferent profiles for built-in audio:

Analog Stereo Duplex --Default Analog Stereo Output
Digital Stereo (HDMI) Output + Analog Stereo Input
Digital Stereo (HDMI) Output
Digital Stereo (HDMI) Output  + Analog Stereo Input
Digital Stereo (HDMI) Output (unpluged)
Digital Sourround 5.1 (HDMI) Output + Analog Stereo Input
Digital Sourround 5.1 (HDMI) Output 
Digital Sourround 5.1 (HDMI) Output + Analog Stereo Input
Digital Sourround 5.1 (HDMI) Output (unpluged)
Analog Stereo Input
Off

The first: Analog Stereo Duplex is the default when the sound exit by the laptop.
To set audio with TV I can select: "Digital Stereo (HDMI) Output + Analog Stereo Input" or "Digital Stereo (HDMI) Output"

Is possible to auto switch the audio/video when the hdmi is plug-in and plug-out? ARandR & pavcontrol appear have not this control...

Thanks in advance!

Offline

#2 2014-12-30 18:48:10

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: HDMI Auto Switch

Hi! Is possible to configure this?

Offline

#3 2015-04-22 16:14:45

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: HDMI Auto Switch

Hi.

Did you find solution ? I have same situation, when connecting HDMI have to change sound output bymyself in gnome control center... any ideas how to do that automatic ?

Thanks,
siamer

Offline

#4 2015-05-07 12:53:51

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: HDMI Auto Switch

No. I do not found a solution at this time. sad

Offline

#5 2015-05-07 14:52:02

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: HDMI Auto Switch

Can you enable HDMI video from the command line?

Can you enable HDMI sound from the command line?

I made a script that will toggle HDMI video and sound for the TV. Then, I assigned it to a keyboard command so it's easy to toggle. Let me know if you want to see my script. I have a Radeon HD5450, and I use the open source radeon driver and ALSA.

After you can enable HDMI video and sound from a script, then you can learn how to detect when the cable is plugged in. smile

Last edited by drcouzelis (2015-05-07 14:52:57)

Offline

Board footer

Powered by FluxBB