oneplus-enchilada: Broken UCM profile on pulseaudio 17
Describe your issue
What's the expected behaviour?
- Two UCM profiles are available: HiFi and phone call
- All audio sources and sinks are available (speaker, earpiece, bottom mic, top mic)
What's the current behaviour?
No Input or Output devices are shown in Settings/Sound
In some cases we get:
- Only phone call UCM profile is available
- Only earpiece sink and bottom microphone source are available
How to reproduce your issue?
Run pmOS edge on oneplus-enchilada
What device are you using?
oneplus-enchilada
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v24.06
-
v23.12
(supported until 2024-07-16) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2024-03-25
Additional information
logread
shows the following error:
[Jun 13 18:13:16] user pulseaudio[9308]: [pulseaudio] pid.c: Stale PID file, overwriting.
[Jun 13 18:13:23] user pulseaudio[9308]: [pulseaudio] alsa-ucm.c: Assertion 'dev == data->device' failed at ../src/modules/alsa/alsa-ucm.c:1562, function pa_alsa_ucm_set_port(). Aborting.
[Jun 13 18:13:28] user pulseaudio[9305]: [pulseaudio] main.c: Daemon startup failed.
This issue happened together with #2883 (closed) after switch to upstream PulseAudio (!5163 (merged)), but while the file conflict described in the other issue is solved, the broken UCM profile remains.
This issue seems related to some change in how UCM profiles are handled in PulseAudio v17 (pmOS fork was v16.1), see PulseAudio 17 changelog
Edited by Administrator