Re: FreeBSD 5.1-RELEASE and IBM Thinkpad A31

Tobias Roth <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
>   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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.