From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 7 05:02:02 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 7592416A40F for ; Thu, 7 Dec 2006 05:02:02 +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 7F0BA43CA7 for ; Thu, 7 Dec 2006 05:01:11 +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 QAA04662; Thu, 7 Dec 2006 16:01:45 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 7 Dec 2006 16:01:44 +1100 (EST) From: Ian Smith To: Lutz Boehne In-Reply-To: <45775BC9.5060102@damogran.de> 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: Thu, 07 Dec 2006 05:02:02 -0000 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. Cheers, Ian