Re: [GIT PATCH] ACPI patches for 2.6.22

From: Rafael J. Wysocki
Date: Mon Apr 30 2007 - 17:27:56 EST


On Monday, 30 April 2007 22:05, Matt Mackall wrote:
> 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

Can you please do 'echo shutdown > /sys/power/disk' before the hibernation
and see what happens?

Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/