From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 8 05:30:56 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 D1D4E16A416 for ; Fri, 8 Dec 2006 05:30:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0EE243CB3 for ; Fri, 8 Dec 2006 05:29:58 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id QAA15904; Fri, 8 Dec 2006 16:30:34 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 8 Dec 2006 16:30:33 +1100 (EST) From: Ian Smith To: Nate Lawson In-Reply-To: <4578E223.8060302@root.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 05:30:56 -0000 On Thu, 7 Dec 2006, Nate Lawson wrote: > 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. Fair enough too .. but since this is likely to catch a few more folks unawares, do you think it may be worth a mention in /usr/src/UPDATING? Cheers, Ian