FreeBSD 5.1-RELEASE and IBM Thinkpad A31

Tobias Roth roth at iam.unibe.ch
Mon Jun 16 23:51:39 PDT 2003


>   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.


More information about the freebsd-mobile mailing list