The Chavers

Rob, Missy, Olivia, Genevieve, family and friends.

x301 login lockup

E-mail Print PDF
My Lenovo X301 will occasionally lockup after a suspend to ram -> resume.  To fix it, I found this solution:
 
#!/bin/sh
# Workaround for concurrency bug in xserver-xorg-video-intel 2:2.4.1-1ubuntu10.
# Save this as /etc/pm/sleep.d/00CPU

. "${PM_FUNCTIONS}"

case "$1" in
    hibernate|suspend)
        for i in /sys/devices/system/cpu/cpu*/online ; do
            echo 0 >$i
        done
        ;;
    thaw|resume)
        sleep 10    # run with one core for 10 secs
        for i in /sys/devices/system/cpu/cpu*/online ; do
            echo 1 >$i
        done
        ;;
    *)
        ;;
esac
 
 
I haven't had the problem since; knock on wood...
 
Last Updated on Friday, 12 December 2008 18:13  

Random Image

Duffy Wedding
 
 
Duffy Wedding Date: 06/23/2007

Login Form