No audio devices on PinePhone non-Pro with latest edge
Describe your issue
I just noticed that on edge audio is not working at all, no audio devices are detected (both input and output), and pressing the volume buttons no longer do anything in Phosh.
The install I first noticed it on was an install on eMMC that was originally v23.12 built using pmbootstrap with FDE, then upgraded to v24.06, and then to edge, but I also tried installing the latest edge image as of this writing (20240627-1024-postmarketOS-edge-phosh-22.3-pine64-pinephone.img.xz) on an SD card and was able to reproduce the issue there too, even after running sudo apk upgrade -a
.
What's the expected behaviour?
Audio devices are present and working
What's the current behaviour?
No audio devices are detected at all
How to reproduce your issue?
Upgrade an existing 24.06 install to edge, or install the 20240627-1024-postmarketOS-edge-phosh-22.3-pine64-pinephone.img.xz image
What device are you using?
pine64-pinephone 1.2b
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v23.12
-
v23.06
(supported until 2024-01-18) -
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)
20240627-1024
Additional information
During boot, eudev apparently is unable to load the snd-soc-core kernel module (despite the lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz
file it's talking about being present), among others:
[Jan 01 00:14:40] daemon kernel: udevd[1142]: starting eudev-3.2.14
[Jan 01 00:14:40] daemon kernel: udevd[1148]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1147]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1147]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1375]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/drivers/i2c/algos/i2c-algo-bit.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1755]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video1': No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1756]: failed to execute '/usr/libexec/elogind/elogind-uaccess-command' '/usr/libexec/elogind/elogind-uaccess-command /dev/video1 ': No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1757]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video0': No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1758]: failed to execute '/usr/libexec/elogind/elogind-uaccess-command' '/usr/libexec/elogind/elogind-uaccess-command /dev/video0 ': No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1759]: failed to execute '/usr/libexec/elogind/elogind-uaccess-command' '/usr/libexec/elogind/elogind-uaccess-command /dev/media0 ': No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1754]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1744]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1431]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1431]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1754]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/drivers/iio/imu/inv_mpu6050/inv-mpu6050.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1143]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/drivers/iio/common/st_sensors/st_sensors_i2c.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1760]: failed to execute '/usr/libexec/elogind/elogind-uaccess-command' '/usr/libexec/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1431]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/sunxi/sun8i-adda-pr-regmap.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1376]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/drivers/bluetooth/btrtl.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1751]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/generic/snd-soc-simple-card-utils.ko.xz error=No such file or directory
[Jan 01 00:14:40] daemon kernel: udevd[1431]: ctx=0xffff99d91880 path=/lib/modules/6.9.0/kernel/sound/soc/snd-soc-core.ko.xz error=No such file or directory
Later on, PulseAudio tries to start and fails repeatedly with this error: alsa-ucm.c: Assertion 'dev == data->device' failed at ../src/modules/alsa/alsa-ucm.c:1562, function pa_alsa_ucm_set_port(). Aborting.
Downgrading the edge eMMC install back to v24.06 using postmarketos-release-upgrade
works around the problem.