[PlanetCCRMA] jackd and two Delta1010 cards

Bob Wilkinson wilkinson.bob@comcast.net
Fri Jul 7 14:43:37 2006


It works!  I downloaded the autogen.sh file from the jack CVS, compiled, and relinked the libjack stuff in /usr/lib.  You can only start the jack daemon by command line (qjackctl doesn't have the capability).  Also, it doesn't like multi_playback, but I really don't care about that today - I only need two outputs.  I can record 16 tracks tomorrow morning, which is what I needed!

The word clock sync that was on the sound-man.co.uk website worked, so I think I'm at least set temporarily.

Thanks to everyone for the advise!


 -------------- Original message ----------------------
From: wilkinson.bob@comcast.net (Bob Wilkinson)
> I don't know if it was incorporated into the CVS or not.  Apparently the patch 
> was written by Frank van de Pol (I am simply regurgitating information from 
> 
> http://www.sound-man.co.uk/linuxaudio/ice1712multi.html
> 
> so I don't know if it means anything or not), but as of 0.101.1 it was not 
> incorporated into JACK.  I was completely unsuccessful getting to join the JACK 
> developer's mailing list (their links for joining were broken).  
> 
> I do have very little experience in compiling software, the last regular 
> programming I have done is in PASCAL (Yikes!), and about the only thing I do now 
> in the line of programming is either in keyword files for Ansys or LS-Dyna.
> 
> 
>  -------------- Original message ----------------------
> From: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
> > On Fri, 2006-07-07 at 03:07 +0000, Bob Wilkinson wrote:
> > > Well, it looks as if the problem resides in the fact that Jack does not 
> > natively support MMAP_COMPLEX.  I found a site that explained how to patch the 
> > Jack source to support it - the site is 
> > > 
> > > http://www.sound-man.co.uk/linuxaudio/mmap_complex-patch-0.100.7
> > > 
> > > I understand that the patch will work on 0.100.7 and 0.101.1,  however 
> > > the FC4 CCRMA-edge files all use 0.100.6.  I downloaded 0.101.1 from 
> > > the Jack website, manually patched the source (I'm sure there was an 
> > > easier way to do it, but - like I said, I'm a complete newbie), and 
> > > attempted to compile per Jack website.  However, the first command 
> > > that I am supposed to run is 
> > > 
> > > sh ./autogen.sh
> > > 
> > > What is this?  I did a locate on the box, it's obviously not installed 
> > > as a program.  I'm almost there - and just hit a wall!!
> > 
> > I don't mean to discourage you but you are not really "almost there" :-)
> > There will be many details to take care of if you have no experience
> > building software. Do you know if the patch has been incorporated into
> > current jack cvs? That would be the easiest way to go. I have some
> > packages in the making for a newer jack. 
> > 
> > -- Fernando
> > 
> > 
> > >  -------------- Original message ----------------------
> > > From: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
> > > > On Tue, 2006-07-04 at 12:26 +0000, Bob Wilkinson wrote:
> > > > > uname -r
> > > > > 2.6.12-0.21.rdt.rhfc4.ccrma
> > > > > 
> > > > > rpm -q -a|grep kernel-module-alsa
> > > > > kernel-module-alsa-2.6.12-0.21.rdt.rhfc4.ccrma-1.0.9b-1.rhfc4.ccrma
> > > > 
> > > > I see, that's the "original" stable kernel, very old by now. You may
> > > > want to try the so called "edge" kernels, there's a 2.6.16 derivative
> > > > available there. Then again, this may not solve the problem at all.
> > > > Maybe you could post your question in the jack-devel mailing list and
> > > > somebody would know more about compatible versions and this particular
> > > > problem. 
> > > > 
> > > > The edge kernels are in a separate repository, you have to enable it to
> > > > the get them. Check your /etc/apt/sources.list.d/planetccrma.list file,
> > > > edit it and make a copy of the line that says "planetcore" at the end
> > > > (that's the repository where the kernel stuff is stored). Change
> > > > "planetcore" in the copy to "planetedge". Save the file, "apt-get
> > > > update" and then "apt-get install planetccrma-core-edge" for the single
> > > > processor kernel and alsa modules. 
> > > > 
> > > > The edge kernel is patched with the latest (not any more) Ingo Molnar's
> > > > realtime preemption patch, it has the best low latency performance but
> > > > may not work well with all hardware combinations. If you keep the "edge"
> > > > repository in your file there is _another_ newer kernel/alsa you can try
> > > > - just install "apt-get install planetccrma-core", that should get you a
> > > > 2.6.16 kernel with Ingo's patch  configured as DESKTOP_RT, not as good
> > > > realtime performance but more chance of better compatibility. 
> > > > 
> > > > -- Fernando
> > > > 
> > > > 
> > > > >  -------------- Original message ----------------------
> > > > > From: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
> > > > > > On Mon, 2006-07-03 at 18:17 +0000, Bob Wilkinson wrote:
> > > > > > > Hopefully someone can help me on this.  I have installed Planet 
> CCRMA 
> > > > > > > from an FC4 installation.  I am using two Delta1010 sound devices, 
> and 
> > > > > > > am trying to get them to act as one big device.
> > > > > > > 
> > > > > > > I have searched the web, and found an .asoundrc file (I actually 
> wrote 
> > > > > > > it to /etc/asound.conf) to create the "virtual" card (binding the 
> two 
> > > > > > > cards together).  My asound.conf file looks like this:
> > > > > > > 
> > > > > > > pcm.multi_capture {
> > > > > > >         type multi
> > > > > > >         slaves.a.pcm hw:0
> > > > > > >         slaves.a.channels 12
> > > > > > >         slaves.b.pcm hw:1
> > > > > > >         slaves.b.channels 12
> > > > > > [MUNCH]
> > > > > > > 
> > > > > > > However, when I attempt to run JACK from a command line,
> > > > > > > 
> > > > > > > jackd -d alsa -C multi_capture -P multi_playback
> > > > > > > 
> > > > > > >  I get the error:
> > > > > > > 
> > > > > > > ALSA: mmap-based access is not possible for the capture stream of 
> this 
> > > > audio 
> > > > > > interface
> > > > > > > ALSA: cannot configure capture channel
> > > > > > > 
> > > > > > > I have tried just starting jack for multi_playback only - same 
> error, 
> > just 
> > > > > > replaced 
> > > > > > > with "playback".
> > > > > > > 
> > > > > > > Unfortunately, I'm a complete newbie, and now have less than a week 
> > before 
> > > > > > > my company expects this thing to be up and running flawlessly.
> > > > > > > 
> > > > > > > Can anybody help?  What am I missing?
> > > > > > 
> > > > > > Which kernel/alsa are you running? Run:
> > > > > >   uname -r
> > > > > > to see which kernel you are booting. There should be a matching
> > > > > > kernel-module-alsa package for it ("rpm -q -a|grep 
> kernel-module-alsa")
> > > > > > 
> > > > > > I seem to remember that alsa had problems with this type of stuff. I
> > > > > > also seem to remember a post about this being solved but I don't
> > > > > > remember on which version. 
> > > > > > 
> > > > 
> > > > _______________________________________________
> > > > PlanetCCRMA mailing list
> > > > PlanetCCRMA@ccrma.stanford.edu
> > > > http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
> > > 
> > > 
> > > _______________________________________________
> > > PlanetCCRMA mailing list
> > > PlanetCCRMA@ccrma.stanford.edu
> > > http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
> > 
> 
>