This happens also with “aplay -D sysdefault” on host, but the same command works fine on Armbian. The device is a Pinebook Pro. I’ve been trying to fix this for weeks now.
Here’s what I know:
- the issue is with the host OS as the audio from the same chroot can be muted on Armbian (XFCE) but not on Manjaro (tried KDE Plasma and XFCE)
- tried both “sudo chroot” and “schroot -c” with same results
- Armbian XFCE uses “xfce4-pulseaudio-plugin” to handle volume control (Fn keys) while Manjaro KDE Plasma uses “plasma-pa”
- Armbian lists more devices with “aplay -L” because of “libasound2-plugins” package (“alsa-plugins” on Manjaro)
Any help is much appreciated!
So did you install alsa-plugins and power cycle to see if that helped?
I don’t know what magic Armbian invokes for this if any. And to be honest, I can’t see much of a use-case outside your niche.
Yes and no. I installed alsa-plugins (+shutdown) and no, it didn’t help. I would like to fix this, but it’s hard to debug since it’s a problem with the host OS.
Removing the following lines
cset "name='Playback Polarity' 'R Invert'"
cset "name='Speaker Switch' on"
cset "name='Speaker Switch' off"
PlaybackMixerElem "Headphone Mixer"
in /usr/share/alsa/ucm2/Rockchip/es8316/HiFi.conf and restarting pipewire using “
systemctl --user restart pipewire” enables Fn+F4 on Pinebook Pro to work, but it breaks volume and
Upstream PR: https://github.com/alsa-project/alsa-ucm-conf/pull/112
How to reproduce:
sudo pacman -S arch-install-scripts schroot
sudo pacstrap ~/chroot alsa-utils
echo -e "[manjaro]\ntype=directory\ndirectory=$HOME/chroot\nusers=$USER\nprofile=desktop\npreserve-environment=true"|sudo tee /etc/schroot/chroot.d/manjaro.conf
sed -i /^networks$/s/^/#/ /etc/schroot/desktop/nssdatabases
curl -LO https://archive.org/download/heart-of-darkness-1998-eng.w/HOD_GB.iso/hodsuccess.wav
schroot -c manjaro aplay hodsuccess.wav # press Fn+F4 while the audio is playing
sudo pacman -Rs arch-install-scripts schroot
sudo rm -r ~/chroot /etc/schroot/chroot.d/manjaro.conf hodsuccess.wav