Re: laptop double-suspends (sleeps on resume first time) if I use fn-hotkey

2009-07-20 Thread Stefan Monnier
 I have this really weird and mildly annoying issue I cannot pin down.
 When I suspend my laptop (thinkpad x40 running sid) using the Fn+F4
 hotkey (which sends an ACPI sleep event), my laptop sleeps.  However,
 on trying to wake it up, once wakeup is complete (I see a flash of
 gnome-screensaver) the laptop sleeps again.  This happens every time
 and exactly twice.

This suggests that there are 2 programs reacting to the ACPI sleep
button event.  From your dpkg list, I'd guess that gnome-power-manager
is one, not sure which is the other.  But note that gnome-power-manager
is (or at least was) braindead in this regard since it is linked to
active X sessions, so if there's no X11 session, it won't react to Fn+F4,
and if there are N different X11 sessions, then it will react N times.
So maybe you just have 2 sessions open on two different consoles?

If not, then there is presumably a second program reacting to
the event.  Maybe you've put something into /etc/acpi/events at some
point in the past (when gnome-power-manager didn't work)?


Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



laptop double-suspends (sleeps on resume first time) if I use fn-hotkey

2009-07-19 Thread Jon Dowland
Hi folks,

I have this really weird and mildly annoying issue I cannot pin down. When I
suspend my laptop (thinkpad x40 running sid) using the Fn+F4 hotkey (which
sends an ACPI sleep event), my laptop sleeps. However, on trying to wake it
up, once wakeup is complete (I see a flash of gnome-screensaver) the laptop
sleeps again. This happens every time and exactly twice.

If I use another method to sleep (call pm-suspend or use gnome-power-manager's
buttons or the gnome menu) it does not occur.

Can anyone suggest where to look? I was hoping I would see either one utility
reporting more than one ACPI event in a log somewhere, or more than one
utility reporting handling one ACPI event, but I can't see anything at all :( 

ii  acpi-support   0.123-1
ii  dbus   1.2.14-3
ii  gnome-power-ma 2.24.4-3
ii  hal0.5.12~git20090406.46dc48-2
ii  pm-utils   1.2.5-3
rc  hibernate  1.94-2
rc  uswsusp0.7-1.2


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re:OT laptop double-suspends (sleeps on resume first time) if I use fn-hotkey

2009-07-19 Thread Thierry Chatelet
We see more and more topics relating to suspend and the alike on this list. I 
have, myself, put question here which were more related to debian-laptop 
mailing list because the laptop mailing list does not have much traffic. My 2 
cents to the system would be to suggest that we (people with question specific 
to laptop) start to post on the laptop mailing list. I will ...
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org