[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suspending and lid-switch



On Thu, 25 Jun 2015 22:01:20 -0600
Bob Proulx <bob@proulx.com> wrote:

> Celejar wrote:
> > Running wheezy. I've been suspending to ram (hibernate-ram --force) my
> > ThinkPad T61 for several years with no problems. Recently, I installed
> > acpi-support to enable suspending via lid closure (by enabling
> > LID_SLEEP=true in /etc/default/acpi-support). I still tend to enter the
> > hibernate command manually, by habit, followed by lid closure. When I
> > subsequently open the lid, the machine wakes up (as it always has done,
> > even before installing acpi-support) - and then goes back to sleep
> > several seconds later (which it never did before).
> 
> I read the above and understand that it suspends twice when you have
> manually entered 'hibernate-ram --force'.  Does it also have that

Yes.

> problem if you suspend upon lid close?  That part was not clear to me.

No.

> Or is it only when you manually call hibernate-ram?
> 
> I always use Fn-F4 (sleep) on my T60 and then close the lid and do not

I hadn't tried Fn-F4 in a while - hey, it works!

> have this problem.  I don't sleep automatically on lid close.  I often
> want to close my lid and carry from place to place and don't want it
> to automatically suspend.  However my T60 is currently Squeeze not
> Wheezy so the versions are not the same.  I do have acpi-support
> installed.  I do not have LID_SLEEP=true uncommented.
> 
> I assume you have scanned the /var/log/syslog looking for the event
> trail?  Is there anything interesting there?  If things haven't
> changed in a release look for "PM:" lines.

I have scanned it quickly, but the suspend trail is pretty opaque to
me, and I'm not quite sure what I'm looking for.

> > It seems pretty clear that somehow, the lid closure is triggering a
> > second hibernation, which takes place after the machine wakes up from
> > the first (even though the closure occurs after the machine has already
> > gone to sleep). This is certainly not the desired behavior - is this is
> > bug? Should I file against acpi-support?
> 
> I have read of people having this problem before.  There is almost
> certainly discussion in the debian-laptop mailing list from some years
> ago on this problem.  I am sure you are not the only person to have
> suffered from suspending again immediately after waking from sleep
> problem.  But I am not sure if or where a bug would lie.  Plus I
> assume that systemd has absorbed all of this functionality in Jessie
> therefore filing a bug report would simply be ignored now.

I, too, suspected that. I think I'll probably just go with Fn-F4. BTW,
I, too, occasionally carry my laptop from place to place without
suspending it, but I always feel a bit guilty about that, as it's
supposed to be dangerous to move the thing while the hard drive is
spinning, in spite of hdaps and everything. I suppose it's
pretty safe if one is careful and doesn't trip or bang it into
anything, but sometimes one isn't and does ;) Thoughts?

> Bob

Thanks,

Celejar


Reply to: