* s2ram autowake regression is still there in 2.6.21-rc4-git
@ 2007-03-20 11:56 Pavel Machek
2007-03-20 12:06 ` Pavel Machek
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2007-03-20 11:56 UTC (permalink / raw)
To: Len Brown, kernel list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: s2ram autowake regression is still there in 2.6.21-rc4-git
2007-03-20 11:56 s2ram autowake regression is still there in 2.6.21-rc4-git Pavel Machek
@ 2007-03-20 12:06 ` Pavel Machek
2007-03-20 15:19 ` Len Brown
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2007-03-20 12:06 UTC (permalink / raw)
To: Len Brown, kernel list
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.
Actually
> 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"
...this is enough to trigger it. I've done my testing on x60, FWIW.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: s2ram autowake regression is still there in 2.6.21-rc4-git
2007-03-20 12:06 ` Pavel Machek
@ 2007-03-20 15:19 ` Len Brown
0 siblings, 0 replies; 3+ messages in thread
From: Len Brown @ 2007-03-20 15:19 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list
On Tuesday 20 March 2007 08:06, Pavel Machek wrote:
> 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.
>
> Actually
>
> > 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"
>
> ...this is enough to trigger it. I've done my testing on x60, FWIW.
Please try the consolidated ACPI patch that is currently staged for release to upstream:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.21/acpi-release-20070126-2.6.21-rc4.diff.gz
comming soon to a mirror near you:-)
thanks,
-Len
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-20 15:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20 11:56 s2ram autowake regression is still there in 2.6.21-rc4-git Pavel Machek
2007-03-20 12:06 ` Pavel Machek
2007-03-20 15:19 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox