[Jack-Devel] issue with capturing

PrevNext  Index
DateMon, 01 Sep 2014 13:52:35 +0200
From Pieter De Gendt <[hidden] at gmail dot com>
To[hidden] at lists dot jackaudio dot org
Follow-UpStéphane LETZ Re: [Jack-Devel] issue with capturing
Hi all,

I am developing a driver for a TI audio chip and have got the playback part
working, but when I enable capturing ports I am unable to create clients.
Some output:

Playback only:
# jackd -d alsa -d hw:0 -P &
# jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:0|-|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback

# jack_lsp
system:playback_1
system:playback_2

======

Both capturing and playback:
# jackd -d alsa -d hw:0 &
# jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback

# jack_lsp
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection
timed out
Driver is not running
Cannot create new client
Cannot open lsp client
Cannot read socket fd = 5 err = Success
CheckRes error
JackSocketClientChannel read fail
jack_client_open() failed, status = 0x21
CheckSize error size = 32 Size() = 12
CheckRead error
CheckSize error size = -1 Size() = 4
CheckRead error
CheckSize error size = 0 Size() = 12
CheckRead error

Any ideas why the lock can't be acquired? Jack is always capturing, how to
get clients to work with the captured data?

Thanks in advance,
With kind regards,

Pieter
PrevNext  Index

1409572364.589_0.ltw:2, <CAFfn7UnfpzARty+hzBjidDwkSsTQJ21M61Y1C9DW_pJ_TmDhOQ at mail dot gmail dot com>