From nobody@FreeBSD.org  Mon Dec 17 07:47:07 2012
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 2E90D741
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Dec 2012 07:47:07 +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 14AFA8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Dec 2012 07:47:07 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBH7l6Ih043324
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Dec 2012 07:47:06 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBH7l6FZ043323;
	Mon, 17 Dec 2012 07:47:06 GMT
	(envelope-from nobody)
Message-Id: <201212170747.qBH7l6FZ043323@red.freebsd.org>
Date: Mon, 17 Dec 2012 07:47:06 GMT
From: Ganael Laplanche <martymac@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ACPI] Suspend/resume broken on Lenovo x220
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174504
>Category:       kern
>Synopsis:       [acpi] [suspend/resume] Suspend/resume broken on Lenovo x220
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-acpi
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 17 07:50:00 UTC 2012
>Closed-Date:    
>Last-Modified:  Tue Apr 22 05:31:42 UTC 2014
>Originator:     Ganael Laplanche
>Release:        10-CURRENT
>Organization:
http://contribs.martymac.org
>Environment:
FreeBSD laptop.martymac.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r231062M: Fri Dec 14 16:08:50 CET 2012     martymac@laptop.martymac.org:/usr/obj/files/Src/sys/GENERIC  amd64
>Description:
Hi,

See this thread :

http://lists.freebsd.org/pipermail/freebsd-current/2012-December/038530.html

and this one :

http://lists.freebsd.org/pipermail/freebsd-current/2012-March/032519.html

Suspend/resume is broken on my Lenovo x220 (amd64) since revision 231797.

To find this regression, I used a kernel patched with KMS patch "all.13.7.patch", as well as the new Xorg and the intel+KMS driver. Suspend/resume breaks at revision 231797 while it works fine until 231796.

To be more precise, suspend does not seem to terminate ; resume make the computer hang.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi 
Responsible-Changed-By: martymac 
Responsible-Changed-When: Wed Dec 26 07:29:12 UTC 2012 
Responsible-Changed-Why:  
Over to ACPI team 

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

From: "Ganael LAPLANCHE" <martymac@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/174504: [ACPI] Suspend/resume broken on Lenovo x220
Date: Thu,  5 Sep 2013 06:35:39 +0000 (UTC)

 Hi,
 
 Following this message :
 
 http://lists.freebsd.org/pipermail/freebsd-acpi/2013-August/008335.html
 
 I can confirm that removing the VESA option from the kernel enables
 suspend/resume again. I don't know how the change introduced by rev.
 231797 is related to VESA, but it might give a hint.
 
 As removing VESA is only a workaround, I'll leave this PR opened for the
 moment. Feel free to close it if you think it can be.
 
 Best regards,
 
 --
 Ganael LAPLANCHE <ganael.laplanche@martymac.org>
 http://www.martymac.org | http://contribs.martymac.org
 FreeBSD: martymac <martymac@FreeBSD.org>, http://www.FreeBSD.org
>Unformatted:
