Re: Suspend, followed by immediate resume

Zhang Rui
2008-05-15T02:04:16Z

On Wed, 2008-05-14 at 16:42 +0200, Pavel Machek wrote:
> Hi!
>
> > I'm trying to get wake-on-lan working on the network driver I maintain
> > (atl1), but I can't get my system to suspend to memory long enough to
> > test it. Seems that my system suspends and immediately wakes up again
> > without any intervention on my part. This is with kernel 2.6.25.1, but
> > I've always encountered this phenomenon, going back to 2.6.21 when the
> > driver was merged into mainline. I've finally resolved to get to the
> > bottom of it, and I'm hoping linux-pm can help.
> >
> > To suspend, I execute
> >
> > echo mem > /sys/power/state
> >
> > and the system actually suspends (as far as I can tell), but within a
> > few seconds it wakes up without any intervention on my part. I've
>
> Check /proc/acpi/wakeup?
Please try the patches here:
http://bugzilla.kernel.org/show_bug.cgi?id=10503#c5
http://bugzilla.kernel.org/show_bug.cgi?id=10503#c7

thanks,
rui