Re: Suspend, followed by immediate resume

Rafael J. Wysocki
2008-05-02T16:49:13Z

On Friday, 2 of May 2008, Jay Cliburn wrote:
> On Fri, 2 May 2008 11:00:26 -0400 (EDT)
> Alan Stern <stern@rowland.harvard.edu> wrote:
>
> > 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.
>
> > Have you tried unplugging your USB mouse before suspending?
>
> I installed a USB-PS2 adapter for the mouse and rebooted. No help;
> still suspends and immediately resumes. (There are now no external USB
> devices connected to the system.)
>
> Your question made me realize though that I'd left out a potentially
> important piece of information in my initial report: this is a desktop
> system. Not sure if that matters.

Can you try to comment out acpi_enable_wakeup_device(acpi_state) in
drivers/acpi/sleep/main.c:acpi_suspend_enter() and see if that helps?

Rafael