From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 26 23:55:41 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1845616A4CE for ; Mon, 26 Apr 2004 23:55:41 -0700 (PDT) Received: from mailhub01.unibe.ch (mailhub01.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A099B43D46 for ; Mon, 26 Apr 2004 23:55:40 -0700 (PDT) (envelope-from roth@speedy.unibe.ch) Received: from localhost (scanhub02.unibe.ch [130.92.254.66]) by mailhub01.unibe.ch (Postfix) with ESMTP id F08C325BF0A; Tue, 27 Apr 2004 08:55:38 +0200 (MEST) Received: from mailhub01.unibe.ch ([130.92.9.52]) by localhost (scanhub02 [130.92.254.66]) (amavisd-new, port 10024) with LMTP id 25529-02-66; Tue, 27 Apr 2004 08:55:36 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id D6FD525BEDF; Tue, 27 Apr 2004 08:34:54 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id i3R6Ysb13647; Tue, 27 Apr 2004 08:34:54 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id i3R6YrEM019609; Tue, 27 Apr 2004 08:34:53 +0200 (MEST) Date: Tue, 27 Apr 2004 08:34:53 +0200 From: Tobias Roth To: David.E.Tweten@nasa.gov Message-ID: <20040427063453.GA19545@speedy.unibe.ch> Mail-Followup-To: David.E.Tweten@nasa.gov, freebsd-mobile@freebsd.org, James Snow References: <6099.1083024400@gilmore.nas.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6099.1083024400@gilmore.nas.nasa.gov> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne cc: James Snow cc: freebsd-mobile@freebsd.org Subject: Re: XFree86 & ACPI don't like each other? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 06:55:41 -0000 On Mon, Apr 26, 2004 at 05:06:40PM -0700, Dave Tweten wrote: > > Under STABLE, the only XFree86 vs. power management problem comes with > hibernation. When my T23 wakes up after hibernation, XFree86 is frozen. > I have to switch to an ASCII console (ctrl-alt-f1) and back to X (alt-f12) > to get it to limber up. If the hibernation is manual rather than > automatic, I can transition to ASCII console first before hibernating, and > there is no wake-up freeze, but automatic because of flat battery is the > usual reason to hibernate. you do realize that this console switch can be automated? for instance, i put vidcontrol -s 1 < /dev/ttyv0 in rc.suspend just before the logger line and vidcontrol -s 9 < /dev/ttyv0 (12 in your case) into rc.resume, also before the logger line. this workaround has been mentioned quite a few times on the list. keep in mind though that rc.suspend and rc.resume were only recently made ready for acpi, so if you are using acpi instead of apm, you might have to update to -current. for ibm thinkpads, this is generally a good idea anyway, at least if you use acpi. cheers, t.