[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: minimum APM kernel settings to shut off power?


This is going to be some kind of FAQ.

I had the same problem. No combination of settings for AMP were working and ACPI wasn't loaded (Sarge) at startup.

I noticed at the start of dmesg some reports about that my BIOS was too old (1999 < 2001). That was the reason that ACPI wasn't loaded.

After adding the kernel parameter "acpi=force", the module was loaded and working. Now my computer is powered off correctly. That is the only change I had to made.


Florian Kulzer wrote:
On Tue, May 02, 2006 at 19:25:38 +0200, lee wrote:


there are lots of options related to power management in the kernel
config, some/most/all of them seem the be mostly useful for laptops.

The only power management feature I would like to have is turning off
the power on shutdown/halt. What are the minimum options I have to set
in the kernel (2.6.16-2) config to get only that?

Having the apm module should be enough (unless you want to use ACPI).
You might have to modprobe it manually or add it to /etc/modules. If
your power-off does not work, check with "lsmod | grep apm" if the
module is really loaded.

If it does not work even with the APM module loaded, you might have to
enable CONFIG_APM_REAL_MODE_POWER_OFF. Quoting from the help text for
this option:

Use real mode APM BIOS calls to switch off the computer. This is
a work-around for a number of buggy BIOSes. Switch this option on if
your computer crashes instead of powering off properly.

Reply to: