From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Suspend, followed by immediate resume Date: Fri, 2 May 2008 18:49:13 +0200 Message-ID: <200805021849.14120.rjw@sisk.pl> References: <20080501214437.0ae618c5@osprey.hogchain.net> <20080502113927.49f31af9@osprey.hogchain.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080502113927.49f31af9@osprey.hogchain.net> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: linux-pm@lists.linux-foundation.org Cc: Jay Cliburn List-Id: linux-pm@vger.kernel.org On Friday, 2 of May 2008, Jay Cliburn wrote: > On Fri, 2 May 2008 11:00:26 -0400 (EDT) > Alan Stern 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