LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   modules.conf - Cannot get modules to load automatically (https://www.linuxquestions.org/questions/linux-general-1/modules-conf-cannot-get-modules-to-load-automatically-129414/)

gundelgauk 12-27-2003 11:02 PM

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!

DavidPhillips 12-27-2003 11:27 PM

most distros use /etc/rc.d/rc.modules to modprobe the required drivers.


All times are GMT -5. The time now is 06:20 AM.