From owner-freebsd-mobile@FreeBSD.ORG Fri May 25 04:07:01 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA8461065672; Fri, 25 May 2012 04:07:01 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 6988C8FC0A; Fri, 25 May 2012 04:07:01 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q4P470hO016035; Thu, 24 May 2012 21:07:00 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q4P470t2016034; Thu, 24 May 2012 21:07:00 -0700 (PDT) (envelope-from david) Date: Thu, 24 May 2012 21:07:00 -0700 From: David Wolfskill To: Adrian Chadd Message-ID: <20120525040700.GH2446@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Adrian Chadd , freebsd-mobile@freebsd.org, FreeBSD Stable Mailing List , jkim@freebsd.org, Mitsuru IWASAKI References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYYhpFXgKVw71fwr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Mitsuru IWASAKI , FreeBSD Stable Mailing List , jkim@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 04:07:01 -0000 --mYYhpFXgKVw71fwr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 24, 2012 at 08:46:03PM -0700, Adrian Chadd wrote: > Hi, >=20 > I'm toying with the SMP/i386 ACPI suspend/resume patches in -9. Thanks > so much for this! Note that enough of those patches have been committed (at least as of r235891) that I was able to perform suspend/resume properly on my laptop (a Dell Precision M4400; video is "NVIDIA GPU Quadro FX 770M (G96GL)", and I use the nVidia driver (ports/x11/nvidia-driver)) without adding more patches. > I've noticed though that the video backlight stays off after resume. A > common problem on -9, so I set hw.acpi.reset_video=3D1. That restores > the backlight. I do not see that behavior, and: g1-227(8.3-S)[7] sysctl hw.acpi.reset_video hw.acpi.reset_video: 0 (Yes, I'm running stable/8 on the present slice. I have stable/9 on another slice. And the experiment I did was with a slice where I had built stable/9 (i386) using clang.) > However, the video mode isn't restored. I have my console set to > VGA_80x60 and the resume seems to set it up "wrong". I get half or so > of each line displayed. That is another issue that I have not observed (in my case). > ... > Is there a shortcoming somewhere in syscons/ACPI video restore on -9 > that doesn't properly restore the configured mode? I believe that my experience is evidence that if such a shortciming exists, it is not a general one. For me, suspend/resume in stable/9 Just Works (thanks to the hard work of others (such as iwasaki@), of course). > Thanks again for all your hard work! Now that you've done that, I'll > go off and work on fixing up ath(4) suspend/resume for PCI devices. :) Cool! :-) (Adrian, next BAFUG, perhaps we could compare notes/behaviors in person, if that might be of use?) Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --mYYhpFXgKVw71fwr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+/BWMACgkQmprOCmdXAD3hxQCfRnE08WTGdP/3czZSu3LRnWL4 YZ4An3oFAvDDNTX/F9Q3TgtMbiT7vsyN =VObg -----END PGP SIGNATURE----- --mYYhpFXgKVw71fwr--