Last week an update arrived in PureOS with improvements for #Librem5 call audio. You should be more legible to your interlocutors during calls; also, the phone now automatically switches to external wired microphone once connected. The whole audio path went through a big overhaul, allowing for hardware volume control with zero-cross and reducing unnecessary amplification that could cause distortions.
Haven't seen people complaining about the changes so far - that's a good sign :)
@dos is it submitted upstream yet? I'd like to use it with mobian. Right now I'm using the patch that was merged upstream.
@praveen It's https://source.puri.sm/Librem5/librem5-base/-/tree/pureos/byzantium/default/audio/ucm2/simple-card
I'm going to send it upstream soon. If you use the one that's been merged recently you're may have issues when deploying the updated one (needing a manual reset of ALSA controls state)
@praveen Removing /var/lib/alsa/asound.state is not enough, it's going to be recreated on shutdown and applied back on next boot. You need to mask the entire service to get rid of it.
@dos anyway the actual problem seems to be a mistake when I was refreshing the patch. After fixing that and reinstalling, I can see the phosh drop down automatically switching when connecting and disconnecting the headphones. So thanks for your work!
@dos After updating from the recently accepted patch to your changes, I can't get microphone to work. I tried removing /var/lib/alsa/asound.state but still no mic (in control center -> sound, I can only see internal microphone and that is not showing any activity and sound recorder is not working either). Any other thing I can try?