Hi,
I am trying to use an Echo Audio Mia card with Ardour on a Gentoo Linux box. The card works fine for most tasks, including Audigy; however, I am having trouble starting JACK. Does anybody else have a working Echo Mia, JACK, and Ardour setup?
My user is in the @realtime and @audio groups on my machine. The PAM limits are set to:
# cat /etc/security/limits.conf # Uncomment the next 4 lines to add extra priority only to realtime group * hard rtprio 0 * soft rtprio 0 @realtime hard rtprio 20 @realtime soft rtprio 10 @audio - rtprio 99 @audio - memlock 500000
My ALSA config is:
$ cat ~/.asoundrc pcm.!default { type plug slave.pcm "dmix" } pcm.dsp0 { type plug slave.pcm "dmix" } ctl.mixer0 { type hw card 0 }
Finally, JACK bombs with the following errors:
$ jackd -d alsa 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 JACK compiled with System V SHM support. loading driver .. creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 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 ALSA: cannot set hardware parameters for playback ALSA: cannot configure playback channel cannot load driver module alsa
Strangely, I can start JACK, like the following, but I thought this was not good:
$ jackd -d alsa -d default 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 JACK compiled with System V SHM support. loading driver .. creating alsa driver ... default|default|1024|2|48000|0|0|nomon|swmeter|-|32bit ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods ALSA: final selected sample format for playback: 32bit float little-endian You appear to be using the ALSA software "plug" layer, probably a result of using the "default" ALSA device. This is less efficient than it could be. Consider using a hardware device instead rather than using the plug layer. Usually the name of the hardware device that corresponds to the first soun ALSA: use 2 periods for playback ^Cjack main caught signal 2 $ jackd -d alsa -d dmix 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 JACK compiled with System V SHM support. loading driver .. creating alsa driver ... dmix|dmix|1024|2|48000|0|0|nomon|swmeter|-|32bit ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL dmix control open "dmix" (No such file or directory) ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode 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 ^Cjack main caught signal 2
I don’t think any of these methods are good. What am I missing?
Thanks!
Trevor