APM vs. ACPI status detection

APM vs. ACPI status detection

Post by Soos Pete » Wed, 12 Mar 2003 10:30:18


I have a little patch witch sets apm_info.disabled flag not only if APM
disabled by user but if it disabled by SMP or ACPI. Please apply.

<-- Cut here -->
--- ./arch/i386/kernel/apm.c.orig       Tue Mar 11 08:59:24 2003

        if ((smp_num_cpus > 1) && !power_off) {
                printk(KERN_NOTICE "apm: disabled - APM is not SMP safe.\n");
+               apm_info.disabled = 1;
                return -ENODEV;
        if (PM_IS_ACTIVE()) {
                printk(KERN_NOTICE "apm: overridden by ACPI.\n");
+               apm_info.disabled = 1;
                return -ENODEV;
        pm_active = 1;
<-- Cut here -->

Sos Pter            Pannonhalmi F?aptsg / Archabbey of Pannonhalma
                        H-9090 Pannonhalma, Vr 1.
                        Tel: +3696570189, Fax: +3696470011

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


1. APM vs ACPI?


I built APM and ACPI into my kernel, when booting, ACPI says that it is
taking over APM features.

Then when I run the battery meter (this is on a laptop), it can't get the
battery state information. If I get rid of ACPI, everything works ok.

So, what is the diff between ACPI and APM and how does it effect me?

Thanks for the info and help,

2. Modify Cron mail subject from displaying "Output from Cron"

3. PATCH: apm.c - detection of brokern APM Idle call implementation

4. pine looks to network WHY???????

5. apm -z vs apm -Z

6. sendmail... don't want!!

7. ACPI IRQ routing (was [ACPI] ACPI source release updated (200 11205))

8. NAT interferes with traffic control

9. Linux ACPI/APM support?

10. Redhat 9 APM/ACPI problem


12. [Fwd: Re: Waking up Non-acpi (and non-apm) compliant IDE devices]

13. ACPI / APM - Battery level not readable on HP Omnibook XE3 (again)