Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have read through the posts regarding ALSA, as well as the info at the ALSA site. I am overwhelmed and confused
My problem is: my system has an onboard soundcard, but I want to use a card that is in a pci slot. I have tried to disable the onboard sound through bios, but I find no mention of the onboard sound there(bios). I know that there has to be a way to set the default card in linux (I am running Debian, kernel 2.6); that is the way I want to go. Can anyone tell me how to set which card is default?
I know that there is system info that I should post, but I am a real newbie and do not know where tho find whatever you may need. Let me know, and I will post.
The Linux kernel has a modular design and newer versions of it checks the hardware and then loads the correct modules. So the first thing you need to investigate is what the names of the soundcard drivers (modules) are. You can see this in the Alsa soundcard database on their homepage.
There is a few terminal commands that are good to know in these situations (they are usually run as root command: su root):
lsmod - lists all modules the kernel has currently loaded.
modprobe - Manually loads a module (adding an -r removes it)
Now you need to prevent the module of the onboard chip from being loaded. This is done by adding its name to the file /etc/hotplug/blacklist. Now the linux kernel will (hopefully) ignore the onboard driver and load the pci card driver instead.
The ens1371 is the card that I want to use. The onboard card is C-Media Electronics Inc CM8738 (according to lspci). I do not see where the onboard driver is being loaded. Is it? Maybe ALSA is not running and my sound is coming from elsewhere? What is my next step?
there should be sound options there (similar to alsa), change the module there to the other card.
But be careful with editing this file...
afterwards do a "update-modules"
that should be it, if everything in alsa's config points to the right soundcard ...
sometimes I even had to reboot because of alsa... but if the right modules are loaded it should work without.
also there should be some config-programm coming with alsa.... alsaconf or something, did you try that ?
btw: there's a lot of guides and documentation on the alsa-site for every soundchip supported: http://alsa-project.org
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.