The APMD seems to work fine, according to "grep apmd" excerpt of
/var/log/messages:
: messages:Oct 12 10:29:34 apollo kernel: apm: BIOS version 1.2 Flags 0x03 \
: (Driver version 1.16)
: messages:Oct 12 10:29:35 apollo apmd[3239]: Version 3.0.2 (APM BIOS 1.2, \
: Linux driver 1.16)
: messages:Oct 12 10:29:35 apollo apmd: apmd startup succeeded
: messages:Oct 12 10:29:37 apollo apmd[3239]: Charge: * * * (-1% unknown)
: messages:Oct 12 10:31:11 apollo apmd[3239]: Exiting
: messages:Oct 12 10:31:11 apollo apmd: apmd shutdown succeeded
But your "apm" key word made me search in the kernel sources for
"Power down". There I found this branch in arch/i386/kernel/apm.c:
: static void apm_power_off(void)
: {
: ...
: /*
: * This may be called on an SMP machine.
: */
: if (apm_info.realmode_power_off)
: {
: (void)apm_save_cpus();
: machine_real_restart(po_bios_call, sizeof(po_bios_call));
: /* Never returns */
: }
: else
: (void) set_system_power_state(APM_STATE_OFF);
: }
That reminded me that I'm booting a 2.4.20-8smp kernel (the first one
Redhat 9 shows me in the Grub menu).
Now, booting the other entry 2.4.20-8, is dowing the power down as it
should
And the non-smp should be fine for me, since I have only
one CPU.
Thanks!
-Max