LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-17-2005, 01:11 AM   #1
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Rep: Reputation: 30
modules.conf with multiple drivers?


This is related to my problem at: http://www.linuxquestions.org/questi...hreadid=354031

However all I want to know is:

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?
 
Old 08-17-2005, 04:50 AM   #2
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
This may be rather simple, and I may be missing it, but as far as I know, you add

snd-via82xx
snd-intel8x0

on separate lines in /etc/modules.com file

Hope that helps,

Rhys
 
Old 08-17-2005, 06:53 PM   #3
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Original Poster
Rep: Reputation: 30
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.
 
Old 08-17-2005, 07:12 PM   #4
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
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.

Rhys
 
Old 08-17-2005, 07:49 PM   #5
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conf.modules Vs Modules.conf Issue, lost eth0 initialization LinuxFreebie41 Linux - General 3 11-04-2004 06:02 AM
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration