LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-25-2005, 08:38 PM   #1
Groovelab
LQ Newbie
 
Registered: Dec 2004
Distribution: Kubuntu 5.04
Posts: 20

Rep: Reputation: 0
(K)ubuntu ALSA with two sound cards. Help :)


Kubuntu, fantastic, however I have a ONE and only issue I have spent hours scouring the net with no success in finding a workaround.

I have an NVIDIA NForce 2 based motherboard with onboard sound.

ALSA plays perfectly through onboard sound (NVidia NForce2 Chipset),
but my M-AudioPhile 2496 does not play, however is succesfully
detected in all forms.

foreman@ubuntuJFF:~$ cat /proc/asound/cards
0 [nForce2 ]: NFORCE - NVidia nForce2
NVidia nForce2 with ALC655 at 0xef001000, irq 21
1 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0xc000, irq 18

KInfoCenter, shows a similar story. However it shows the Synth mode is
disabled. Other posts for installing an ICE Envy VIA chip card
shows the synth should be enabled.

How do I tell Alsa, to make the M-Audio the default soundcard to play
through?

Also, I tried running "alsaconf" and after doing a whereis
command it is not found... Yet if I try "apt-get install alsaconf" it
will say the alsa-utils are installed and upto date.' So I can't do
anything that way.

John

P.S. Solved below, ARTS in KDE/Kubuntu hates my Card, whereas GNOME and ALSA behave well with regular Ubuntu. Had to re-install dumping Kubuntu infavor of Ubuntu from ISO CD.

Last edited by Groovelab; 05-08-2005 at 12:26 AM.
 
Old 04-25-2005, 10:49 PM   #2
Groovelab
LQ Newbie
 
Registered: Dec 2004
Distribution: Kubuntu 5.04
Posts: 20

Original Poster
Rep: Reputation: 0
XMMS allows choice of which play back device. I tried choosing the M-Audio card.

XMMS won't work either, even if I choose either OSS, or ALSA for the M-audio card, when I try mp3 playback it says device is not properly configured or something along those lines.

However it will work for the onboard audio.

I thought about apt-get remove alsa-utils, etc... but it threatens to remove the ubuntu-base as well...

GRRR...
 
Old 04-26-2005, 01:02 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Why not just switch off the on-board sound card in BIOS? Or do you need both cards to be working?

Dave
 
Old 04-26-2005, 09:56 AM   #4
Groovelab
LQ Newbie
 
Registered: Dec 2004
Distribution: Kubuntu 5.04
Posts: 20

Original Poster
Rep: Reputation: 0
As the Guiness guys say...

Brilliant!

I would still like to know which .conf or whatever to edit, and I was reading and reading about the index=0 and all that for the files, but I can find where something like modules.conf is stored in ubuntu and although I found /etc/modprobe.d/alsa-base and a few other similar files, I'm not sure which one to edit...

But I will try the BIOS idea it never even occurred to me!

Thanks, John

P.S. If anyone does know how to set the index priority that would be excellent incase someday (having a recording studio) I need both cards.
 
Old 04-26-2005, 11:31 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
If all your apps are ALSA aware, you can name your cards in /etc/asound.conf, and use the card names instead of the normal 'default' output.

Dave
 
Old 04-26-2005, 08:57 PM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

I've been messing about with asoundrc files myself (getting software mixing working so I can have two apps playing sound at the same time etc).

Anyway, as I said above, you can name your cards in /etc/asound.conf or ~/.asoundrc

As an example, you might have something like:
Code:
pcm.nforce {
    type plug
    slave.pcm "hw:0,0"
}

pcm.maudio {
    type plug
    slave.pcm "hw:1,0"
}
In your ALSA aware apps, you can then use 'maudio' or 'nforce' as the output device, and you should get output from the appropriate device. N.B. a lot of apps don't work properly under ALSA, so you might not be able to use these names.

Dave
 
Old 05-08-2005, 12:16 AM   #7
Groovelab
LQ Newbie
 
Registered: Dec 2004
Distribution: Kubuntu 5.04
Posts: 20

Original Poster
Rep: Reputation: 0
Ubuntu not Kubuntu

Ubuntu with GNOME and ALSA detects and plays my audio card. (Default ISO install)

(K)ubuntu with KDE's Arts, does not behave well with ALSA. (Default ISO install)

1.)Also Kubuntu lacks Ubuntu's (automated bug-report tool.)

2.)Kubuntu Also lacks "Ubuntu's device database tool"
 
Old 05-08-2005, 06:03 PM   #8
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
KDE's artsd should be killed, hard, until it is dead. Very dead.

Also, anyone that writes applications which cause artsd to be launched should be, at a bare minimum, made to feel mildly uncomfortable for an unspecified length of time.

That's what I think anyway. aRts is one of the reasons I stopped using KDE, and moved to Fluxbox. Once the OSS interface is finally put to rest, all of this will be a distant memory anyway...

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Getting two sound cards to work with ALSA linuxpyro Linux - Hardware 3 08-24-2005 09:25 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


All times are GMT -5. The time now is 07:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration