From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 8 03:55:24 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C94F16A47B for ; Fri, 8 Dec 2006 03:55:24 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD01243CA6 for ; Fri, 8 Dec 2006 03:54:28 +0000 (GMT) (envelope-from nate@root.org) Received: (qmail 85846 invoked from network); 8 Dec 2006 03:55:25 -0000 Received: from ppp-71-139-31-204.dsl.snfc21.pacbell.net (HELO ?10.0.5.59?) (nate-mail@71.139.31.204) by root.org with ESMTPA; 8 Dec 2006 03:55:25 -0000 Message-ID: <4578E223.8060302@root.org> Date: Thu, 07 Dec 2006 19:55:15 -0800 From: Nate Lawson User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: screen dead after resume on Thinkpad X30 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: Fri, 08 Dec 2006 03:55:24 -0000 Ian Smith wrote: > On Thu, 7 Dec 2006, Lutz Boehne wrote: > > > I'm tracking RELENG_6 and after one upgrade, my Thinkpad X30 does not > > properly wake up out of standby anymore. After waking up, the laptop > > will still respond to key presses and I am able to reboot it by pressing > > Ctrl-Alt-Del, but nothing will appear on the screen until I see the BIOS > > POST. > > > > I spent some time to narrow down which changes in RELENG_6 seem to be > > responsible and found out that RELENG_6 from August 16th 2006 12:01am > > works fine and that RELENG_6 from 08:00pm that day does not. > > > > Candidate files are: > > src/sys/dev/acpica/acpi_video.c > > src/sys/i386/acpica/acpi_machdep.c > > src/sys/i386/acpica/acpi_wakecode.S > > src/sys/i386/acpica/acpi_wakeup.c > > > > I locally replaced those files in today's RELENG_6 with versions from > > before August 16th, built/installed kernel and world and resume works > > properly again. > > Not sure if it's your {,only} problem, but the default value for > hw.acpi.reset_video changed fairly recently, I think from 1 to 0, as I > had to set hw.acpi.reset_video=0 in /etc/sysctl.conf on a Thinkpad T23 > on 6.1-RELEASE. You'll find recent references to this in the archives. > > Try hardwiring the value from your working version into sysctl.conf. > > FWIW, I also needed hw.syscons.sc_no_suspend_vtswitch=1 on the T23. Thanks for answering. The reason why the default is now 0 is that it caused some systems to spontaneously reset if it was 1. I did a quick check and it seemed that 1 causes more trouble overall than 0 so 0 is the default. -- Nate