[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[2.6.30-git17] Touchpad stops working after suspend to disk
    Tested kernel: 2.6.30-git17
    Last known good: 2.6.30

    To suspend to disk I use 2 methods, kpowersawe or this script:

    governor0=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`
    governor1=`cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor`
    f_min_0=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq`
    f_min_1=`cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq`
    f_max_0=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq`
    f_max_1=`cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq`
    /sbin/rmmod iwl3945
    /sbin/rmmod mac80211
    chvt 1
    umount /mnt/windows
    sleep 1
    echo platform > /sys/power/disk
    echo -n disk > /sys/power/state
    mount /mnt/windows
    echo $governor0 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    echo $governor1 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
    echo $f_min_0 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
    echo $f_min_1 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
    echo $f_max_0 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    echo $f_max_1 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
    /sbin/modprobe mac80211
    /sbin/modprobe iwl3945
    chvt 1
    chvt 7
    sleep 5
    /etc/init.d/laptop-mode restart
    hdparm -B254 /dev/sda

    For both resume works without touchpad. I must manualy do:
    rmmod psmouse
    modprobe psmouse

    then works.

    How debug it?
    Maciej Rutecki

     \ /
      Last update: 2009-06-23 17:07    [W:0.019 / U:0.288 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site