<?php /* -*- HTML -*- */
/*

$Id: apm.php,v 1.5 2002/03/19 16:40:23 cph Exp $

Copyright (c) 2001, 2002 Massachusetts Institute of Technology

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.

*/

include ("support.php");
$SCRIPT_TITLE = "Advanced Power Management (APM)";
standard_header ("\$Id: apm.php,v 1.5 2002/03/19 16:40:23 cph Exp $");
?>

<p>
Debian provides

<a href="http://www.worldvisions.ca/~apenwarr/apmd/">apmd</a>

version 3.0final, which generally seems to work OK.  However,
the Debian implementation of the <b>apmd_proxy</b> script has
discarded most of the features that are available in the upstream
script.  The end result is that the unmodified

<a href="http://packages.debian.org/stable/admin/apmd.html">Debian apmd</a>

doesn't support most of the APM features of this machine (or
many others, for that matter).  I believe that Red Hat uses the
upstream script, which requires only slight editing to get most of
these features to work.
</p>

<p>
Recent versions of apmd (3.0.2 as of this writing) have fixed the
problems of the 3.0final package.  A version of the newer package that
has been compiled for Debian 2.2 is available

<?php debref ("apmd", "here") ?>.
</p>

<p>
Some problems still remain with the APM support for these machines.
In particular, there are two common problems that have been observed,
on both the OmniBook 500 and 6000 models, in which the IDE subsystem
loses interrupts.  One problem occurs when the machine is resumed, and
the other occurs when the power cable is removed or inserted.  In both
cases, the problem only occurs when there is disk activity during the
APM event.
</p>

<p>
In the case of the power-cable problem, <strong>serious disk
corruption</strong> has been observed.  The risk of this problem can
be minimized by running the <samp>sync</samp> command immediately
prior to removing or inserting the power cable, making sure the disk
light goes out before doing so.  Also, never suspend the machine in
one power state (AC or battery) and resume it in the other state.
</p>

<p>
There are many messages relating to this problem on the mailing list.
Here is the one that

<a href="http://zurich.ai.mit.edu/pipermail/omnibook/2002-January/000816.html">
started the thread
</a>.
</p>

<?php standard_footer () ?>
