alsa-pcm (USB) device not available sometimes until PW is restarted
Version, Distribution, Desktop Environment: Arch Linux, PipeWire 0.3.24, GNOME 3.38.3 + Wayland
Description of Problem: I have my main USB audio interface (Behringer XR18) connected to my laptop docking station and it's usually very convenient to just disconnect and connect the laptop sometimes. However I noticed that after it's not connected for maybe > 1-2 hours, PipeWire won't automatically activate the XR18 anymore until I restart.
How Reproducible: This problem is quite hard to reproduce because it only seems to start happening after some time. Restarting PipeWire temporarily solves the problem.
Steps to Reproduce:
- disconnect USB audio interface
- do something else for several hours???
- connect the USB interface again
The device is not activated and can't be used e.g. with pipewire-pulse. However it shows up in
aplay -l and the MIDI ports of the interface seem to be usable in PW, but not the audio ports. See output of
pw-dump -N and
journalctl --user -fu pipewire attached. I finally managed to get PW logs with
PIPEWIRE_DEBUG=4 which I think could be more useful for debugging.
Additional Info Eg.
pw-dump > file (As Attachment Please): (see attachments)