LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian 9 doesn't change automatically audio device (https://www.linuxquestions.org/questions/debian-26/debian-9-doesnt-change-automatically-audio-device-4175672343/)

vra 04-01-2020 05:37 AM

Debian 9 doesn't change automatically audio device
 
Hi all, how are you?. I have debian 9 and I've noted since ever that it doesn't change automatically the audio device from HDMI to internal speakers when I plug/unplug the HDMI cable then I need to do it manually.

How can this problem be solved?

Thanks in advance for the help.

ferrari 04-01-2020 11:06 PM

Which version of PulseAudio is in use here?
Code:

pactl --version
or
Code:

pulseaudio --version
There was a long-standing bug describing this behaviour ie auto-switching works on HDMI connect, but not on disconnect. Apparently resolved in PulseAudio 12.99.1.


Some additional thoughts...

1. As per this comment I wonder whether explicitly setting the default sink to the internal speakers would help.

2. Just in case this is helpful as a possible workaround...
https://wiki.archlinux.org/index.php..._audio_to_HDMI
I'm sure this script could be adapted to work for the case when disconnecting HDMI.

vra 04-02-2020 06:17 AM

Quote:

Originally Posted by ferrari (Post 6106862)
Which version of PulseAudio is in use here?
Code:

pactl --version
or
Code:

pulseaudio --version
There was a long-standing bug describing this behaviour ie auto-switching works on HDMI connect, but not on disconnect. Apparently resolved in PulseAudio 12.99.1.


Some additional thoughts...

1. As per this comment I wonder whether explicitly setting the default sink to the internal speakers would help.

2. Just in case this is helpful as a possible workaround...
https://wiki.archlinux.org/index.php..._audio_to_HDMI
I'm sure this script could be adapted to work for the case when disconnecting HDMI.

Hi, the results on findind the version of pulse audio gave me a version 10.0, i'll update it and see if that works, I also gonna read those links that you passed.


All times are GMT -5. The time now is 04:23 PM.