On (11/20/11 22:14), Alexander van den Berghe wrote: -~> On 11/20/2011 10:08 PM, Erik Johnson wrote: -~> >Since the 3.1 update, when I suspend with pm-suspend, upon resuming my -~> >netbook goes right back to sleep. This behavior is not present in -~> >3.0.7-1 but exists in 3.1-4 and 3.1.1-1. However, this only happens when -~> >my netbook is suspended via a lid close event. Running pm-suspend from -~> >the command line works as expected. -~> > -~> >I'm not using a DE. Suspend is triggered by adding /usr/sbin/pm-suspend -~> >to the "button/lid" action in /etc/acpi/handler.sh. -~> > -~> >This seems like an upstream bug, but I just wanted to see if anyone else -~> >was experiencing this. -~> > -~> -~> I am experiencing the same behaviour as you. But due to lack of -~> time I haven't been able to dig into it. -~> -~> Alex If plain pm-suspend works fine, this means that the lid close event is triggered twice: on close and open. You can verify whether it is true by replacing pm-suspend with logger "Some message" in handler.sh and see if there are two messages in /var/log/messages. -- Leonid Isaev GnuPG key ID: 164B5A6D Key fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
Attachment:
pgp0YJML52twj.pgp
Description: PGP signature