Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 19:15:51 GMT
From:      Nicholas Hockey<nhockey@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/109207: ACPI Promlem
Message-ID:  <200702151915.l1FJFpCT059456@www.freebsd.org>
Resent-Message-ID: <200702151920.l1FJK5Wh057218@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109207
>Category:       misc
>Synopsis:       ACPI Promlem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 15 19:20:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Nicholas Hockey
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD core 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sun Oct 15 22:36:12 EDT 2006     tilt@core:/usr/obj/usr/src/sys/CORE  i386
>Description:
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

>How-To-Repeat:
Set hw.acpi.sleep_button_state to S1
use sysctrl -s 5 to suspend

>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702151915.l1FJFpCT059456>