misc/109207: ACPI Promlem

Nicholas Hockey nhockey at gmail.com
Thu Feb 15 19:20:05 UTC 2007

>Number:         109207
>Category:       misc
>Synopsis:       ACPI Promlem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 15 19:20:04 GMT 2007
>Originator:     Nicholas Hockey
>Release:        6-STABLE
FreeBSD core 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sun Oct 15 22:36:12 EDT 2006     tilt at core:/usr/obj/usr/src/sys/CORE  i386
When hw.acpi.sleep_button_state is set to S1 and i suspend my computer using acpiconf -s 5, on resume it freezes. I bealive it's trying to resume from a S1 state even though it was suspended to a S5 state. The reason i bealive this to be true is, when hw.acpi.sleep_button_state is set to S5 everything seems to work fine. Also when when i set either hw.acpi.power_button_state or hw.acpi.lid_switch_state to S5 everything seems to work fine either closing the lid or pressing the power button.

sysctrl hw.acpi output:
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S5
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_supported: C1/0 C2/50
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00% 0.00%
hw.acpi.acline: 0
hw.acpi.battery.life: 40
hw.acpi.battery.time: 190
hw.acpi.battery.state: 1
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
hw.acpi.video.crt0.active: 0
hw.acpi.video.lcd0.active: 1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 25.0C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 78.0C
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1

Set hw.acpi.sleep_button_state to S1
use sysctrl -s 5 to suspend

if you want to use acpiconf -s to suspend the machine you MUST set hw.acpi.sleep_button_state to the same state prior to issuing the acpiconf command.

More information about the freebsd-bugs mailing list