suspend problems ubuntu gusty and thinkpad r31
Posted: Wed Dec 05, 2007 3:13 pm
I've had this issue since feisty and still with gusty, with my suspend/ when I do FN+F4, basically I have problems with my suspend to come back up all I get is a black screen, I can not reproduce the issue, but it seems to be from suspending from extended periods of time, b/c I can suspend between classes walk to class and it comes back up, but a drive home from school 30-45min I try to restore and I can not get it back up and running.
I was looking at thinkwiki and saw this,
http://www.thinkwiki.org/wiki/Problem_w ... ter_resume
and I believe my r31 has an i830 or i830mg
I was looking at thinkwiki and saw this,
http://www.thinkwiki.org/wiki/Problem_w ... ter_resume
and I believe my r31 has an i830 or i830mg
how am I supposed to integrate this into script for ubuntu, confused about this since I really want t oget this fixedSolution for ThinkPads with Intel I830 Chipset
The following solution worked for me on an X30 with I830M chipset with kernel >= 2.6.16.
* this works with vesafb and also with intelfb frambuffer support.
The following example /etc/acpi/actions/sleep.sh script shows how to integrate the according lines.
#!/bin/bash
FGCONSOLE=`fgconsole`
chvt 8
sync
hwclock --systohc
echo -n "mem" > /sys/power/state
hwclock --hctosys
vbetool post
if [ "$FGCONSOLE" -ge "7" ] ; then
chvt $FGCONSOLE
else
chvt 7
chvt $FGCONSOLE
fi