Re: [LAU] Jack hanging when a usb soundcard is disconnected

From: Paul Davis <paul@email-addr-hidden>
Date: Tue Oct 20 2015 - 05:09:36 EEST

On Mon, Oct 19, 2015 at 4:55 PM, Ivica Ico Bukvic <ico@email-addr-hidden> wrote:

>
>
> On 10/18/2015 10:31 AM, Paul Davis wrote:
>
>
>
> On Sun, Oct 18, 2015 at 10:23 AM, Len Ovens <len@email-addr-hidden> 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.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Oct 20 08:15:01 2015

This archive was generated by hypermail 2.1.8 : Tue Oct 20 2015 - 08:15:01 EEST