<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 19, 2015 at 4:55 PM, Ivica Ico Bukvic <span dir="ltr"><<a href="mailto:ico@vt.edu" target="_blank">ico@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    <br>
    <br>
    <div>On 10/18/2015 10:31 AM, Paul Davis
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Sun, Oct 18, 2015 at 10:23 AM, Len
            Ovens <span dir="ltr"><<a href="mailto:len@ovenwerks.net" target="_blank">len@ovenwerks.net</a>></span>
            wrote:<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
              <br>
              USB hot plug _can_ work with jack:<br>
              <a href="http://gareus.org/blog/jack2dbus" rel="noreferrer" target="_blank">http://gareus.org/blog/jack2dbus</a></blockquote>
            <div><br>
            </div>
            <div>right. if the software notices signals on D-bus that
              the device is going away, then it stops using it in a way
              that causes ALSA to get locked up, putting the process
              into an un-killable state. <br>
            </div>
            <div><br>
            </div>
            <div>it would be nice if ALSA could be fixed to not do this,
              but it would also be nice if key software like JACK would
              pay attention to device state information too.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div></div>
    Since former is not necessarily in our immediate control, any hope
    of latter being implemented by those on this list who are in
    control?<br></div></blockquote><div><br></div><div>well, jack2 will listen to dbus already (see the link to robin's work on this). jack1 is never going to interact directly with d-bus in the same way as jack2, but for this particular purpose, a platform centric patch would be smart.<br><br></div><div>better yet though, this should be buried inside the ALSA backend and all backends should have a way to tell JACK that the device has "gone away".we've had to visit+revisit this for the new abstracted audio I/O backends inside ardour already.<br><br></div><div>chances of any of the usual suspects doing this for JACK1: close to zero i think.<br></div></div><br></div></div>