From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 16 23:51:38 2003 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 C164C37B401 for ; Mon, 16 Jun 2003 23:51:38 -0700 (PDT) Received: from mailhub01.unibe.ch (mailhub01-skge0.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A2143FD7 for ; Mon, 16 Jun 2003 23:51:37 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub01.unibe.ch (Postfix) with ESMTP id B26E125BA81; Tue, 17 Jun 2003 08:51:36 +0200 (MEST) Received: from mailhub01.unibe.ch ([127.0.0.1]) by localhost (mailhub01 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09575-01-19; Tue, 17 Jun 2003 08:51:36 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 0070825BA20; Tue, 17 Jun 2003 08:51:35 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h5H6pZK23116; Tue, 17 Jun 2003 08:51:35 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h5H6pZI13766; Tue, 17 Jun 2003 08:51:35 +0200 (MEST) Date: Tue, 17 Jun 2003 08:51:35 +0200 From: Tobias Roth To: Darryl Okahata Message-ID: <20030617065134.GA11430@speedy.unibe.ch> Mail-Followup-To: Darryl Okahata , freebsd-mobile@freebsd.org References: <200306170047.RAA13574@mina.soco.agilent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306170047.RAA13574@mina.soco.agilent.com> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: freebsd-mobile@freebsd.org Subject: Re: FreeBSD 5.1-RELEASE and IBM Thinkpad A31 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, 17 Jun 2003 06:51:39 -0000 > Second, if you do suspend from X11, the display is trashed/corrupted > at resume time. The workaround for this is to switch to a VTY before > suspending, and then (manually) switch back to X11 after resuming. If > you forget to switch before suspending, you can bring the display back > to life after resuming by: to do this automatically, change your /etc/rc.suspend and /etc/rc.resume like this: /etc.rc.suspend: insert this line just before the 'logger' line: vidcontrol -s 2 < /dev/ttyv0 /etc/rc.resume: insert this line just before the 'logger' line: vidcontrol -s 1 < /dev/ttyv0 Of course change the numbers if your X is running on a different tty. That's a good enough fix for me.