OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: acpi is working but halt -p is now working, why?

From: Clint Pachl (pachlecentryx.com)
Date: Tue Mar 27 2007 - 14:35:00 CDT


Jay Jesus Amorin wrote:
> im running openbsd 4.1-current on my laptop, acpi is working but halt
> -p is not working, it will just reboot instead of halt, WHY?
>
> here's my additional info:
>
> # sysctl -aA | grep acpi
>
> kern.timecounter.hardware=acpitimer0
> kern.timecounter.choice=i8254(0) acpihpet0(1000) acpitimer0(1000)
> dummy(-1000000)
> hw.sensors.acpiac0.indicator0=On (power supply)
> hw.sensors.acpibat0.volt0=14.80 VDC (voltage)
> hw.sensors.acpibat0.volt1=12.54 VDC (current voltage)
> hw.sensors.acpibat0.amphour0=3.81 Ah (last full capacity)
> hw.sensors.acpibat0.amphour1=0.21 Ah (warning capacity)
> hw.sensors.acpibat0.amphour2=0.13 Ah (low capacity)
> hw.sensors.acpibat0.amphour3=3.42 Ah (remaining capacity), OK
> hw.sensors.acpibat0.raw0=2 (battery charging), OK
> hw.sensors.acpibat0.raw1=unknown (rate), UNKNOWN
> hw.sensors.acpitz0.temp0=51.05 degC (zone temperature)
>
>
Although, it is APM, try:

# sysctl machdep.apmhalt=1

-pachl