I have googled and this is the 10th page on the list. GRRRRRR. All the results right now point to results pointing to google. Gross. I wish people would post actual links instead of shouting "Google". That, or don't post at all.
This worked for me on Slackware 10.1 and a Fujitsu Siemens Stylistic 4110 Tablet PC
http://www.linux.com/article.pl?sid=06/05/24/1716222
Basically, if you have acpi compiled in,
Quote:
echo -n mem > /sys/power/state
|
will suspend your pc. but the screen will be blank when resuming...
Off to write a little script you go...
Quote:
!/bin/sh
# discover video card's ID
ID=`lspci | grep VGA | awk '{ print $1 }' | sed -e 's@0000:@@' -e 's@:@/@'`
# securely create a temporary file
TMP_FILE=`mktemp /var/tmp/video_state.XXXXXX`
trap 'rm -f $TMP_FILE' 0 1 15
# switch to virtual terminal 1 to avoid graphics
# corruption in X
chvt 1
# write all unwritten data (just in case)
sync
# dump current data from the video card to the
# temporary file
cat /proc/bus/pci/$ID > $TMP_FILE
# suspend
echo -n mem > /sys/power/state
# restore video card data from the temporary file
# on resume
cat $TMP_FILE > /proc/bus/pci/$ID
# switch back to virtual terminal 7 (running X)
chvt 7
# remove temporary file
rm -f $TMP_FILE
|
As for X
Quote:
Section "Device"
Identifier "intel_855gm"
Driver "i810"
BusID "PCI:0:2:0"
Option "VBERestore" "true"
EndSection
|
Note the Option "VBERestore" "true"