Dear list,
having just switched from jackd1 to jackd2 I notice that jackd hangs
when issuing a "systemctl suspend" and resuming from that suspend with
a USB Edirol UA-25 card. I am including relevant error messages below.
Thank you for any pointers! Peter
I run from the shell as follows
jackd -v -t2000 -dalsa -r44100 -p512 -n2 -Xseq -D -Chw:UA25 -Phw:UA25 -i2 -o2
and clients can connect and play through it fine.
When I issue the suspend and resume, jackd has printed the following:
status error: No such device
ALSA: channel flush for playback failed (No such device)
JackAudioDriver::ProcessAsync: read error, stopping...
Jack: JackPosixThread::ThreadHandler : exit
When I try to connect with a client (mplayer) to it, mplayer hangs and
eventually exits posting
Cannot read socket fd = 7 err = Success
CheckRes error
JackSocketClientChannel read fail
Cannot open MPlayer [109458] client
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[JACK] cannot open server
Failed to initialize audio driver 'jack'
[...]
Exiting... (End of file)
and during this connection attempt jackd has printed
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 12
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 13
Jack: JackSocketServerChannel::Execute : poll client error err = Broken pipe
Jack: JackSocketServerChannel::ClientKill ref = -1 fd = 13
Jack: Client was not opened : probably correspond to server_check
Jack: JackClientSocket::Close
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 12
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 12
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 13
Jack: JackRequest::ClientCheck
Jack: Check protocol client = 8 server = 8
Jack: JackRequest::ClientOpen
Jack: JackEngine::ClientExternalOpen: uuid = 12, name = MPlayer [110502]
Jack: JackEngine::AllocateRefNum ref = 2
Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_MPlayer [110502] val = 0
Jack: JackSocketNotifyChannel::Open name = MPlayer [110502]
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_MPlayer [110502]_1000_0
Jack: JackShmMem::new index = 2 attached = ef29b000 size = 426
Jack: JackExternalClient::Open name = MPlayer [110502] index = 2 base = ef29b000
Jack: JackPosixProcessSync::TimedWait time out = 5000000
[...]
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Jack: JackPosixProcessSync::TimedWait finished delta = 5000156.0
Driver is not running
Jack: JackExternalClient::Close
Jack: JackSocketNotifyChannel::Close
Jack: JackClientSocket::Close
Jack: JackShmMem::delete size = 0 index = 2
Cannot create new client
Jack: JackSocketServerChannel::Execute : poll client error err = Broken pipe
Jack: JackSocketServerChannel::ClientKill ref = -1 fd = 13
Jack: Client was not opened : probably correspond to server_check
Jack: JackClientSocket::Close
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 12
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 12
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 13
Jack: JackSocketServerChannel::Execute : poll client error err = Broken pipe
Jack: JackSocketServerChannel::ClientKill ref = -1 fd = 13
Jack: Client was not opened : probably correspond to server_check
Jack: JackClientSocket::Close
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 12
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 12
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 13
Jack: JackRequest::ClientCheck
Jack: Check protocol client = 8 server = 8
Jack: JackRequest::ClientOpen
Jack: JackEngine::ClientExternalOpen: uuid = 13, name = alsa-jack.jackP.110502.0
Jack: JackEngine::AllocateRefNum ref = 2
Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_alsa-jack.jackP.110502.0 val
= 0
Jack: JackSocketNotifyChannel::Open name = alsa-jack.jackP.110502.0
Jack: JackClientSocket::Connect : addr.sun_path
/dev/shm/jack_alsa-jack.jackP.110502.0_1000_0
Jack: JackShmMem::new index = 2 attached = ef29b000 size = 426
Jack: JackExternalClient::Open name = alsa-jack.jackP.110502.0 index = 2 base = ef29b000
Jack: JackPosixProcessSync::TimedWait time out = 5000000
Show replies by date
...oh and I should have had mentioned that jackd2 resumes fine with the
internals HDA Intel soundcard of my laptop. All this is on Debian
testing with
jackdmp version 1.9.17 tmpdir /dev/shm protocol 8