From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 27 19:53:02 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CC11480A; Tue, 27 Aug 2013 19:53:02 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 576F92E51; Tue, 27 Aug 2013 19:53:01 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7RJqlGU014493; Tue, 27 Aug 2013 21:52:58 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk26fm-1; Tue, 27 Aug 2013 21:52:58 +0200 Received: from [127.0.0.1] (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id 75F7440115; Tue, 27 Aug 2013 21:52:58 +0200 (CEST) Message-ID: <521D03AE.3050709@sics.se> Date: Tue, 27 Aug 2013 21:53:18 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Subject: suspend/resume on Lenovo X1 (regression from reports on wiki) Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-27_08:2013-08-27,2013-08-27,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308270122 Cc: glebius@freebsd.org, osa@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 19:53:03 -0000 At https://wiki.freebsd.org/SuspendResume, users osa and glebius both report on Thinkpad Carbon X1. They agree that suspend and resume work from X (but not console) for '9.0-stable' and 'head' respectively. Sadly, I can't reproduce this on 9.2-RC2: Under X, resume fails to restore video. I don't know whether this is a configuration error on my part, or a regression, or the original reports on the wiki were misunderstood. (I do reproduce it not working on console.) Suggestions are welcome, especially from those who report working configurations. Details below, log files at http://www.sics.se/~lmfeeney/9.2-RC2. This is a new machine, with a minimal 9.2-RC2 install from memstick. X and its dependencies are installed from packages via portmaster and hald and dbus are enabled, as is ssh. These are the only packages installed. X is started using startx (with twm) and no xorg.conf. The kernel is a minimal kernel with no devices complied in and no option VESA (see ANKUNGE.config, dmesg, devinfo, pciconf, acpi.) Suspend appears to work (screen turns off, no ping, power light pulses slowly). On resume, the kernel resumes and if iwn is loaded, I can ssh into the machine. The screen does not resume, not even the backlight. (Looking with a flashlight, it doesn't seem to be in any mode.) The X server seems to have exited with error message (see messages, Xorg.0.log), but hald and dbus are still running. Fatal server error: EnterVT failed for screen 0 Using debug.bootverbose and debug.acpi.suspend_bounce leaves the backlight on, but doesn't restore the screen. If I ssh into the machine, the X server seems still be running (see messages_bouce, Xorg.0.log_bounce). Loading acpi_video and acpi_ibm modules into the kernel doesn't change the behavior. Same is true for i915 module. (These modules are reported in the working configuration info on the wiki.) The SuspendResume wiki notes that sdhci must be unloaded. These aren't in my minimal kernel, checked by loading and unloading the module). The old acpi.reset_video=1 option gives kernel panic on resume. With option VESA in the minimal kernel, the machine seems to suspend OK. On resume, the backlight comes on and the wlan indicator blinks a couple of times. Otherwise, the machine is unresponsive to both ping and (blind) keyboard commands. The GENERIC kernel has similar behavior. Thanks for any suggestion -- I really hope it's a configuration error on my part, Laura