From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 16:37:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6355737B401 for ; Wed, 11 Jun 2003 16:37:37 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5EFF43FAF for ; Wed, 11 Jun 2003 16:37:36 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id MUA74016; Wed, 11 Jun 2003 16:37:35 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 164FB5D04; Wed, 11 Jun 2003 16:37:35 -0700 (PDT) To: Stijn Hoop In-Reply-To: Message from Stijn Hoop <20030611231206.GG24593@pcwin002.win.tue.nl> Date: Wed, 11 Jun 2003 16:37:35 -0700 From: "Kevin Oberman" Message-Id: <20030611233735.164FB5D04@ptavv.es.net> cc: freebsd-current@freebsd.org cc: Harald Hanche-Olsen Subject: Re: ACPI Regression in -CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 23:37:37 -0000 > Date: Thu, 12 Jun 2003 01:12:06 +0200 > From: Stijn Hoop > Sender: owner-freebsd-current@freebsd.org > > On Thu, Jun 12, 2003 at 12:46:32AM +0200, Harald Hanche-Olsen wrote: > > + Stijn Hoop : > > > > | > I tried that on my Inspiron 4150 with 5.1-RELEASE. The patch failed, > > | > but only for trivial reasons like different placment of braces. > > | > > | Note that you have to patch the output of iasl -d, *NOT* the .asl file > > | that acpidump generates. There is a difference although they look alike. > > > > Aha. But the diff you included clearly indicated it was a patch for > > insp4150.asl. When I told patch to patch insp4150.dsl instead, using > > your patch, it applied cleanly, and moreover the fix now works to the > > extent that I don't get those error messages anymore. > > > > To be precise, I followed your exact instructions with this > > difference: > > > > # patch insp4150.dsl insp4150.patch > > I'm sorry, like I wrote the earlier procedure was typed off of the top > of my head, and wasn't verified. I should have done that. > > > | > Actually, acpiconf -s 3 seems to "almost" work: [...] > > | > > | According to Mark, this actually should work from within X -- > > | something to do with DPMS. > > > > Still doesn't for me. Same result. Maybe I should learn what DPMS > > stands for. > > Something with display power management. But maybe it's something else > then. Glad to hear the ACPI messages got sorted out at least :) There are two problems I see with s3 on my ThinkPad (T30): 1. The display back-light stays on. (The bit rot of the display is at least novel. Brings back the 60s and and psychodelia!) 2. The disk spins down INSTANTLY. If the is any un-written data in the write cache, you may have a problem. I have noticed that when I suspend in XP, there is a delay of about 3 seconds before the system actually suspends. It even display a window that says "Preparing the system for sleep" or something similar. I suspect that at least one function of this is to give the disk caches time to flush. They probably do a DOS equivalent of an sync, as well. I think that this delay needs to be available as I suspect that at least some BIOSes require it to avoid disk corruption. I suspect that XP does something to stop the video and turn off the back-light, but I have no way of guessing what. In V4 days I could use apmd to switch to a vty on suspend, but I have not looked into whether that will work with ACPI. ACPI basically works, but the rough bits keep me on APM. -- 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