Default Sound Card In Ubuntu
I have a Ubuntu 7.04 system with a few sound cards.
There is an onboard Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) which is 5.1 and the one I want for the default card.
There is also a PCI C-Media Electronics Inc CM8738 (rev 10).
And a TV Card Brooktree Corporation Bt878 Audio Capture (rev 02).
I change the default in System -> Preferences -> Sound but after a restart or two it returns to the C-Media instead of the Intel and even returning to the Sound preferences it shows the Intel as default. But using the command alsamixer it shows C-Media as the current sound card in use.
Is there anyway to change the sound to Intel without it returning to C-Media?
Maybe this helps?
In terminal type
That will show you which soundcards occupy which slot and what're their names.
My output is
so it should look something like that.
Now identify which cards you don't wanna use and take their names.
In terminal now type
sudo gedit /etc/modprobe.d/alsa-base
Find the place where it says something like
# Prevent abnormal drivers from grabbing index 0
and in the list below add
options snd_whateveryourcardnameswere index=-2
Since you have two card you want to blacklist you add two lines with different names then.
Now save /etc/modprobe.d/alsa-base and reboot the computer. It *should* now set the "wrong" sound cards to slot -2 (thus, making them disabled) and the correct soundcard should thus grab slot 0 and work.
It has been suggested that instead of blacklisting the wrong ones one could manually assign slots in the same /etc/modprobe.d/alsa-base file (at the start of the file, where it says "# autoloader aliases" but that didn't work for me at least.
Let me know if it worked!
Thx, this worked for me :)
An alternative solution if you want to use the onboard soundcard would be to just remove the standalone card from the mobo.
Along these lines, if the opposite issue occurred (ie, here the system kept defaulting to the onboard card when you instead want it to use the standalone sound card) you can fix that by disabling the onboard soundcard in BIOS. That setting is typically in one of the 'advanced' BIOS menus, but just toggle the onboard sound to Off and that should do it
Thanks a lot, vixol! I couldn't find any solution to fix my problem. My onboard sound card had taken the default spot and the device manager on Ubuntu isn't the greatest. I knew I had to disable the onboard and you have solved my issue.
Many thanks, m8!
Solved for me! Thanks!
I know its an old thread but its spot on for my problem...
Asus HD2600pro graphics, AMD 64 4600+, 2GiB, Asus M3A32-mvp deluxe mainboard and ESI Juli@ soundcard. I plan to use the digital optial SPDIF output of the Juli@ card connected to my EAD DSP-1000 DAC.
The cards are listed by default as quoted:
Rebooted. Ran aplay -l again which produced:
I guess I found the sollution! Finally! After three re-installs and countless hours of testing/googling/terrorizing forums/asking the white out of the eye of #xbmc-linux members...
I found it here.
Just edited the code a bit to fit my hardware-problem.
I had to edit the .asoundrc and change default soundcard from what seems to be the usual (0,0) to 0,1 by inserting this into .asoundrc:
When testing after this I was almost in heaven hearing terrible noise in my speakers, because then I knew that my DAC was fed with AC3 which it does not support :wink: (sollution was to remove support for AC3 and DD in XBMC output settings)
Last night I gave up. When I came home this night and the only thing I did was editing the output of XBMC I finally understand how frustrated one can be over something one does not understand (in this case, Linux)
works for me except add ".conf" to "alsa-base" (ubuntu studio 12.04)
|All times are GMT -5. The time now is 12:56 PM.|