From nobody@FreeBSD.org  Thu Feb 15 19:15:51 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 841EE16A4CC
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Feb 2007 19:15:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 603C113C4B6
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Feb 2007 19:15:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1FJFpT4059457
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Feb 2007 19:15:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1FJFpCT059456;
	Thu, 15 Feb 2007 19:15:51 GMT
	(envelope-from nobody)
Message-Id: <200702151915.l1FJFpCT059456@www.freebsd.org>
Date: Thu, 15 Feb 2007 19:15:51 GMT
From: Nicholas Hockey<nhockey@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ACPI Promlem
X-Send-Pr-Version: www-3.0

>Number:         109207
>Category:       kern
>Synopsis:       ACPI Problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-acpi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 15 19:20:04 GMT 2007
>Closed-Date:    Fri Jun 15 10:17:22 GMT 2007
>Last-Modified:  Fri Jun 15 10:17:22 GMT 2007
>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 believe 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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi 
Responsible-Changed-By: remko 
Responsible-Changed-When: Thu Feb 15 19:44:53 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109207 

From: John Baldwin <jhb@FreeBSD.org>
To: bug-followup@FreeBSD.org, nhockey@gmail.com
Cc:  
Subject: Re: kern/109207: ACPI Promlem
Date: Thu, 15 Feb 2007 21:30:14 -0500

 Umm, S5 is system-off, not suspend.
 
 -- 
 John Baldwin
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Apr 22 10:22:47 UTC 2007 
State-Changed-Why:  
To submitter: did the respondant's feedback fix this problem for you? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109207 

From: Nicholas Hockey <nhockey@gmail.com>
To: bug-followup@FreeBSD.org, nhockey@gmail.com
Cc:  
Subject: Re: kern/109207: ACPI Problem
Date: Sun, 22 Apr 2007 11:21:43 -0400

 --=-Mn4PmP1zT4lEMSmPgqOt
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 Occasionaly i still have a problem with on resume, but i bealive it's
 more closely related to acpi. This problem seems fixed in the most
 recent snapshot of RELENG_6. When i have more info as to the acpi lock,
 i will open a seperate ticket.
 
 --=-Mn4PmP1zT4lEMSmPgqOt
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.2 (FreeBSD)
 
 iD8DBQBGK32GocaaLAbJFykRArtPAJ9BE71dcZFp8xy3c5/384enz/QHpQCfSTjA
 yMKO1exEazqdnRwNaYNSPDM=
 =Rpla
 -----END PGP SIGNATURE-----
 
 --=-Mn4PmP1zT4lEMSmPgqOt--
 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jun 15 10:16:49 UTC 2007 
State-Changed-Why:  
Submitter notes that the original problem seems to have been solved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109207 
>Unformatted:
