LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-30-2005, 08:47 PM   #1
batgranny
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Rep: Reputation: 0
Changing default soundcard


Hi, I have two soundcards, an onboard one and a SB PCI card and I would like to be able to use the SB instead of the onboard one that Mandrake chooses for me. Would anyone know how I would go about doing this? Oh, I am using Mandrake 10 and kernal 2.4.25

Thanks in advance

Last edited by batgranny; 01-30-2005 at 08:50 PM.
 
Old 01-30-2005, 08:57 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
if the sb drivers were already in the kernel, i would just rmmod the old drivers and modprobe the sb ones. then i'd rerun alsaconf and see if that worked. next time i rebooted i'd disable the onboard sound in the bios, and also take out any old drivers that were autoloading at startup, add the new ones, etc.
 
Old 01-30-2005, 09:05 PM   #3
batgranny
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry, but most of that was gibberish to me How would I find out if the drivers are in the kernal? I have tried disabling the onboard soundcard but that dosn't work. from what I can see, it seems that both soundcards have been detected, the SB using the snd-ens1371 which from what I've picked up from a google search is the right driver for the card.
 
Old 01-30-2005, 11:40 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by batgranny
Sorry, but most of that was gibberish to me How would I find out if the drivers are in the kernal? I have tried disabling the onboard soundcard but that dosn't work. from what I can see, it seems that both soundcards have been detected, the SB using the snd-ens1371 which from what I've picked up from a google search is the right driver for the card.
okay, as root try to load the SB driver by doing:

# modprobe snd-ens1371

if you're using a stock kernel it might already be there, it's just a question of modprobing it. if the modprobe fails ("can't locate module snd-ens1371") that likely means it wasn't compiled into your kernel and you'll have to recompile the kernel selecting that as an option.

at some point it would probably be a good idea to disable the sound drivers for your onboard sound. for that, do lsmod, which will return a list of what modules are loaded. you'll have to know which one it is, and then remove it with rmmod:

# rmmod name-of-driver

once you're sure you've got the right drivers loaded with modprobe and the old ones removed with rmmod, run the alsaconfig command to reset alsa to recognize your new sound setup. that should write the changes to some config file so you won't have to do it every time (if it's OSS, i'm not sure what you do at that point, i think maybe OSS must handle it on the fly somehow. i never had to mess with any config files or anything when i used OSS, at least). however, note that if you simply rmmod the module, it will just load again the next time you reboot. so you'll have to take care of that in the config files.

i'm not sure what config file it is in mandrake, but i think it's /etc/modules.conf. look around in there, and if you see the name-of-driver you took out with rmmod, just comment that out and replace it with snd-ens1371 to load those drivers at boot instead. if that's not the file, look around in /etc/ and some of the subdirectories for any file that has "modules" in the name, or maybe a mandrake user will chime in with what file it is.

finally, make sure the onboard sound is turned off in the BIOS (don't forget to save changes when exiting). if it's turned off there, i can't understand how it would be able to work. in fact, based on my limited knowledge, i'd say that would have to be impossible.

hope that helps.
 
Old 01-31-2005, 08:18 AM   #5
batgranny
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Cheers for your very detailed and informative reply, it did the job and now I'm running my soundblaster! It's been a year since I installed Mandrake on my computer, and now I think everything is finally working as it should
 
Old 01-31-2005, 09:11 AM   #6
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Thumbs up

great! glad to help out. congratulations.
 
  


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
How do I choose which soundcard will be the default? Ac1db0rN Linux - Hardware 2 12-04-2005 02:41 PM
Default System Soundcard thugic Slackware 7 05-13-2005 09:37 AM
choosing default soundcard when one is not onboard EyelessByChoice Linux - Hardware 0 08-12-2004 05:38 AM
suse 9.1 setting default soundcard merfmeister Linux - Newbie 4 06-28-2004 10:04 AM
ALSA - setting default soundcard dave_starsky Linux - Hardware 0 05-29-2004 09:24 AM

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

All times are GMT -5. The time now is 02:09 PM.

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