LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-01-2020, 05:37 AM   #1
vra
LQ Newbie
 
Registered: Nov 2019
Posts: 10

Rep: Reputation: Disabled
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.
 
Old 04-01-2020, 11:06 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,782

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
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.

Last edited by ferrari; 04-01-2020 at 11:08 PM.
 
Old 04-02-2020, 06:17 AM   #3
vra
LQ Newbie
 
Registered: Nov 2019
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
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.
 
  


Reply

Tags
hdmi, speaker


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fresh install of Debian 9 recognizes audio interface as a sound input device, however will not capture/record/pick-up audio froj Linux - Newbie 4 04-10-2018 09:41 PM
Fresh install of Debian 9 recognizes audio interface as a sound input device, however will not capture/record/pick-up audio froj Linux - Newbie 1 04-10-2018 07:49 AM
Automatically change audio output?? kmvtxx Linux - Newbie 9 06-12-2017 01:42 PM
can no longer change audio settings, missing gstreamer plugin or no audio device dsollen Linux - General 3 11-16-2009 08:40 AM
change default audio device (debian woody) zhynn Debian 3 07-04-2003 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration