I'm trying to set up my zoom h4n recorder to work with jack (through usb connection, it is supposed to behave like a soundcard). I am using a fresh ubuntu lucid install. I have tried several settings, but jackd only starts if I ask for playback only on the h4n. The onboard card of my laptop works just fine (in duplex mode). Here is the verbose output of qjackctl when I try duplex from the h4n.
Code: Select all
13:15:07.719 JACK is starting...
13:15:07.722 /usr/bin/jackd -v -dalsa -r44100 -p1024 -n4 -D -Chw:1 -Phw:1
13:15:07.764 JACK was started with PID=2027.
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd 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
getting driver descriptor from /usr/lib/jack/jack_alsa.so
getting driver descriptor from /usr/lib/jack/jack_dummy.so
getting driver descriptor from /usr/lib/jack/jack_net.so
getting driver descriptor from /usr/lib/jack/jack_oss.so
JACK compiled with System V SHM support.
server `default' registered
cannot lock down memory for jackd (Cannot allocate memory)
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:1|hw:1|1024|4|44100|0|0|nomon|swmeter|-|32bit
control device hw:1
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 4 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 4 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 4 periods for playback
registered builtin port type 32 bit float mono audio
registered builtin port type 8 bit raw midi
clock source = system clock via clock_gettime
new client: alsa_pcm, id = 1 type 1 @ 0x9c51448 fd = -1
start poll on 3 fd's
new buffer size 1024
JACK: unable to mlock() port buffers: Cannot allocate memory
JACK: unable to mlock() port buffers: Cannot allocate memory
registered port system:capture_1, offset = 4096
registered port system:capture_2, offset = 8192
registered port system:playback_1, offset = 0
registered port system:playback_2, offset = 0
++ jack_sort_graph
++ jack_rechain_graph():
+++ client is now alsa_pcm active ? 1
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
-- jack_sort_graph
ALSA: could not start playback (Broken pipe)
DRIVER NT: could not start driver
cannot start driver
starting server engine shutdown
server thread back from poll
stopping driver
unloading driver
freeing shared port segments
stopping server thread
stopping watchdog thread
last xrun delay: 0.000 usecs
max delay reported by backend: 0.000 usecs
freeing engine shared memory
max usecs: 0.000, engine deleted
cleaning up shared memory
cleaning up files
unregistering server `default'
13:15:07.906 JACK was stopped successfully.
13:15:07.908 Post-shutdown script...
13:15:07.909 killall jackd
jackd: no process found
13:15:08.328 Post-shutdown script terminated with exit status=256.
13:15:09.842 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
For info, aplay -l gives :
Code: Select all
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: H4 [H4], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
I am running kernel 2.6.32-22-generic. My /etc/security/limits.d/audio.conf file says :
Code: Select all
@audio - rtprio 99
# @audio - memlock unlimited
@audio - nice -19
I am stuck here. Any help would be appreciated.