Using a small variation of the two scripts in
https://bugs.launchpad.net/ubuntu/+source/acpi-
support/+bug/31425/comments/14:

#!/bin/bash

statedir=/root/s3/state

mkdir -p $statedir
chvt 2
sleep 1
vbetool vbestate save >$statedir/vbe

curcons=`fgconsole`
fuser /dev/tty$curcons 2>/dev/null|xargs ps -o comm= -p|grep -q X && chvt 2
sync
echo platform > /sys/power/disk; echo mem > /sys/power/state
sync
vbetool post
vbetool vbestate restore <$statedir/vbe
chvt $[curcons%6+1]
chvt $curcons

(as you can see, I combined them.  I'm really not sure why he wrote them
as two scripts in the first place)

I can get this to work once, but if I invoke it a second time, I get the
same video corruption as just trying to suspend without the script.

That's gotta mean something to somebody.  :-)

-- 
garbled or no video output after resume from suspend (Inspiron 4150)
https://bugs.launchpad.net/bugs/31425
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to