LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-24-2005, 02:57 PM   #1
linuxpyro
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 16
Getting two sound cards to work with ALSA


OK, I could not find much useful info through searching the forums, and the Alsa docs aren't helpin much either.

I use an M Audio Delta 44 sound card for doing recording on my Gentoo machine. Recently I bought an SBLive card so that I could just have a simple card to play music out of and connect to my headphones. My plan is to set up the SBLive card to be the main one, and use the M Audio card for working with Ardour and Jack.

I haven't been able to get this to work however; though the SBLive comes up when I run lspci | grep audio, Alsa won't recognize it. Here's the output or lspci | grep audio:

Code:
0000:00:09.0 Multimedia audio controller: Creative Labs SB Audigy LS
0000:02:04.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02)
When I try to run alsaconf, only the Delta 44 (ice1712) shows up. (I know alsaconf will only configure one card, but it seems to me like the SBLive should show up.) I have the following lines added in my /etc/modules.autoload.d/kernel-2.6:

Code:
snd_emu10k1
snd_ice1712
Here is my /etc/modules.d/alsa:

Code:
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart Exp $

options snd major=116 cards_limit=2

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

# SBLive
# emu10k1
# Sound Card 0
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0
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

# M Audio Delta 44
# ice1712
# Sound Card 1
alias snd-card-1 snd-ice1712
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss

alias snd-card-0 snd-emu10k1
options snd-card-emu10k1 index=0 enable

alias snd-card-1 snd-ice1712
options snd-card-ice1712 enable

#alias /dev/mixer snd-mixer-oss
#alias /dev/dsp snd-pcm-oss
#alias /dev/midi snd-seq-oss
Here is my .asoundrc:

Code:
pcm.emu10k1 {
   type hw
   card 0
}

ctl.emu10k1 {
   type hw
   card 0
}

pcm.ice1712 {
   type hw
   card 1
}

ctl.ice1712 {
   type hw
   card 1
}
I am using alsa version 1.0.9, and am using it as modules, rather than compiled into the kernel. Only the ice1712 card (Delta 44) is being recognized.

Thanks for any insight.
 
Old 08-24-2005, 05:42 PM   #2
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
Despite your configuration, it doesn't seem the module for the SB Live is loaded. Can you post the output of lsmod?
 
Old 08-24-2005, 08:09 PM   #3
linuxpyro
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 16
Ahg, sory about that. Here's the output of lsmod:

Code:
Module                  Size  Used by
snd_pcm_oss            48160  0
snd_mixer_oss          17664  1 snd_pcm_oss
snd_seq_oss            34816  0
snd_seq_midi_event      5888  1 snd_seq_oss
snd_seq                51792  4 snd_seq_oss,snd_seq_midi_event
snd_ice1712            60676  0
snd_ice17xx_ak4xxx      3136  1 snd_ice1712
snd_ak4xxx_adda         5568  2 snd_ice1712,snd_ice17xx_ak4xxx
snd_cs8427              8576  1 snd_ice1712
snd_i2c                 4928  2 snd_ice1712,snd_cs8427
snd_mpu401_uart         6400  1 snd_ice1712
snd_emu10k1           116100  0
snd_rawmidi            20960  2 snd_mpu401_uart,snd_emu10k1
snd_seq_device          7244  4 snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec         81468  2 snd_ice1712,snd_emu10k1
snd_pcm                82180  4 snd_pcm_oss,snd_ice1712,snd_emu10k1,snd_ac97_codec
snd_timer              21700  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          7620  2 snd_emu10k1,snd_pcm
snd_util_mem            3328  1 snd_emu10k1
snd_hwdep               7712  1 snd_emu10k1
snd                    49188  16 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_ice1712,snd_ak4xxx_adda,snd_cs8427,snd_i2c,snd_mpu401_uart,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
soundcore               7648  1 snd
realtime                8072  0
nvidia               3464796  12
I had heard that the emu10k1 was the correct driver for the SBLive cards. I just checked the Alsa matrix, though, and it lists the driver for the SB Audigy LS as the ca0106 driver. I tried loading this in, yet got a module not found error. Is this driver listed for some other card in the kernel config?
 
Old 08-24-2005, 09:25 PM   #4
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
I just looked at my kernel config stuff, and I found the entry for the SB live in the menu, and sure enough, its the ca0106 driver that's the right one, and not emu10k1. The reason that ca0106 doesn't load is probably because it wasn't compiled with your kernel. The right option for your card's driver can be found in Device Drivers-> Sound-> Advanced Linux Sound Architecture -> PCI Devices -> SB Audigy LS / Live 24bit when you run make menuconfig. Be sure to compile it as a module.

Last edited by FreeThinkerJim; 08-24-2005 at 09:29 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sound cards and alsa? ericb Linux - Hardware 3 09-07-2005 12:48 AM
(K)ubuntu ALSA with two sound cards. Help :) Groovelab Ubuntu 7 05-08-2005 06:03 PM
alsa + 2 sound cards atrain Linux - Hardware 2 02-13-2005 11:51 AM
ALSA + 2 Sound Cards codyman Linux - General 3 08-14-2004 09:20 AM
Problems with ALSA and 2 sound cards Gendo Ikari Linux - Software 0 08-02-2004 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration