Page 1 of 1

[SOLVED] PulseAudio speaker headphones problem

Posted: 09 Aug 2021 22:17
by bsd4me
What file do I need to edit so that pulseaudio will automagically switch between speakers and headphones?
Right now, I have to launch the volume control and manually switch between them.
However all other systems on this laptop make the switch automagically.

I've tried a google search, but for whatever reason, didn't come up with correct answer :(

TIA

Re: PulseAudio speaker headphones problem

Posted: 10 Aug 2021 07:53
by djemos
Try this. Delete all settings in /etc/pulse/ Then reinstall the pulseaudio packages and be sure pulseaudio to not start at boot time. It will start when goes to X.

Code: Select all

sudo rm -rf /etc/pulse/*
sudo slapt-get -i --reinstall pamixer pavucontrol pasystray pavumeter pcaudiolib pulseaudio
sudo service stop pulseaudio
Now reboot your system. And report if this solves the problem.

Re: [SOLVED] PulseAudio speaker headphones problem

Posted: 10 Aug 2021 18:05
by bsd4me
Solved the problem djemos.
After rebooting into X, I just had to open the volume control and unmute the audio, then all was fine :)
Thank you again very very much

Re: [SOLVED] PulseAudio speaker headphones problem

Posted: 19 Nov 2022 18:02
by bsd4me
After an upgrade some time back (I don't remember when or which one, maybe pulseaudio upgrade), I had the same problem as in original post.
I followed instructions that djemos posted and it solved problem again.

Adding this post in case instructions are needed each time a particular (pulseaudio?) upgrade causes problem as in original post :)