<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><br>30 mars 2019 kl. 04:45 skrev <a href="mailto:liebrecht@grossmann-venter.com">liebrecht@grossmann-venter.com</a>:<br><br></div><blockquote type="cite"><div dir="ltr"><span>So Jack routes from Alsa and Alsa handles the USB 1818VSl directly.</span><br><span></span><br><span>Problem:</span><br><span>If I plug out the 1818vsl (my main sound card) usb plug, then jack disconnects although it is not directly handling the usb device but alsa is.</span><br></div></blockquote><div><br></div><div>Well, if the sound card disappears, Jack has nothing to keep connections to, so that is not unexpected. </div><div><br></div><br><blockquote type="cite"><div dir="ltr"><span>If I reconnect jack does not reconnect, so I have to go then through my startup script and restart jack after which it all works again.</span><br><span></span><br><span>Question</span><br><span>Is there a daemon available that monitors the usb device 1818vsl in my case and then reconnects if the device is unplugged and replugged ?</span><br><span></span><br></div></blockquote><div><br></div><div>There is the udev daemon that could be useful, perhaps?</div><div>Some inspiration could be found here, maybe: <a href="https://alsa.opensrc.org/Udev">https://alsa.opensrc.org/Udev</a></div><br><blockquote type="cite"><div dir="ltr"><span>If not, I will have to write such daemon for my own purposes and it is no sweat doing it, but just wondered if I am maybe missing  that someone already done it as it is a blatantly obvious missing piece. I ask as I dont want to reinvent the wheel if it already exists.</span><br></div></blockquote><div><br></div><div>I understand you avoid qjackctl, otherwise you could perhaps use it to save your patching and recall it when the card is reconnected. Maybe using udev and jack_plumbing you could achieve something similar?</div><div><br></div><div>I am by no means a jack expert so please don’t take my word for this being a good solution. Just some ideas off the top of my head. </div><div><br></div><div>Regards,</div><div>Anders</div><br><blockquote type="cite"><div dir="ltr"><span></span><br><span></span><br><span></span><br><span></span><br><span>_______________________________________________</span><br><span>Jack-Devel mailing list</span><br><span><a href="mailto:Jack-Devel@lists.jackaudio.org">Jack-Devel@lists.jackaudio.org</a></span><br><span><a href="http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org">http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org</a></span><br></div></blockquote></body></html>