Date: Tue, 17 Jun 2003 08:51:35 +0200 From: Tobias Roth <roth@iam.unibe.ch> To: Darryl Okahata <darrylo@soco.agilent.com> Cc: freebsd-mobile@freebsd.org Subject: Re: FreeBSD 5.1-RELEASE and IBM Thinkpad A31 Message-ID: <20030617065134.GA11430@speedy.unibe.ch> In-Reply-To: <200306170047.RAA13574@mina.soco.agilent.com> References: <200306170047.RAA13574@mina.soco.agilent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030617065134.GA11430>