From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 29 00:40:49 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 1D5FC1065671; Sun, 29 Jun 2008 00:40:49 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal4.es.net [198.124.252.66]) by mx1.freebsd.org (Postfix) with ESMTP id AAC278FC12; Sun, 29 Jun 2008 00:40:48 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id JGH77910; Sat, 28 Jun 2008 17:30:10 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id BB47C45047; Sat, 28 Jun 2008 17:30:09 -0700 (PDT) To: John Baldwin In-Reply-To: Your message of "Sat, 28 Jun 2008 17:55:12 EDT." <200806281755.13092.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1214699409_59533P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 28 Jun 2008 17:30:09 -0700 From: "Kevin Oberman" Message-Id: <20080629003009.BB47C45047@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: John Baldwin X-To_Domain: freebsd.org X-To: John Baldwin X-To_Email: jhb@freebsd.org X-To_Alias: jhb 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 00:40:49 -0000 --==_Exmh_1214699409_59533P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > 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)". In my case, I have acpi_video_load="YES" in /boot/loader.conf (brining the ways to do this up to 3). -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1214699409_59533P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFIZteRkn3rs5h7N1ERAtdoAJ48k4QwQnj60uzKwEzj7TxOf6//0QCgsp+T 7CCLT2mqZwcUSSd1YgiiPDw= =V0Gz -----END PGP SIGNATURE----- --==_Exmh_1214699409_59533P--