PINE64
Sound defaults to Headset - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Sound defaults to Headset (/showthread.php?tid=11861)

Pages: 1 2


Sound defaults to Headset - User 18618 - 10-18-2020

The fix is listed in this reply.



Is there any way to prevent the Sound Output and Input resetting to using the Headset?

In earlier builds, the Sound would default to the Internal speaker and microphone, and route audio through the earpiece when making a call.

After an indeterminate upgrade, Output and Input persistently reset to the Headset - despite being changed in the Sound (Settings) menu, or pavucontrol.


RE: Sound defaults to Headset - ThrillGates - 10-18-2020

Check out this discussion about checking and setting default devices in Pulseaudio.

Related question: were your headphones plugged in while this upgrade took place?


RE: Sound defaults to Headset - User 18618 - 10-18-2020

@ThrillGates Thanks.

I'm using a Braveheart edition; I've only used headphones a couple of times for testing purposes, removing the jack immediately afterwards. So, probably not.


RE: Sound defaults to Headset - natasha - 10-21-2020

(10-18-2020, 01:00 PM)jed Wrote: @ThrillGates Thanks.

I'm using a Braveheart edition; I've only used headphones a couple of times for testing purposes, removing the jack immediately afterwards. So, probably not.
I have the CE UBports edition. I never plug headphones and also it is always set at the headset. Very annoying because even if you changes, it goes back to headset. So no way to have a conversation the mic and audio are set to headphones.

@jed have you fixed? does @ThrillGates link works? I will try later.


RE: Sound defaults to Headset - User 18618 - 10-21-2020

Thanks for the bump @natasha , I've been putting this off... PulseAudio is the bane of GNU/Linux.

The Internal and Headset ports are available via a single sink and source. The Headset has priority, you can evaluate this using pactl:

Code:
pactl list sources
pactl list sinks



Installing the 5.8 kernel solves this issue (comment).

Code:
sudo apt update && sudo apt install linux-image-5.8-sunxi64
sudo reboot

Headset now correctly manifests as 'Headset (Unplugged)'. The Internal speaker and Internal microphone are now the default.

Priorities are unchanged, meaning the active source and sink ports can change when a Headset is plugged in.


RE: Sound defaults to Headset - HLing - 10-21-2020

(10-21-2020, 03:44 PM)jed Wrote: Thanks for the bump @natasha , I've been putting this off... PulseAudio is the bane of GNU/Linux.

The Internal and Headset ports are available via a single sink and source. The Headset has priority, you can evaluate this using pactl:

Code:
pactl list sources
pactl list sinks



Installing the 5.8 kernel solves this issue (comment).

Code:
sudo apt update && sudo apt install linux-image-5.8-sunxi64
sudo reboot

Headset now correctly manifests as 'Headset (Unplugged)'. The Internal speaker and Internal microphone are now the default.

Priorities are unchanged, meaning the active source and sink ports can change when a Headset is plugged in.
I was realizing that the headset problem was solved a few updates ago, but couldn't find the exact update that fixed it. 
now 'uname -a' gets me: Linux mobian 5.8-sunxi64 #6 SMP Sun Oct 18 12:56:04 UTC 2020 aarch64 GNU/Linux

for a while in the Setting - Output Device, the Test doesn't say "Front Right", and "Front Left" any more. Instead, it would have one of the 4 sounds for both channel. So then  just now, the 2nd time I hit test, and the woman's voice is back saying Front Right, Front Left.  The default is on the Internal mic.  Incoming calls have been working fine. No complaint about voice quality.


RE: Sound defaults to Headset - User 18618 - 10-21-2020

I'm glad to read the newer kernel is working for you too @HLing Smile


RE: Sound defaults to Headset - natasha - 10-21-2020

(10-21-2020, 03:44 PM)jed Wrote: Thanks for the bump @natasha , I've been putting this off... PulseAudio is the bane of GNU/Linux.

The Internal and Headset ports are available via a single sink and source. The Headset has priority, you can evaluate this using pactl:

Code:
pactl list sources
pactl list sinks



Installing the 5.8 kernel solves this issue (comment).

Code:
sudo apt update && sudo apt install linux-image-5.8-sunxi64
sudo reboot

Headset now correctly manifests as 'Headset (Unplugged)'. The Internal speaker and Internal microphone are now the default.

Priorities are unchanged, meaning the active source and sink ports can change when a Headset is plugged in.
yes, it fixed it!
thanks!


RE: Sound defaults to Headset - HLing - 10-21-2020

(10-21-2020, 05:18 PM)jed Wrote: I'm glad to read the newer kernel is working for you too @HLing Smile

@"jed" , Thanks for clearing up the mystery.  I really should keep a  Mobian calendar so I know what happened when, and how something got fixed...


RE: Sound defaults to Headset - User 18618 - 10-21-2020

Credit to Parthiv Seetharaman who opened the issue and closed it with the above fix.

I'll be keeping a closer eye on the Mobian issue tracker from now on! Blush