[Jackaudio] hang upon suspend/resume with USB microphone

Marko Schuetz-Schmuck MarkoSchuetz at web.de
Fri Apr 9 19:34:41 CEST 2021


I'm using a Blue Snowball that I activate with a script

HARDWARE_ADDRESS=`arecord -l | grep "Blue Snowball" | sed -e "s|card \([[:digit:]]\).*Blue Snowball.*device \([[:digit:]]\).*|\1,\2|"`
case $1 in
        alsa_in -d hw:$HARDWARE_ADDRESS -c 1 -p 512 >/dev/null &
        sleep 2
        jack_connect "alsa_in:capture_1" "PulseAudio JACK Source:front-left"
        jack_connect "alsa_in:capture_1" "PulseAudio JACK Source:front-right"
        jack_connect "alsa_in:capture_1" "system:playback_1"
        jack_connect "alsa_in:capture_1" "system:playback_2"
        pkill -f "alsa_in -d hw:$HARDWARE_ADDRESS" || true

When I forget to have the script kill alsa_in and I suspend the computer
it hangs upon resume. This is using Manjaro/KDE. WHat would be the
recommended way to fix this?

Thanks in advance.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: not available
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20210409/3274aa23/attachment.sig>

More information about the JackAudio mailing list