From: "Petter Sundlöf" <petter.sundlof@findus.dhs.org>
To: alsa-devel@alsa-project.org
Subject: Some problems with two 1010LTs (pcm_multi & jackd)
Date: Thu, 26 Jan 2006 15:04:25 +0100 [thread overview]
Message-ID: <43D8D6E9.80902@findus.dhs.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]
Hello.
I've added a second 1010LT in my studio box. The two LTs are card1 and
card2.
Following the steps from
http://www.sound-man.co.uk/linuxaudio/ice1712multi.html I created the
.asoundrc (and modified it to hw:1 and 2 where appropriate. I have
attached this file.
I then proceeded to patch jack 0.100.7 (release tarball) with the
MMAP_COMPLEX patch. This was installed to the /usr/ prefix.
I then downloaded alsa-lib-1.0.10 (release) and applied pcm_multi-patch.
I installed this over the existing alsa-lib, into prefix /usr/lib.
After this I tried to run jackd -d alsa -r44100 -p512 -C multi_capture
-P multi_playback
I then get this stdout message:
jackd 0.100.7
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 ..
creating alsa driver ...
multi_playback|multi_capture|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
I then start Ardour and open a session. I place the playhead somewhere
and try to start playback. Nothing happens. After a few seconds, Ardour
is disconnected from JACK, and I receive this in jackd's stdout:
ALSA: poll time out, polled for 17416024 usecs
DRIVER NT: could not run driver cycle
jack main caught signal 12
no message buffer overruns
Clues?
Info: Kernel 2.6.14-0.10.rrt.rhfc4.ccrma #1 PREEMPT
Cards are not connected via S/PDIF or World clock -- don't have any such
cables, and besides, I read it isn't working _yet_ with LT cards.
Hardware: Sempron 2600, 1GB RAM.
Software: Fedora Core 4 + CCRMA.
Any tips appreciated.
Thanks in advance,
Petter Sundlöf
[-- Attachment #2: .asoundrc --]
[-- Type: text/plain, Size: 2897 bytes --]
# .asoundrc for two Delta 1010s
#
# Create virtual devices out of multiple soundcards.
# JACK will need MMAP_COMPLEX support to use this.
# ICE1712 chip has 12 capture channels and 10 playback channels.
# No. of channels in slaves must equal 12 for capture and 10 for playback
# otherwise "invalid argument" errors result.
pcm.multi_capture {
type multi
slaves.a.pcm hw:1
slaves.a.channels 12
slaves.b.pcm hw:2
slaves.b.channels 12
# First 8 channels of first soundcard (capture)
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
bindings.3.slave a
bindings.3.channel 3
bindings.4.slave a
bindings.4.channel 4
bindings.5.slave a
bindings.5.channel 5
bindings.6.slave a
bindings.6.channel 6
bindings.7.slave a
bindings.7.channel 7
# First 8 channels of second soundcard (capture)
bindings.8.slave b
bindings.8.channel 0
bindings.9.slave b
bindings.9.channel 1
bindings.10.slave b
bindings.10.channel 2
bindings.11.slave b
bindings.11.channel 3
bindings.12.slave b
bindings.12.channel 4
bindings.13.slave b
bindings.13.channel 5
bindings.14.slave b
bindings.14.channel 6
bindings.15.slave b
bindings.15.channel 7
# S/PDIF section. Comment out if not required.
# S/PDIF first soundcard (capture)
bindings.16.slave a
bindings.16.channel 8
bindings.17.slave a
bindings.17.channel 9
# S/PDIF second soundcard (capture)
bindings.18.slave b
bindings.18.channel 8
bindings.19.slave b
bindings.19.channel 9
}
ctl.multi_capture {
type hw
card 1
}
pcm.multi_playback {
type multi
slaves.a.pcm hw:1
slaves.a.channels 10
slaves.b.pcm hw:2
slaves.b.channels 10
# First 8 channels of first soundcard (playback)
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
bindings.3.slave a
bindings.3.channel 3
bindings.4.slave a
bindings.4.channel 4
bindings.5.slave a
bindings.5.channel 5
bindings.6.slave a
bindings.6.channel 6
bindings.7.slave a
bindings.7.channel 7
# First 8 channels of second soundcard (playback)
bindings.8.slave b
bindings.8.channel 0
bindings.9.slave b
bindings.9.channel 1
bindings.10.slave b
bindings.10.channel 2
bindings.11.slave b
bindings.11.channel 3
bindings.12.slave b
bindings.12.channel 4
bindings.13.slave b
bindings.13.channel 5
bindings.14.slave b
bindings.14.channel 6
bindings.15.slave b
bindings.15.channel 7
# S/PDIF section. Comment out if not required.
# S/PDIF first soundcard (playback)
bindings.16.slave a
bindings.16.channel 8
bindings.17.slave a
bindings.17.channel 9
# S/PDIF second soundcard (playback)
bindings.18.slave b
bindings.18.channel 8
bindings.19.slave b
bindings.19.channel 9
}
ctl.multi_playback {
type hw
card 1
}
next reply other threads:[~2006-01-26 13:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-26 14:04 Petter Sundlöf [this message]
2006-01-26 18:48 ` Some problems with two 1010LTs (pcm_multi & jackd) John Rigg
2006-01-26 23:14 ` Petter Sundlöf
2006-01-27 12:53 ` John Rigg
2006-01-27 14:02 ` John Rigg
2006-01-26 19:10 ` John Rigg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43D8D6E9.80902@findus.dhs.org \
--to=petter.sundlof@findus.dhs.org \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.