|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Remco (remco
d-compu.dyndns.org)
Date: Sun Aug 24 2008 - 04:44:35 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ajitabh Pandey wrote:
> Hi,
>
> I have a Dell Pentium III 1GHz/512MB running OpenBSD 4.3. I am running
> the generic kernel. When I press the power button on the front the
> machine just switches off.
>
> I wanted if the power button is pressed then the shutdown is started
> followed by poweroff (shutdown -hp now).
>
The OS can override the BIOS when it's ACPI enabled. It seems you do not
have a multi-processor system and I think ACPI is disabled.
What works for me is to create a kernel image with APM disabled and ACPI
enabled. (see config(8), you can temporarily do this by using the -c option
at the boot prompt and type "disable apm", "enable acpi", see boot.conf(5))
If your dmesg shows you:
acpibtn0 at acpi0: PWRB
you should have a working power button. (also see acpi(4), acpibtn(4))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]