[LAU] jack and flash (howto configure 2 soundcards for jack and non-jack ?)

Mark Knecht markknecht at gmail.com
Mon Feb 11 14:07:11 EST 2008

On Feb 11, 2008 10:05 AM, Jürgen Schöneberg <jschoeni at gmx.net> wrote:
> Hello!
> I'm interested to do like you did:
> > 'And a separate sound card: one for non-JACK ALSA apps, one for JACK apps.'
> is there a howto available howto setup 2 soundcards, one for jack, one for
> non-jack ?
> - how do I address 'jackd' to the soundcard I want?
> - can I use alsaconf to configure 2 soundcards, or do I have to edit
>   something like modules.conf manually?

My system is this way. I have two sound cards - an RME HDSP9652 and an
on-board sound chip. The RME is my main card that drives the external
D/A. It always uses Jack when I'm doing anything serious. (Not often
anymore) All my funky audio needs go through the on-board sound chip.
I have the audio output of the on-board chip plugged into a pair of
inputs on the RME. I can start and stop Jack anytime and Jack can run
at a frequency different than the on-board audio since that chip's
audio is redigitized going into the RME.

Works fine for me. Distribution is Gentoo.

Hope this helps,

mark at lightning ~ $ cat /proc/asound/cards
 0 [CK804          ]: NFORCE - NVidia CK804
                      NVidia CK804 with ALC850 at irq 20
 1 [DSP            ]: H-DSP - Hammerfall DSP
                      RME Hammerfall HDSP 9652 at 0xda000000, irq 16
mark at lightning ~ $

mark at lightning ~ $ cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##  ALSA portion
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0
alias snd-card-1 snd-hdsp
options snd-hdsp index=1
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=2
mark at lightning ~ $

More information about the Linux-audio-user mailing list