Re: [GIT PATCH] ACPI patches for 2.6.22

Matt Mackall
2007-04-30T20:07:41Z

On Mon, Apr 30, 2007 at 10:03:30PM +0200, Rafael J. Wysocki wrote:
> > > > > These are older and might have been fixed:
> > > > >
> > > > > - Mat Mackall's "Thinkpads not waking up on lid open with -rc6-mm1"
> > > >
> > > > This seems to be related to suspend to disk. After the first suspend
> > > > to disk/resume, suspend to ram stops resuming from lid open and needs
> > > > me to hit the power button. As I just started using suspend to disk in
> > > > the past couple weeks, this may be a long-standing bug.
> > > >
> > > > I think it's still present in -rc7-mm1 but I don't have my laptop
> > > > handy to double-check.
> > >
> > > Can you please check if the appended debug patch helps?
> >
> > Nope.
> >
> > boot into new kernel
> > lid switch -> suspend
> > lid switch -> resume
> > power button -> hibernate
> > power button -> resume
> > lid switch -> suspend
> > lid switch -> nothing
> > power button -> resume
> > echo LID > /proc/acpi/wakeup -> "*disabled"
> > echo LID > /proc/acpi/wakeup -> "*enabled"
> > lid switch -> suspend
> > lid switch -> nothing
>
> Then this is unrelated.
>
> What does 'cat /sys/power/disk' show?

$ cat /sys/power/disk
[platform] shutdown reboot test testproc

--
Mathematics is the supreme nostalgia of our time.