From owner-freebsd-current@FreeBSD.ORG Sun May 13 09:23:37 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F508106564A; Sun, 13 May 2012 09:23:37 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id D88A78FC16; Sun, 13 May 2012 09:23:34 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id q4D7v2wT022863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 13 May 2012 09:57:02 +0200 Received: from portgus.lan (17.Red-83-38-184.dynamicIP.rima-tde.net [83.38.184.17]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id q4D7v0Bw012801 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 13 May 2012 09:57:01 +0200 Message-ID: <4FAF696D.3060806@entel.upc.edu> Date: Sun, 13 May 2012 09:57:33 +0200 From: =?ISO-8859-1?Q?Gustau_P=E9rez_i_Querol?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120422 Thunderbird/12.0 MIME-Version: 1.0 To: FreeBSD current , freebsd-acpi@freebsd.org References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Sun, 13 May 2012 09:57:02 +0200 (CEST) Cc: Mitsuru IWASAKI Subject: Re: [CFT] SMP/i386 suspend/resume X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2012 09:23:37 -0000 Al 11/05/2012 04:10, En/na Mitsuru IWASAKI ha escrit: > Hi > > I've been working on suspend/resume for SMP/i386 for a week > and created patches against CURRENT, RELENG_9 and RELENG_8 > available at: > > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-CURRENT-20120511.diff > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_9-20120511.diff > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_8-20120511.diff > > A lot of portion of the patches was ported from amd64. > Testing on Thinkpad X60 (Core Duo T2300), so far so good :) > > I'll commit them against CURRENT hopefully next week. > Reporting from an Acer Centrino Duo, running CURRENT r235266. The machine has an nvidia card (Ge7300go). The acpi_video and nvidia modules are there. I did test it a few times with X running (plain twm) and worked just fine. Setting hw.acpi.lid_switch_state=S3 allowed me to use the close-the-lid-to-sleep functionality. The problem comes when I suspend the machine in the console. The machine resumes fine (I can ping and ssh it) but the screen remains black. I set hw.acpi.reset_video to 0 or 1 but no go. If I'm in a console but X is running, after the resume I can CTRL+ALT+F9 and get my video back; then I can return to the console. If I don't have X running, I don't know how to get my console back. Thanks