[LAU] Jack hanging when a usb soundcard is disconnected
Will Godfrey
willgodfrey at musically.me.uk
Sat Oct 17 18:31:14 UTC 2015
On Sat, 17 Oct 2015 19:24:02 +0100
Will Godfrey <willgodfrey at musically.me.uk> wrote:
> On Sat, 17 Oct 2015 13:58:37 -0400
> Ivica Ico Bukvic <ico at vt.edu> wrote:
>
> > Hi all,
> >
> > This is a long-standing problem. While it is not intentional, sometimes
> > newcomers to jack on Linux tend to pull out the soundcard (USB) before
> > shutting down jack. This results in jack permanently hanging to the
> > point where one has to force-shutdown the machine. That is at least the
> > case on Ubuntu 14.04 (and was on 12.04) with lowlatency kernel. Trying
> > to do sudo killall -9 jackd makes no difference. Essentially, it is
> > impossible to destroy the process and reboot hangs because of it.
> >
> > Any idea what can be done to minimize this problem or alleviate it
> > altogether?
> >
> > Best,
> >
> > Ico
>
>
> a workaround is from a terminal type:
>
> pidof jackd
>
> you'll get a number such as 3772
>
> then type
>
> kill -9 3772
>
Hmm, just reread. All I can say is it works for me and with just kill and no
sudo :o
--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
More information about the Linux-audio-user
mailing list