Subject: Re: powerdown system
To: None <port-i386@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-i386
Date: 12/16/2003 09:54:07
In article <20031215171652.GA5718@cyclonus>,
	Christian Biere <christianbiere@gmx.de> writes:
> That can't be quite true.

From "src/sys/arch/i386/i386/mainbus.c":

void
mainbus_attach(parent, self, aux)
        struct device *parent, *self;
        void *aux;
{
[...]
#if NAPM > 0
#if NACPI > 0
        if (acpi_active == 0)
#endif
        if (apm_busprobe()) {
                mba.mba_aaa.aaa_busname = "apm";
                config_found(self, &mba.mba_aaa, mainbus_print);
        }
#endif
}

As you can see the kernel will not attempt to use APM if ACPI is active.
Try "dmesg | grep apm0" and you'll see that the APM driver wasn't used.

> I've just compiled a kernel with APM plus ACPI support and finally reboot
> works again.

That is most likely a coincidence.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/