Re: Suspend, followed by immediate resume

Alan Stern
2008-05-02T15:00:26Z

On Thu, 1 May 2008, Jay Cliburn wrote:

> 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
> included dmesg that shows the event, my kernel config (that has
> CONFIG_DEBUG_PM=y), and lspci -vvxxx.
>
> I'd appreciate any help. Please cc me in your response, since I'm not
> subscribed to linux-pm.

Have you tried unplugging your USB mouse before suspending?

Alan Stern