From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 30 22:34:17 2005 Return-Path: X-Original-To: mobile@freebsd.org 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 83F1F16A41C for ; Thu, 30 Jun 2005 22:34:17 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from mailhub04.unibe.ch (mailhub04-eth0.unibe.ch [130.92.9.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BA7C43D1D for ; Thu, 30 Jun 2005 22:34:16 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub01.unibe.ch [130.92.254.65]) by mailhub04.unibe.ch (Postfix) with ESMTP id B6B20EB4F; Fri, 1 Jul 2005 00:34:14 +0200 (CEST) Received: from mailhub04.unibe.ch ([130.92.9.71]) by localhost (scanhub01.unibe.ch [130.92.254.65]) (amavisd-new, port 10024) with LMTP id 17150-05-34; Fri, 1 Jul 2005 00:34:14 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub04.unibe.ch (Postfix) with ESMTP id B4E89EB42; Fri, 1 Jul 2005 00:34:13 +0200 (CEST) Received: from droopy.unibe.ch (droopy [130.92.64.20]) by asterix.unibe.ch (8.12.10+Sun/8.12.10) with ESMTP id j5UMYEdB014162; Fri, 1 Jul 2005 00:34:14 +0200 (MEST) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id j5UMYEKR024683; Fri, 1 Jul 2005 00:34:14 +0200 (MEST) Date: Fri, 1 Jul 2005 00:34:14 +0200 From: Tobias Roth To: Martin Cracauer Message-ID: <20050630223414.GA24675@droopy.unibe.ch> References: <20050630120148.A67041@cons.org> <20050630204357.GA24439@droopy.unibe.ch> <20050630175344.A74267@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050630175344.A74267@cons.org> 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: mobile@freebsd.org Subject: Re: ACPI Sleep on Thinkpad R40, wakeup fails for X11/radeon X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 22:34:17 -0000 On Thu, Jun 30, 2005 at 05:53:44PM -0400, Martin Cracauer wrote: > Tobias Roth wrote on Thu, Jun 30, 2005 at 10:43:58PM +0200: > > On Thu, Jun 30, 2005 at 12:01:48PM -0400, Martin Cracauer wrote: > > > Any ideas how I could fix suspend/resume on this Thinkpad? > > > > > > > > > I have a Thinkpad R40 running 6.0-current. It has a Radeon 7500 with > > > 32 MB. > > > > > > When I suspend it with zzz (ACPI actice), the machine sleeps and wakes > > > up fine except the X11 server is unhappy. > > > > > > The X11 server has some graphical corruption, never updates graphics > > > and does not take keyboard input (Control-Alt-F2 etc are also disabled > > > and just beep). > > > > please make sure that you don't have dri in your x.org / xfree config > > I have dri but not using it also fails with graphics corruption and > hanging X11 server (not using CPU/syscalls, though). > > That failure with no DRI is recoverable, though, X11 restarts fine > after killing it. then try experimenting with switching from X to a console before suspending and switching back to X after resuming. if it works, automate with hw.syscons.sc_no_suspend_vtswitch cheers, t.