Ubuntu Studio 24.04
KDE Plasma
Pipewire-pulse (standard Ubuntu studio 24.04 installation)
When I wake from suspend, and then login, sometimes the audio device is not found/available for system use, which I believe is managed by pipewire-pulse. The speaker icon in the taskbar is greyed out.
It’s a USB audio interface. When I turn the audio interface off and on, it is still not found.
When I restart pipewire I get access to the audio device:
systemctl --user restart pipewire]
I have set up a workaround I found online:
Created a script:
/usr/lib/systemd/system-sleep/pipewire-restart.sh
With these lines:
case "$1" in
resume)
systemctl --user restart pipewire pipewire-pulse wireplumber
systemctl --user daemon-reload
;;
esac
That seems to take care of the issue for now.