Sound output persistently switching to earpiece on boot and odd noises through headphones.
Describe your issue
What's the expected behaviour?
The output audio device is persistent on boot or defaults to headphones if they are plugged in, phone speaker otherwise. In addition, if headphones are plugged in, the audio device switches to headphones and to speakers if the headphones are removed.
What's the current behaviour?
The output audio device is set to the earpiece every time the phone is rebooted and, although it defaults to headphones when they are present, the system regularly and seemingly at random plays what I can only describe as ambient sound from a horror film before suddenly going silent and displaying a 'mute' icon upon opening Settings or playing any sound - this only happens with headphones present and if no other audio is playing. The audio device does switch to headphones when they are plugged in but only if it's set to earpiece at the time of connection, otherwise the audio keeps playing through the speaker and has to be manually changed. When the headphones are unplugged, the sound device is set back to earpiece, although no audio can be heard until the device is switched to speakers and back again - fiddling with the volume does not achieve this and it's not due to Lollypop pausing on unplugging headphones, pressing play again doesn't produce sound until this is performed.
How to reproduce your issue?
Set the phone output to speaker and it will not persist on reboot, plug headphones in and out with each audio device selected. For the ambient horror noise, it only seems to happen if no audio is playing - playing any kind of sound (including adjusting the volume) or opening Settings reliably mutes it and plays the intended audio as normal, though playing music in Lollypop from the horror noise state starts the music in a paused state, muting it temporarily until the play button is pressed or the noise starts again.
What device are you using?
samsung-a5
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
-
v21.12
(supported until 2022-07-12) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway)
Other
-
No environment ("none" in pmbootstrap) -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
fbkeyboard -
i3wm -
Sxmo (Xorg/Dwm) -
console UI -
framebufferphone
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device