From owner-freebsd-acpi@FreeBSD.ORG Sun May 13 14:40:28 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 4BA851065672; Sun, 13 May 2012 14:40:28 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 014A58FC0C; Sun, 13 May 2012 14:40:27 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q4DEeFsq079851; Sun, 13 May 2012 23:40:15 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Sun, 13 May 2012 23:40:14 +0900 (JST) Message-Id: <20120513.234014.26960250.iwasaki@jp.FreeBSD.org> To: gperez@entel.upc.edu From: Mitsuru IWASAKI In-Reply-To: <4FAF696D.3060806@entel.upc.edu> References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> <4FAF696D.3060806@entel.upc.edu> X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 14:40:28 -0000 Hi, Thanks for your report. From: Gustau P=E9rez 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> > 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-20= 120511.diff > > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_9-2= 0120511.diff > > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_8-2= 0120511.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 modu= les = > are there. > = > I did test it a few times with X running (plain twm) and worked ju= st = > fine. Setting hw.acpi.lid_switch_state=3DS3 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 runni= ng, = > I don't know how to get my console back. 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 Have you try it? Thanks > = > Thanks > = > =