04-12-2020, 02:32 PM
ALSA USB audio hot plugging and swapping are not what I'd call reliable. Standby mode and wakeup also IME have not been reliably detected by ALSA.
Heres some information about ALSA hot plugging. Note that none of the scripts or procedures mentioned in the HowTo have ever been implemented in moOde. The only thing moOde does explicitly for USB audio is to regularly save the ALSA state when a USB audio device is configured. The "save" occurs during worker.php 3 second event loop, so every 3 secs.
https://alsa.opensrc.org/Hotplugging_USB...es_(Howto)
Heres some information about ALSA hot plugging. Note that none of the scripts or procedures mentioned in the HowTo have ever been implemented in moOde. The only thing moOde does explicitly for USB audio is to regularly save the ALSA state when a USB audio device is configured. The "save" occurs during worker.php 3 second event loop, so every 3 secs.
https://alsa.opensrc.org/Hotplugging_USB...es_(Howto)