LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-13-2003, 12:43 AM   #1
mainak
LQ Newbie
 
Registered: Nov 2002
Location: India
Posts: 25

Rep: Reputation: 15
Switching Sound Cards....


Hi !! I have two sound cards on my P4 system. One is on my Original Intel Mother Board (SoundMax)and the other one an add on Creative Sound Blaster Live!

I am using Red Hat Linux 8.0. Both my sound cards are properly detected, and the "Sound Card Detection" Utility in the System Settings .. show two tabs with both my sound cards. When I press the "Play Sample Sound" then .. I am only able to hear sounds from my on board Intel's SoundMax card. I want to switch to my Creative Sound Card. I want the Creative Sound card to be the active and default sound card.

How can I do so ?? Is there any way to switch the active sound card to a different one ??

I am not sure how to change the "modules.conf" file..
 
Old 04-13-2003, 12:58 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Post it up...

What I have done in the past in a similar situation is changed sound-slot-0 and sound-slot-1 around, along with the rest of the options (if any) corresponding to the respective soundcard.

Anyway, go ahead and post up your modules.conf so we can suggest things.



Cool
 
Old 04-13-2003, 02:13 AM   #3
mainak
LQ Newbie
 
Registered: Nov 2002
Location: India
Posts: 25

Original Poster
Rep: Reputation: 15
Here ... this is the contents of my "modules.conf" file

Code:
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
alias /dev/ttySHSF* hsfserial
alias char-major-240 hsfserial
alias /dev/ttyCUA* hsfserial
alias char-major-241 hsfserial
alias /dev/modem hsfserial
options hsfserial serialmajor=240 calloutmajor=241
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias sound-slot-1 emu10k1
post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
 
Old 04-13-2003, 09:41 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
So try changing these entries:
Code:
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias sound-slot-1 emu10k1
post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
to

Code:
alias sound-slot-1 i810_audio
post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias sound-slot-0 emu10k1
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
Cool
 
Old 04-13-2003, 01:36 PM   #5
mainak
LQ Newbie
 
Registered: Nov 2002
Location: India
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks .. But.....

Thanks

But I already did that... The swapping of entries does work but only after I reboot my machine ...

I was looking for some command line utility that would do the swapping as well as reflect the changes without haveing to reboot.

 
Old 04-13-2003, 02:19 PM   #6
chrismiceli
Member
 
Registered: Aug 2002
Posts: 349

Rep: Reputation: 31
if your intel one is onboard, you should be able to turn it off in the bios if you only want your soundblaster.
 
Old 04-14-2003, 12:03 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Re: Thanks .. But.....

Quote:
Originally posted by mainak
Thanks

But I already did that... The swapping of entries does work but only after I reboot my machine ...

I was looking for some command line utility that would do the swapping as well as reflect the changes without haveing to reboot.

You could try something like:
lsmod (note the module for your Onboard sound)
rmmod <module from above>

OR

Make the changes above, then (as root):
init 1 &&
init 3 (or 5 depending on your default runlevel, to find out check /etc/inittab and look for the 'default')

Cool
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching Sound Cards. . . wnaLinux Slackware 7 12-15-2004 06:58 PM
Switching video cards? Groundhog1248 Linux - Hardware 2 11-26-2004 04:05 PM
Switching Nvidia Video Cards js_530 Linux - Hardware 8 12-29-2003 05:49 PM
Switching Graphics Cards frkstein Linux - Hardware 1 05-16-2002 09:03 AM
Switching Video Cards IN LINUX. $13.40 Linux - General 1 10-05-2001 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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