/etc/modules

R Kimber richardkimber at btinternet.com
Wed Jul 22 11:09:35 UTC 2015


On Tue, 21 Jul 2015 23:16:44 +0200
Nils Kassube wrote:

> R Kimber wrote:
> > I have:-
> > 
> >    it87 force_id=0x8728
> > 
> > in /etc/modules, but this does not cause the module to be loaded at
> > boot time.  What else do I need to do?
> > 
> > modprobe it87 force_id=0x8728 from the command line works fine.
> 
> I think you have mixed up the syntax of /etc/modules and 
> /etc/modprobe.d/*.conf. In /etc/modules you should only list the modules 
> (one per line) which are to be loaded at boot time. And in 
> /etc/modprobe.d/*.conf you would list the module parameters. So the file 
> /etc/modules should have this entry:
> 
> it87
> 
> and furthermore you should put a file in /etc/modprobe.d/, e.g. 
> /etc/modprobe.d/it87.conf with this contents:
> 
> options it87 force_id=0x8728
> 
> Of course you could add that line to an existing file in 
> /etc/modprobe.d/ as well.
> 
> 
> Nils

Many thanks for the info.  It's working fine now I've done as you
suggested.  There must have been some change at some point, since putting
the option in /etc/modules has worked for me in the past.  It now seems a
slightly over-complicated system.

- Richard.
-- 
Richard Kimber





More information about the ubuntu-users mailing list