[LAU] Jack hanging when a usb soundcard is disconnected

Paul Davis paul at linuxaudiosystems.com
Tue Oct 20 02:09:36 UTC 2015


On Mon, Oct 19, 2015 at 4:55 PM, Ivica Ico Bukvic <ico at vt.edu> wrote:

>
>
> On 10/18/2015 10:31 AM, Paul Davis wrote:
>
>
>
> On Sun, Oct 18, 2015 at 10:23 AM, Len Ovens <len at ovenwerks.net> wrote:
>
>
>>
>> USB hot plug _can_ work with jack:
>> http://gareus.org/blog/jack2dbus
>
>
> 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.
>
> 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.
>
>
> Since former is not necessarily in our immediate control, any hope of
> latter being implemented by those on this list who are in control?
>

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.

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.

chances of any of the usual suspects doing this for JACK1: close to zero i
think.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20151019/33fa0cb3/attachment.html>


More information about the Linux-audio-user mailing list