ACPI "Soft-off" power button only rebooting system, not powering off

From: Andrew Paprocki
Date: Wed Sep 17 2008 - 00:50:21 EST


I have an AMD / Award BIOS based system which does not properly shut
off when I hold down the power button for 4 seconds. The BIOS is
configured to have "Soft-off" set to "Delay for 4 seconds" which is
supposed to power the machine off if the button is held that long.

I first thought this could be a BIOS bug, but this *only* appears to
happen while Linux is running. If the computer is running WinXP, it
works fine. Also, if I hold down the button for 4 seconds while the
BIOS is in POST, it also works fine. If the kernel has booted, even if
the kernel is not running anymore due to a `halt`, holding the button
down merely reboots the PC after 4 seconds.

Can anyone offer a place to start poking around to see why this only
happens when Linux is running? Would this have to do with the ACPI
code itself? The kernel version does not seem to matter. I first
noticed this on stock Debian 2.6.18-4, and I just reproduced it right
now using 2.6.26.5.

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