Hi Clemens,

When I try that method (same with using the surround40 type) it all starts up fine, before giving the error message:

-----------------------------------------
15:49:54.690 JACK is starting...
15:49:54.693 /usr/bin/jackd -R -dalsa -dfour_and_two -r44100 -p128 -n2 -S -i2 -o4
15:49:54.704 JACK was started with PID=3287 (0xcd7).
jackd 0.100.1
Copyright 2001-2005 Paul Davis 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 ..
apparent rate = 44100
creating alsa driver ... four_and_two|four_and_two|128|2|44100|2|4|nomon|swmeter|-|16bit
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
15:49:56.827 Server configuration saved to "/home/teppic/.jackdrc".
15:49:56.831 Statistics reset.
15:49:57.101 Client activated.
15:49:57.139 Audio connection change.
15:49:57.147 Audio connection graph change.
ALSA: poll time out, polled for 4356270 usecs
DRIVER NT: could not run driver cycle
jack main caught signal 12
15:49:59.387 Shutdown notification.
15:49:59.401 Client deactivated.
no message buffer overruns
15:49:59.405 JACK was stopped successfully.
zombified - calling shutdown handler
-------------------------------------------------

my .asoundrc file looks like this now:
-------------------------------------
ctl.four_and_two {
        type hw
        card 0
}

pcm.four_and_two {
       type asym
       playback.pcm quad
       capture.pcm  "hw:0"
}

pcm.quad-setup {
        type multi

        slaves.a.pcm "hw:0,0"
        slaves.a.channels 2
        slaves.b.pcm "hw:0,1"
        slaves.b.channels 2

        bindings.0.slave a
        bindings.0.channel 0
        bindings.1.slave a
        bindings.1.channel 1
        bindings.2.slave b
        bindings.2.channel 0
        bindings.3.slave b
        bindings.3.channel 1
}

pcm.quad {
        type route
        slave.pcm "quad-setup"
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.2 1
        ttable.3.3 1
}
-------------------------------------------

Any further thoughts?

Sam

On 04/05/06, Clemens Ladisch <[EMAIL PROTECTED]> wrote:
Samuel Theobald wrote:
> I'm trying to get my Turtle Beach Santa Cruz (cs46xx) to record 2 channels
> and playback 4 channels (front & rear) simultaneously with jack (using
> qjackctl to get jack going)
>
> My sound card works fine in 2 channel capture, 2 channel playback using hw0.
> The driver doesn't let me use 4 channels with hw0.
>
> With the following .asoundrc I can get it to playback in 4 channels.
> ------------ .asoundrc --------------
> pcm.quad {
>        type route
>        slave.pcm "quad-setup"
>        ttable.0.0 1
>        ttable.1.1 1
>        ttable.2.2 1
>        ttable.3.3 1
> ...
>
> trying to enable capture using (default), hw0 or hw0,0 causes the following
> error:
> ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to
> playback-only mode

Your "quad" device tries to use four channels, but your sound card does
not support four channels when capturing.

To have different configurations in the playback and capture directions,
use the asym plugin like this:

pcm.four_and_two {
        type asym
        playback.pcm quad
        capture.pcm  "hw:0"
}


HTH
Clemens

Reply via email to