Subject: Re: NOTE: ACPI update
To: Charles M. Hannum <abuse@spamalicious.com>
From: Alexander Yurchenko <grange@rt.mipt.ru>
List: current-users
Date: 11/09/2003 03:30:03
On Sat, Nov 01, 2003 at 01:14:49PM -0500, Steve Rumble wrote:
> ACPI-1283: *** Error: Method execution failed
> [\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc1987060), AE_NOT_EXIST
This is due rev. 1.47 change in dev/acpi/acpi.c.
Your system really needs AcpiInitializeObjects() to be called with flags
ACPI_NO_DEVICE_INIT | ACPI_NO_OBJECT_INIT.
Try this patch:
--- dev/acpi/acpi.c 2003/11/03 18:51:31 1.57
+++ dev/acpi/acpi.c 2003/11/09 00:29:16
@@ -293,7 +293,7 @@
sc->sc_dev.dv_xname, AcpiFormatException(rv));
return;
}
- rv = AcpiInitializeObjects(0);
+ rv = AcpiInitializeObjects(ACPI_NO_DEVICE_INIT |
ACPI_NO_OBJECT_INIT);
if (ACPI_FAILURE(rv)) {
printf("%s: unable to initialize ACPI objects: %s\n",
sc->sc_dev.dv_xname, AcpiFormatException(rv));
--
Alexander Yurchenko (aka grange)