From owner-freebsd-acpi@FreeBSD.ORG Sun May 13 18:21:15 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 831541065674; Sun, 13 May 2012 18:21:15 +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 F2BE68FC1B; Sun, 13 May 2012 18:21:14 +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 q4DILD2H002578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 13 May 2012 20:21:13 +0200 Received: from [10.1.170.94] (99.Red-80-27-97.dynamicIP.rima-tde.net [80.27.97.99]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id q4DIL9uQ022662 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 13 May 2012 20:21:10 +0200 References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> <4FAF696D.3060806@entel.upc.edu> <20120513.234014.26960250.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120513.234014.26960250.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Message-Id: <9E61BC2D-2654-40D9-936F-A99CD7AC1354@entel.upc.edu> X-Mailer: iPhone Mail (9B206) From: Gustau Perez Date: Sun, 13 May 2012 20:21:05 +0200 To: Mitsuru IWASAKI 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 20:21:13 +0200 (CEST) Cc: "freebsd-acpi@freebsd.org" , "freebsd-current@freebsd.org" Subject: Re: [CFT] SMP/i386 suspend/resume X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2012 18:21:15 -0000 Enviat des del meu iTotxo El 13/05/2012, a les 16:40, Mitsuru IWASAKI va escr= iure: > Hi, Thanks for your report. >=20 > From: Gustau P=C3=A9rez i Querol > Subject: Re: [CFT] SMP/i386 suspend/resume > Date: Sun, 13 May 2012 09:57:33 +0200 > Message-ID: <4FAF696D.3060806@entel.upc.edu> >=20 >> Al 11/05/2012 04:10, En/na Mitsuru IWASAKI ha escrit: >>> Hi >>>=20 >>> 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: >>>=20 >>> http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-CURRENT-2012051= 1.diff >>> http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_9-201205= 11.diff >>> http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_8-201205= 11.diff >>>=20 >>> A lot of portion of the patches was ported from amd64. >>> Testing on Thinkpad X60 (Core Duo T2300), so far so good :) >>>=20 >>> I'll commit them against CURRENT hopefully next week. >>>=20 >>=20 >> Reporting from an Acer Centrino Duo, running CURRENT r235266. The=20 >> machine has an nvidia card (Ge7300go). The acpi_video and nvidia modules=20= >> are there. >>=20 >> I did test it a few times with X running (plain twm) and worked just=20= >> fine. Setting hw.acpi.lid_switch_state=3DS3 allowed me to use the=20 >> close-the-lid-to-sleep functionality. >>=20 >> The problem comes when I suspend the machine in the console. The=20 >> machine resumes fine (I can ping and ssh it) but the screen remains=20 >> black. I set hw.acpi.reset_video to 0 or 1 but no go. If I'm in a=20 >> console but X is running, after the resume I can CTRL+ALT+F9 and get my=20= >> video back; then I can return to the console. If I don't have X running,=20= >> I don't know how to get my console back. >=20 > I think this is graphic driver problem. nvidia's driver seems > to have correct suspend/resume method. > http://www.nvidia.com/object/freebsd_archive.html >=20 > Have you try it? Yes, it is running the propietary driver. Everything was done with it load= ed. Do you want me to try without the nvidia binary driver? OTOH, IIRC the console only test (without X) without acpi_video lead to f= reeze. No crash dump. The machine has no serial or fwire ports :( Thanks Gus =20 >=20 > Thanks >=20 >>=20 >> Thanks >>=20 >>=20