From owner-freebsd-mobile Thu Jan 9 11:40:45 2003 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 3096137B401 for ; Thu, 9 Jan 2003 11:40:44 -0800 (PST) Received: from CRWdog.demon.co.uk (adsl-66-123-232-98.dsl.sndg02.pacbell.net [66.123.232.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C4D143EB2 for ; Thu, 9 Jan 2003 11:40:43 -0800 (PST) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id D283582; Thu, 9 Jan 2003 11:40:33 -0800 (PST) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: David.E.Tweten@nasa.gov Cc: Peter Radcliffe , freebsd-mobile@FreeBSD.ORG Subject: Re: ThinkPad Hibernation In-Reply-To: Message from Dave Tweten of "Tue, 07 Jan 2003 20:33:51 PST." <4357.1042000431@gilmore.nas.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 09 Jan 2003 11:40:33 -0800 From: Andy Sparrow Message-Id: <20030109194033.D283582@CRWdog.demon.co.uk> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Incidently, I overstated the Xserver hang. Ctrl-Alt-Fx switches the display > from a hung Xserver to a non-hung virtual terminal. Alt-F12 then switches > back to a non-hung Xserver. If a virtual terminal is active when the > hibernation starts there is no hang either. > > Now I just wish there were something I could put into rc.resume to make the > Xserver do whatever it does as a result of Ctrl-Alt-Fx, Alt-F12. I had this for about 9 months on a laptop with an ATI chipset, bugged the hell out of me. It Just Worked one day after an XFree upgrade. I submitted a patch (based on an idea from Tony Finch, IIRC) to conditionally hack a workaround for this into 'apm', see: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/28026 You could use that unchanged for -STABLE, or hack up a small local executable that did the vty switching for you and call it from rc.suspend/rc.resume. HTH. Cheers, AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message