From nobody@FreeBSD.org  Sat Jul 14 20:24:49 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6C10A1065680
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 14 Jul 2012 20:24:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3EB4E8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 14 Jul 2012 20:24:49 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6EKOnc7032265
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 14 Jul 2012 20:24:49 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q6EKOmIk032264;
	Sat, 14 Jul 2012 20:24:48 GMT
	(envelope-from nobody)
Message-Id: <201207142024.q6EKOmIk032264@red.freebsd.org>
Date: Sat, 14 Jul 2012 20:24:48 GMT
From: Rui Paulo <rpaulo@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Prevent system sleep once shutdown has been initiated
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         169862
>Category:       kern
>Synopsis:       [acpi] Prevent system sleep once shutdown has been initiated
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    jkim
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 14 20:30:12 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Jul 15 02:54:44 UTC 2012
>Originator:     Rui Paulo
>Release:        FreeBSD 10
>Organization:
>Environment:
>Description:
The ACPI subsystem should not go into sleep mode once we started system shutdown. We can accomplish this by disabling system shutdown in rc.shutdown.
>How-To-Repeat:
To reproduce try setting hw.acpi.lid_switch_state=S3 and then shutdown the system. While the system is shutting down, close the lid. The system will sleep, which doesn't make much sense at this stage.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkim 
Responsible-Changed-By: rpaulo 
Responsible-Changed-When: Sat Jul 14 23:55:19 UTC 2012 
Responsible-Changed-Why:  
Jung-uk, do you want to tackle this? 

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