359 lines
6.1 KiB
HTML
359 lines
6.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Load related modules</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="ACPI: Advanced Configuration and Power Interface"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Reboot and test"
|
|
HREF="finishinstall.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Switching from APM to ACPI"
|
|
HREF="daemons.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>ACPI: Advanced Configuration and Power Interface</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="finishinstall.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="daemons.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="loadmodules"
|
|
></A
|
|
>14. Load related modules</H1
|
|
><P
|
|
>Check to see that each of the ACPI modules have been loaded after
|
|
your machine boots. You can do this with the command
|
|
<B
|
|
CLASS="command"
|
|
>lsmod</B
|
|
>. You are looking for the following options:
|
|
button, battery, fan, ac, thermal and processor. If you chose
|
|
<SPAN
|
|
CLASS="QUOTE"
|
|
>"Y"</SPAN
|
|
> instead of modules when you compiled your kernel, you
|
|
will not see this list. The output on my computer looks like this:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
> Module Size Used by Tainted: P
|
|
button 2420 0 (unused)
|
|
battery 5960 0 (unused)
|
|
ac 1832 0 (unused)
|
|
fan 1608 0 (unused)
|
|
thermal 6664 0 (unused)
|
|
processor 8664 0 [thermal]
|
|
NVdriver 945408 11
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>The last module is my graphics card, which uses proprietary drivers. This
|
|
is why I have a <SPAN
|
|
CLASS="QUOTE"
|
|
>"P"</SPAN
|
|
> next to Tainted on the top line.</P
|
|
><P
|
|
>If you compiled ACPI support in as <SPAN
|
|
CLASS="QUOTE"
|
|
>"M"</SPAN
|
|
>odules and you
|
|
don't see the ACPI modules listed you will need to load the modules by
|
|
hand. The modules should be in
|
|
<TT
|
|
CLASS="filename"
|
|
>/lib/modules/<TT
|
|
CLASS="replaceable"
|
|
><I
|
|
><version></I
|
|
></TT
|
|
>.
|
|
<TT
|
|
CLASS="replaceable"
|
|
><I
|
|
><date></I
|
|
></TT
|
|
>/kernel/drivers/acpi/</TT
|
|
>, and are as
|
|
follows:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
> -rw-r--r-- 1 root root 4.1k Jun 3 23:57 ac.o
|
|
-rw-r--r-- 1 root root 9.5k Jun 3 23:57 battery.o
|
|
-rw-r--r-- 1 root root 5.2k Jun 3 23:57 button.o
|
|
-rw-r--r-- 1 root root 3.7k Jun 3 23:57 fan.o
|
|
-rw-r--r-- 1 root root 14k Jun 3 23:57 processor.o
|
|
-rw-r--r-- 1 root root 11k Jun 3 23:57 thermal.o
|
|
-rw-r--r-- 1 root root 6.2k Jun 3 23:57 toshiba_acpi.o
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><DIV
|
|
CLASS="note"
|
|
><P
|
|
></P
|
|
><TABLE
|
|
CLASS="note"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="25"
|
|
ALIGN="CENTER"
|
|
VALIGN="TOP"
|
|
><IMG
|
|
SRC="../images/note.gif"
|
|
HSPACE="5"
|
|
ALT="Note"></TD
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="CENTER"
|
|
><B
|
|
>Extensions on Modules</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
> </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>The module name is the bit
|
|
before <TT
|
|
CLASS="filename"
|
|
>.o</TT
|
|
> extension on a module
|
|
filename. <TT
|
|
CLASS="filename"
|
|
>processor.o</TT
|
|
> is the file, and processor is
|
|
the module name. To install a loadable kernel module use:
|
|
<B
|
|
CLASS="command"
|
|
>insmod <TT
|
|
CLASS="replaceable"
|
|
><I
|
|
>processor</I
|
|
></TT
|
|
></B
|
|
>. </P
|
|
><P
|
|
> The 2.4.x series kernels use the extension <TT
|
|
CLASS="filename"
|
|
>.o</TT
|
|
>; however, the 2.6.x
|
|
series kernel use the extension <TT
|
|
CLASS="filename"
|
|
>.ko</TT
|
|
>.
|
|
</P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><P
|
|
>The first time I rebooted I loaded them all by hand, typing
|
|
<B
|
|
CLASS="command"
|
|
>insmod <TT
|
|
CLASS="replaceable"
|
|
><I
|
|
><modulename></I
|
|
></TT
|
|
></B
|
|
>.
|
|
I personally load processor
|
|
first, although there are mixed feelings on whether or not the order
|
|
matters.</P
|
|
><DIV
|
|
CLASS="note"
|
|
><P
|
|
></P
|
|
><TABLE
|
|
CLASS="note"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="25"
|
|
ALIGN="CENTER"
|
|
VALIGN="TOP"
|
|
><IMG
|
|
SRC="../images/note.gif"
|
|
HSPACE="5"
|
|
ALT="Note"></TD
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="CENTER"
|
|
><B
|
|
>Operating System Power Management (OSPM)</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
> </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>The first time I tried this the modules were all in separate
|
|
directories and were ospm_<name>. This was probably because I was
|
|
using an old patch, but it is something to be aware of. The OSPM modules
|
|
are now deprecated so hopefully you won't see them.</P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><P
|
|
>To prevent having to load
|
|
the modules each time you reboot you can do one of two things: compile them
|
|
directly into the kernel (bit late for that though, eh?), or add them to
|
|
your <TT
|
|
CLASS="filename"
|
|
>/etc/modules</TT
|
|
> file. If you don't already have a copy of the
|
|
file just create a new one and add each module name (remember, no
|
|
dot-o) on a separate line. You can also try running
|
|
<B
|
|
CLASS="command"
|
|
>update-modules</B
|
|
> which should automatically update your
|
|
<TT
|
|
CLASS="filename"
|
|
>/etc/modules.conf</TT
|
|
> configuration file.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="finishinstall.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="daemons.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Reboot and test</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Switching from APM to ACPI</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |