LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2006, 06:54 PM   #1
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

Rep: Reputation: 15
Two Soundcards


I am sure this has been answered somewhere, but the information I have been able to find doesn't seem very specific to Slackware or my particular situation.

I want two soundcards - one for things like Amarok and system notifications, the other for my ham radio apps that may be running simulaneously. So I physically install an ES18xx and an Opti93xx cards (yes I know). Alsaconf finds them both and allows me to choose one to configure, which then becomes the only soundcard on the system. Alsamixer then works for just that card, which becomes the default and /dev/dsp.

How can I get both cards working at the same time? I presume that if that happens, one will become /dev/dsp0 and the other /dev/dsp1? Or will they? How can I get my applications to select the correct card?

Would much appreciate a pointer in the right direction.

Slackware 10.2, PIII 500MHz, 256M
 
Old 04-16-2006, 09:20 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well, I know this isn't exactly the same thing, but I use one physical sound card, and a USB headset which ALSA sees as another sound card.

Make sure that the ALSA modules for the second card are loaded. When alsaconf sets up your system, it sets up links that load the modules at boot time. Since it has only setup one card, it might not have added this information for the second card. If so, you will need to manually load the drivers though rc.local, or rc.modules.

Beyond that, on my system, the second card is /dev/sound/dsp1, and to setup the volumes for it, I would do something like "alsamixer -c 1" (where -c 0 would specify my main sound card).
 
Old 04-17-2006, 06:33 AM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
I think you will need an entry in /etc/modprobe.conf for each card

eg
alias snd-card-0 snd-opti92x
alias snd-card-1 snd-es18xx

more here:

http://alsa.opensrc.org/MultipleCards

tobyl
 
  


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
Two soundcards Jongi Linux - Hardware 1 04-06-2006 09:46 AM
soundcards bagins55 Linux - Hardware 2 08-01-2005 10:48 PM
SoundCards! lastkidpicked Linux - Newbie 3 11-22-2003 11:27 PM
two soundcards need help sbilstein Linux - Hardware 1 07-19-2003 08:03 AM
soundcards Dom Linux - Hardware 1 03-13-2003 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:39 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