Alsa Problems
Hi again, I have had problems installing my sound card on slackware 11. I tried to use alsaconf, but that didn't work so well. I have two sound cards on my computer - one is inbuilt in the motherboard and the other I have added. The strange thing is - alsaconf finds both of them, but only the inbuilt one comes up when I run alsamixer? I will add that I choose the sound card that I have added myself. Why does alsaconf choose the wrong one? The inbuilt one is a intel and the other diamond multimedia sonic impact. Even though the sonic impact card is old - it is better than the built in one.
Has anyone any ideas as what I can do to make alsa choose the right card. bookie |
Rebuild
The easiest way that I've found to keep alsa from using the wrong soundcard is to either modprobe -r unwantedmodule or just recompile your kernel and don't even enable the module for said unwanted soundcard.
|
Re Alsa problems
Thanks for the quick response manwichmakesameal. Do you think that you could elaborate a little for a newbie. Don't know all the commands and how to go about them, so a little more info would be greatly appreciated.
|
commands
modprobe -r will just remove the unwanted module, (driver for soundcard or whatever). So if you do lsmod, you get something like
Code:
x_tables 11460 5 xt_tcpudp,iptable_nat,ipt_LOG,xt_state,ip_tables |
Re Alsa problems
Thanks for all the info, but I am still at a loss as to what I should write in the command console. Sorry to seem a bit dense. Some things with linux take a little longer for me to grasp. Getting on a bit now.
bookie |
console
When you run modprobe, you have to be root. So your prompt might look like:
Code:
root@graceland:~# Code:
root@graceland:~# modprobe -r snd_emu10k1 Code:
allen@graceland:~$lsmod |
I find the simplest way to disable onboard sound is to disable the option in BIOS settings; this assumes the option is available in your MB's BIOS settings, and that you do not want to use onboard sound at all.
|
Success
Thanks a lot guys. I hadn't even given it a thought to change the info in bios. I tried netcrawl's way because it was easiest - and that I don't run the risk of removing something that I might need in the future.
Once again, thanks bookie |
Another Fix
Another solution to the problem:
If you want to keep both sound cards running (for whatever reason), you can specify which card gets which ID at load time. Code:
cat /proc/asound/modules Code:
cd /etc/modprobe.d Edit the file you have, for example: Code:
su Code:
install sound-slot-0 NAME_CARD_1 install sound-slot-0 snd_emu10k1 install sound-slot-1 snd_bt87x install sound-slot-2 snd_usb_audio I have commented out the alias lines that were originally in the file as well, and it hasn't caused problems yet, but if you do run into problems, just make sure the name of the alias is correct. (Pay particular attention to dashes being used when underscores should be used) ctrl-O saves the file ctrl-x exits from nano Reboot the system and see if it works. IF IT DOESN'T WORK there's another ugly solution: create ".asoundrc" in home directory with the following: Code:
pcm.!default { You can find the card # by: "alsamixer -c#" until you hit the one you're looking for. For reference, the first solution was mostly ripped from https://bugs.launchpad.net/ubuntu/+s...ver/+bug/56482 while the second solution was taken from the ALSA Wiki |
Hi AlfredSka
Thanks for the update. I appreciate the help.
bookie |
All times are GMT -5. The time now is 09:29 PM. |