From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 29 02:10:34 2008 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 575E21065671 for ; Sun, 29 Jun 2008 02:10:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id CB98A8FC14 for ; Sun, 29 Jun 2008 02:10:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5T2ADV0002543; Sat, 28 Jun 2008 22:10:20 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Kevin Oberman" Date: Sat, 28 Jun 2008 22:10:08 -0400 User-Agent: KMail/1.9.7 References: <20080629003009.BB47C45047@ptavv.es.net> In-Reply-To: <20080629003009.BB47C45047@ptavv.es.net> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200806282210.08679.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Sat, 28 Jun 2008 22:10:20 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7583/Sat Jun 28 11:00:59 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-acpi@freebsd.org Subject: Re: Freebsd 7-stable on Asus Pro31j - suspend and 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, 29 Jun 2008 02:10:34 -0000 On Saturday 28 June 2008 08:30:09 pm Kevin Oberman wrote: > > From: John Baldwin > > Date: Sat, 28 Jun 2008 17:55:12 -0400 > > Sender: owner-freebsd-acpi@freebsd.org > > > > On Saturday 28 June 2008 05:25:29 am Mark Kirkwood wrote: > > > I've just seen Christopher's post on the nc6230 suspend and resume - I'm > > > suffering what looks like the same problem with an Asus pro31j: > > > > > > 1/ Suspend to S1 and resume works fine > > > 2/ Suspend to S3 and resume works *but* I have no video thereafer. > > > > > > I've have these set: > > > > > > hw.syscons.sc_no_suspend_vtswitch=1 > > > hw.acpi.reset_video: 1 > > > > > > > > > plus the ata-resume patch: > > > > > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > > > > > I know S3 is resuming ok, as I can ssh in via re0 interface and check > > > the message log: > > > > > > Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 > > > Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) > > > Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 > > > > > > (I've patched rc.suspend and rc.resume to log both $subsystem and $state) > > > > > > > > > I have not tried setting: > > > > > > hw.acpi.video.lcd0.active=1 > > > > > > as I have no such sysctl oid! > > > > You have to use the acpi_video(4) driver (kldload acpi_device or 'device > > acpi_video'). Your BIOS also has to provide video control via ACPI. > > I feel nervous correcting jhb, but I think he had a metal mis-fire > here. I believe that he meant to say "You have to use the acpi_video(4) > driver (kldload acpi_video)". Yep, thanks for catching that. :) Also, as someone else pointed out, the URL was not quite right, it's vesa_dpms.patch rather than dpms.patch, so http://www.FreeBSD.org/~jhb/patches/vesa_dpms.patch -- John Baldwin