Help - Search - Members - Calendar
Full Version: Changing Default Sound Card
MandrivaUsers.org > General Help > Tips and Tricks
8086
Hi everybody,
I am a new user of Linux (although I have been trying various distros for the past two years). I searched a lot in this forum and some other forums to get a solution to the default sound card problem. But none helped. The situation is like this. I have an onboard sound card on my Intel motherboard and a PCI Soundblaster Live 5.1 card. Mandriva 2006, by default , chose the onboard one. I wanted the SBLive, but didn't want to disable the onboard either. After going through various posts and trying out the suggestions, I did something which is working for me now. Earlier my modprob.conf file in /etc was like this.

alias eth0 via-rhine

alias sound-slot-0 snd-intel8x0
alias sound-slot-1 snd-emu10k1

remove snd-emu10k1 /sbin/modprobe --first-time -r --ignore-remove snd-emu10k1
install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1

remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }

install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true


I changed it as follows:


alias eth0 via-rhine

alias sound-slot-0 snd-emu10k1
alias sound-slot-1 snd-intel8x0

remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }

remove snd-emu10k1 /sbin/modprobe --first-time -r --ignore-remove snd-emu10k1
install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1

install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true


The changes are in bold. The SBLive entry is now after the Intel entry. Now SBLive is the default card.
Please don't shout at me if a solution to this has already been posted. This is my first hack in Linux, and I wanted to tell all MandrivaUsers biggrin.gif



[moved from Hardware - arctic. Welcome aboard smile.gif]
laiback
I'm not shouting, in fact I'm pleased you posted this item. I may well need it myself in the not too distant future.

Thanks
Laidback
kurt_ram
thanks.gif

This is exactly what I have been looking for.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.