Differences between current version and previous revision of Module.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 7 | Last edited on Tuesday, October 4, 2005 7:57:24 pm | by JohnMcPherson | |
Older page: | version 6 | Last edited on Tuesday, October 4, 2005 4:44:52 pm | by IanMcDonald | Revert |
@@ -33,14 +33,18 @@
modinfo ''modulename''
</pre>
to see the list of supported options for a particular module.
-To specify the options for a module on many [LinuxDistribution]s on a 2.6 series LinuxKernel edit one of the files in the directory <tt>/etc/modutils
</tt> and use a line something like:
+To specify the options for a module on many [LinuxDistribution]s on a 2.6 series LinuxKernel edit one of the files in the directory <tt>/etc/modprobe.d/
</tt> and use a line something like:
<pre>
options ov51x led2=0
</pre>
where the above example sets the led2 option to 0 for the ov51x module.
-Now run
<tt>update-
modules</tt> and the options get transferred to
the <tt>/etc/modprobe.d
</tt> directory and to
<tt>/etc/
modules.conf
</ff
>. You
will need to unload and then load the module for new parameters to take effect.
+On a 2.4 series kernel, these settings go into
<tt>/etc/
modules.conf
</tt>
+instead. (On Debian-based systems using a 2.4 kernel, put your settings into a file in
the <tt>/etc/modutils/
</tt> directory and then run
<tt>update-
modules</tt
> to re-create the modules.conf file
.)
+
+Regardless of which kernel you are running,
+you
will need to unload and then load the module for new parameters to take effect.
----
See also KernelErrorMessages for some errors related to modules, and ModuleInitTools for information about modules with [LinuxKernel2.6].