From: Maciej Rutecki <maciej.rutecki@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
dmitry.torokhov@gmail.com
Subject: [2.6.30-git17] Touchpad stops working after suspend to disk
Date: Tue, 23 Jun 2009 17:03:39 +0200 [thread overview]
Message-ID: <8db1092f0906230803s1e069a24w865329c302ffe0df@mail.gmail.com> (raw)
Tested kernel: 2.6.30-git17
Last known good: 2.6.30
To suspend to disk I use 2 methods, kpowersawe or this script:
#!/bin/sh
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
sync
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
http://www.maciek.unixy.pl
next reply other threads:[~2009-06-23 15:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 15:03 Maciej Rutecki [this message]
2009-06-23 15:04 ` Maciej Rutecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8db1092f0906230803s1e069a24w865329c302ffe0df@mail.gmail.com \
--to=maciej.rutecki@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®