LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2003, 11:02 PM   #1
gundelgauk
Member
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
Unhappy modules.conf - Cannot get modules to load automatically


Greetings!


I have a lot of trouble with my modules.conf as I simply cannot understand its workings. I am using SuSE 8.1 but built my own kernel (2.4.23) which might be the cause of my problems. My main problem is that I don't quite get the concept of this char-major-### thing and I could not find any decent literature on it.

For one thing there are the usb modules: usbcore, usb-ohci and hid.

I found the following lines:
Code:
########################################################################
# USB
########################################################################

# done by hotplug
alias char-major-166 off
Now does char-major-166 have to do with USB? If it does then I need to delete this line because I'm not using the hotplug service. Then I found this line:
Code:
#alias char-major-180     usbcore
Now is 180 the correct one for usbcore? But somewhere on the web it said that I should enter alias usbdevfs usbcore instead of the above to be able to mount the usbdevfs. Or do I need both?. Now I am already pretty confused. But there is more to come:
Code:
# alias char-major-188 usbserial
#alias usb-interface usb-ohci
I do not know what usbserial is and I'm pretty sure that I won't need it. However I do need the usb-ohci, so would this entry be correct?

And one thing I could not find at all in my modules.conf: hid.o, scanner.o, printer.o, ... all the actual device drivers. I want to have at least hid.o loaded automatically because it's not nice having to load it manually every time I boot the machine to be able to use my mouse.


This post is already pretty big and confusing so I'll spare you about my problems with loading alsa/ide-scsi modules for now. I'd be very glad for any insight anyone could offer me!
 
Old 12-27-2003, 11:27 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
most distros use /etc/rc.d/rc.modules to modprobe the required drivers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to load modules automatically kulmis Linux - Newbie 4 08-08-2005 09:59 AM
Conf.modules Vs Modules.conf Issue, lost eth0 initialization LinuxFreebie41 Linux - General 3 11-04-2004 06:02 AM
how do i get modules to load automatically behmjose Linux - General 2 04-13-2004 08:32 PM
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 - General

All times are GMT -5. The time now is 09:14 AM.

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