Re: records in modprobe.conf

From: Wiseguy (noone_at_all.com)
Date: 01/27/05


Date: 26 Jan 2005 19:23:29 -0600

Bemol <wm@homestudio.one.pl> wrote in
news:ct55ma$lol$3@atlantis.news.tpi.pl:

> Hi,
> Coul anybody help me?
> What kind of records should be in modprobe.conf file for serial and
> parallel ports to be load during computer's boot?
> thx for response.
>

I don't think modprobe loads modules at boot unless some event triggers
their necessity. The way I handle this is to put the necessary insmod
commands in a system startup script.

If the modules are related to a specific device then you can use

modname char-major-xx-yy

or

modname block-major-xx-yy

where the xx-yy is the major and minor device numbers. Then if any
process opens the device that uses that major/minor pair, the modname
module will be loaded by modprobe. I cannot remember if I have the
syntax correct since I'm reading news from under windoze at the moment.