lkml.org 
[lkml]   [2002]   [Sep]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 12 Sep 2002 10:04:37 +0200 (CEST)
FromSoos Peter <>
SubjectAPM & ACPI detect
Hi,

Are there any "official way" to detect that APM or ACPI is active?

With APM I try it and it works:

#ifdef CONFIG_APM
#include <linux/apm_bios.h>
#endif

...

#ifdef CONFIG_APM
if (apm_info.disabled >= 0) {
                printk(KERN_NOTICE "Real APM support is present.\n");
}
#endif
Are there any similar for ACPI?

Thanks,
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:22    [W:0.150 / U:0.180 seconds]
©2003-2008 Jasper Spaans