Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
How do you configure /etc/modules.conf to alias two different drivers to the same device? I want to attempt one alsa driver to the soundcard, and then the the other as in:
alias snd-card-0 snd-via82xx
alias snd-card-0 snd-intel8x0
The only thing I can find that works is to remove the /etc/modprobe.d/sound file and then add the following two lines to my /etc/rc.local file:
modprobe snd-via82xx
modprobe snd-intel8x0
.. which works, but how do I do the above using the modules.conf file?
Hi Rhys, thanks for advice. I tried it but it turns out because this is debian, things are different and works with a strange system. I'm no fan of debian and I'm sure it's great and all but it doesn't cater for my particular situation.
Anyway, I found this post: http://www.linuxquestions.org/questi...97#post1079897
which outlines getting the modconf utility. This allowed my to nominate that both modules are to at least load into memory by the kernel at boot time. Then I had to specify one of the modules in the /etc/modprobe.d/sound file for alsa. A little clunky but now my harddrive works in both machines.
And from now on I'll use a distro that uses the good old fashioned modules.conf.
That's funny, because I use debian, with a nvidia driver, which I require to load each tim e the computer starts, and putting it into the file worked fine!
It's a strange world.
By the way, Debian is one of the more difficult distributions to learn to use, but reaps great rewards. If you are sure it is not for you, who am I to argue. However, I would say, if you haven't spent much time with it, try it out for a bit longer, you may be happy in the end.
Hmmm well I dunno. But I do know that alsa drivers seem to be law unto themselves. When I vi modules.conf it does say in the file that the file is not meant to be edited and to use the files in /etc/modutils.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.