Re: S3 suspend code

Mark Santcroos
2003-07-30T08:26:39Z

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