From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Santcroos Subject: Re: S3 suspend code Date: Wed, 30 Jul 2003 10:26:39 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030730082639.GD676@laptop.6bone.nl> References: <20030723152809.GA591@paradigm.rfc822.org> <20030723162423.GD9013@atrey.karlin.mff.cuni.cz> <1059041888.19684.8.camel@bacchus.gpphy.uni-duesseldorf.de> <20030724104518.GA12041@paradigm.rfc822.org> <1059045536.19684.21.camel@bacchus.gpphy.uni-duesseldorf.de> <20030724144535.GA629@paradigm.rfc822.org> <20030724200411.GA444@elf.ucw.cz> <20030724204530.GA5907@laptop.6bone.nl> <20030724224141.GA430@elf.ucw.cz> <20030726234129.GA668@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20030726234129.GA668-ScjxTogt4I4lGuH5DXb43w@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Pavel Machek Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi, On Sun, Jul 27, 2003 at 01:41:29AM +0200, Mark Santcroos wrote: > On Fri, Jul 25, 2003 at 12:41:41AM +0200, Pavel Machek wrote: > > > Like I said, the suspend returns immediately, but it does succeed. > > > It seems that it gets a wakeup signal immediately though. > > > > Like it turns into sleep mode then wakes up? You probably have some > > device that is enabled to wake the machine up, which should not really > > do that... Check 2.6.0-t1. > > I've put a different disk in my laptop and installed Linux on it. > With 2.6.0-t1 it does the right thing. Also 2.5.75 works. > I'm going do to a binary search to find the specific change that fixed it. It looks like I had confused my earlier tests with something else, because also old Linux kernels do it "correctly". My machine suspends as early as with 2.5.6 (the first kernel with /proc/acpi/sleep), note that it doesn't resume correctly up until 2.5.30 or so, but that doesn't really matter. Do you know if there is any way to find out what device or bus triggers the wakeup? A state stored somewhere or so. Thanks Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01