Messages in this thread |  | | Date | Tue, 20 Mar 2007 12:56:57 +0100 | From | Pavel Machek <> | Subject | s2ram autowake regression is still there in 2.6.21-rc4-git |
| |
Hi!
Run this script. The s2ram at the end of it will wakeup immediately after going to sleep, bad. I tried reproducing it with smaller version, but was not too successful. Pavel
#!/bin/bash killall klogd
echo -n "testing refrigerator (testproc)..." echo testproc > /sys/power/disk echo disk > /sys/power/state echo "okay"
sleep 2 echo -n "testing drivers (test)..." echo test > /sys/power/disk echo disk > /sys/power/state echo "okay"
sleep 2 echo -n "testing swsusp (reboot)..." echo reboot > /sys/power/disk echo disk > /sys/power/state echo "okay"
sleep 2 echo -n "testing s2ram..." s2ram echo "okay"
sleep 2 echo -n "testing swsusp (shutdown)..." echo shutdown > /sys/power/disk echo disk > /sys/power/state echo "okay"
sleep 2 echo -n "testing swsusp (platform)..." echo platform > /sys/power/disk echo disk > /sys/power/state echo "okay"
sleep 2 echo -n "testing s2ram..." s2ram echo "okay"
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |