Re: How to Power off with ACPI/APM?

Michael D. Crawford
2001-01-05T06:27:53Z

> How is each of your setups, ie, what is compiled in kernel and what is
> a module ? My guess is:
> - ACPI+APM in kernel: ACPI wins
> - APM in kernel, ACPI module; APM starts, blocks ACPI
> - and so on....

Nope. If they're both in the kernel, APM wins.

When I built with both ACPI and APM, and then APM ran first. ACPI started up in
the kernel, commented that APM was already there, and exited.

Many folks have given me tips on getting power off to work, I'll screw around to
see if I can get it to go. But I guess the fact that ACPI exits if APM is
enabled is a real bug.

I know it's hip, cool and efficient to use modules but I often start by
hardwiring things into the kernel because I may not have stuff set up right yet
to load the modules after getting the new kernel. Just saying Y instead of M
often makes things work without further trouble.

CONFIG_PM=y
CONFIG_ACPI=y
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

--
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com/
crawford@goingware.com

Tilting at Windmills for a Better Tomorrow.