[Bug 261084] Re: Suspends again right after resume

2009-10-19 Thread Martin Pitt
FYI, bug 425411 is currently open about this, so you might want to
subscribe there.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-10-14 Thread Alessandro Borgogno
I can reproduce that with a mini 10v.
If I suspend (closing the lid) while on ac power, then I unplug ac and try to 
resume the netbook (opening the lid), it will resume and suddenly come back to 
suspend. hitting the power button will resume normaly.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-10-14 Thread Alessandro Borgogno
forgot to say that also removing 'dbus-hal' from /etc/default/acpi-support will 
not change anything.
Laptop mode is disabled

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-10-13 Thread Martin Pitt
The wiki page also explains how to get devicekit-power information. the
gnome-power-bugreport script is still valid.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-10-13 Thread Johannes Mockenhaupt
Thanks Martin, I will create debugging logs then (may take a day till I
get to it). Apart from that I've noticed that /etc/default/acpi-support
has the line SUSPEND_METHODS='dbus-pm dbus-hal pm-utils'. I removed the
'dbus-hal' part. Also, there's the ENABLE_LAPTOP_MODE=false line, but
the comment above states the Ubuntu's default is 'true'. I had set this
to 'true' previously, but reverted back to 'false'. After I made these
two changes I haven't seen any spurious suspends triggered by FN+F4
(sleep key). Hope this is helpful. If there's anything in particular I
can help with or test, I'll gladly do so.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-10-12 Thread Johannes Mockenhaupt
I'm too seeing this issue (again) after upgrading from Jaunty to Karmic
on a Thinkpad X300. Is it useful at this time to attach debugging logs -
with HAL going away - as described here:
https://wiki.ubuntu.com/DebuggingGNOMEPowerManager?

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-10-05 Thread Subu Krishnamoorthy
My T61p sometimes suspends right after a resume too.  I'm running
2.6.31-11.38 and g-p-m 2.28.0-0ubuntu1.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-09-06 Thread Phil Sung
 Indeed I got that once as well. However, it also happens with that
 patch applied, so I believe it's a different cause now.

I'm seeing spurious suspends too, starting recently; I filed bug
#425411.

 Can you reproduce the double-suspend with version
 2.27.5-0ubuntu1.test1 in
 https://launchpad.net/~ubuntu-desktop/+archive/ppa ?

Yes, I can reproduce this both under the PPA version and under the
latest g-p-m in karmic (2.27.91-0ubuntu1).

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-07-29 Thread Martin Pitt
I dropped the patch from the recent karmic upload of gnome-power-
manager. It is unclear whether this is still an issue in the new world
where we just read -evdev events instead of ACPI events from hal, is
pretty hackish, and it potentially leads to dropping valid events. I
discussed it with Richard Hughes, and he suggested to try without the
patch, and that he doesn't like to adopt it.

So I'd appreciate if folks could test version 2.27.2+git20090729 or
above in karmic and check if they still get the problem. Thanks!

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-07-29 Thread BUGabundo
@Martin I havent seen this in Karmic so far

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-07-29 Thread Krzysztof Klimonda
@Martin: I have just tested it briefly (with gnome-power-manager
2.27.2+git20090729-0ubuntu2 installed) and couldn't reproduce the issue.
I'm using Thinkpad T61 if it's relevant.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-04-03 Thread Pierre-Alexandre Meyer
Same issue with Intrepid and Beta Jaunty (amd64), seen on both T500 and
HP2530p.

It happens when suspending via the hotkey or simply closing the lid. On
resume, the laptop suspends right away.

A workaround for the lid is to check the state in /proc, at the
beginning of /etc/acpi/sleep.sh (was tested on Intrepid):

   grep -q closed /proc/acpi/button/lid/*/state
   if [[ $? != 0  $1 = from_lid ]]; then
  exit
   fi

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-03-29 Thread Pac Shady
I'm also getting the same problem on a Medion MD96420.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-03-29 Thread Martin Emrich
The problem seems to be gone for me since a few weeks.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-02-17 Thread Lukas Hejtmanek
I still see this bug in Jaunty. Is there any fix pending?

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-02-03 Thread binary.koala
confirm the bug on Thinkpad x200 and x61s, both machines behave the same way on 
intrepid 8.10 (all latest).
when i press Fn+F4 suspend happens, but on the next resume machine suspends 
again. 

INTERESTING - if Transmission (bittorrent) is running g-p-m shows two messages 
about policy preventing suspend
LOOKS like acpid and g-p-m are both catching the same events.
HOWEVER, I was digging into the problem, and here are my findings:

1. running acpid in debug shows only one ACPI event and only one run of 
/etc/acpi/sleepbtn.sh
---
acpid: received event ibm/hotkey HKEY 0080 1004
acpid: rule from 5589[0:0] matched
acpid: notifying client 5589[0:0]
acpid: rule from 5509[111:123] matched
acpid: notifying client 5509[111:123]
acpid: rule from /etc/acpi/events/ibm-sleepbtn matched
acpid: executing action /etc/acpi/sleepbtn.sh
BEGIN HANDLER MESSAGES
END HANDLER MESSAGES
---

2. g-p-m in verbose mode shows _twice_ Button press event type=sleep
---
TI:22:30:55 TH:0x91ad640FI:gpm-button.c FN:hal_device_condition_cb,430
 - condition=ButtonPressed, details=sleep
TI:22:30:55 TH:0x91ad640FI:gpm-button.c FN:emit_button_pressed,374
 - emitting button-pressed : sleep
TI:22:30:55 TH:0x91ad640FI:gpm-manager.c
FN:button_pressed_cb,1020
 - Button press event type=sleep
[snip]
 - Button press event type=sleep
TI:22:31:11 TH:0x91ad640FI:gpm-backlight.c  
FN:gpm_backlight_button_pressed_cb,536
 - Button press event type=sleep
TI:22:31:11 TH:0x91ad640FI:gpm-info.c   FN:button_pressed_cb,679
 - Button press event type=sleep
TI:22:31:11 TH:0x91ad640FI:gpm-button.c 
FN:gpm_button_filter_x_events,122

3. when acpid triggers sleepbtn.sh it sends 'acpi_fakekey $KEY_SLEEP' . in my 
system $KEY_SLEEP has code 142
and if i do manually 'sudo acpi_fakekey 142' my system suspends and resumes 
correctly.

4. if i stop acpid with  'sudo /etc/init.d/acpid stop' and then suspend
it also works correctly.

THE QUESTION IS why g-p-m works correctly without acpid ? If that is
intended why both are running doubling like this  the events?

My fix for now is just to comment out acpi_fakekey $KEY_SLEEP in 
/etc/acpi/sleepbtn.sh:
---
test -f /usr/share/acpi-support/key-constants || exit 0

. /usr/share/acpi-support/key-constants
# acpi_fakekey $KEY_SLEEP
---

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2009-01-30 Thread Gregory Oschwald
I am also experiencing this on Jaunty.  It resuspends twice after
resuming.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-11-23 Thread z3non
I didn't experience this bug on a Asus Z53S / F3S for a while, tough
suspend/resume was working like a charme. As resume is broken completely
in Intrepid with 2.6.27-7 since my latest upgrades, this doesn't matter
that much at the moment ...

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-11-13 Thread BUGabundo
I just got this happening to me on my Jaunty test system.
Should I open a new ticket, or change the status to this one, and add a 
regression flag?

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-11-13 Thread Martin Emrich
Hmm, I wonder why this was marked as Fix Released after all, as it is
clearly not fixed.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-17 Thread Martin Emrich
Ok, here's my debug log, from before the first suspend to after the
second resume.

** Attachment added: gpm.debug.log.txt.gz
   http://launchpadlibrarian.net/18644582/gpm.debug.log.txt.gz

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-16 Thread Brian Murray
I've tested gnome-power-manager version 2.24.0-0ubuntu6 and confirm that
it still fixes the bug I was experienceing.

Martin - could you update to that version of the package and try
recreating the bug report?  Thanks in advance.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-16 Thread Martin Emrich
I just upgraded to 2.24.0-0ubuntu7, and rebooted afterwards. After
initiating suspend-to-RAM via the hardware keys (Fn+F4) and resuming,
the laptop still suspends again right away, so the problem is not yet
fixed for my laptop.

Ciao

Martin

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 261084] Re: Suspends again right after resume

2008-10-16 Thread Ted Gould
On Thu, 2008-10-16 at 19:07 +, Martin Emrich wrote:
 I just upgraded to 2.24.0-0ubuntu7, and rebooted afterwards. After
 initiating suspend-to-RAM via the hardware keys (Fn+F4) and resuming,
 the laptop still suspends again right away, so the problem is not yet
 fixed for my laptop.

Martin,

Can you submit a GPM log similar to Brian did earlier?

https://bugs.launchpad.net/ubuntu/+source/gnome-power-
manager/+bug/261084/comments/6

I think that this is likely to be a different bug.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-power-manager - 2.24.0-0ubuntu6

---
gnome-power-manager (2.24.0-0ubuntu6) intrepid; urgency=low

  * Adding 21_idle_key_removal.patch which makes it so that the glib
mainloop has to hit the idle state before we'll accept another key
from X.  This should remove quickly repeated keys and keys that were
queued before suspend.  (LP: #261084)
  * Adding 22_xfce_desktop_files.patch which adds XFCE to the ShowIn
properties of the preferences and statistics desktop files.
  * Added 23_numlock_hotkey.patch which is the changes from 0ubuntu4 and put
it into a patch.
  * Adding 24_interactive_shutdown_dbus.patch which is based on the patch
in GNOME Bug: #507393.  Made to build on 2.24.0 and also put in more
error checking and a fallback to XSMP when DBus based session management
is not available.  (LP: #252795)

 -- Ted Gould [EMAIL PROTECTED]   Wed, 15 Oct 2008 11:10:23 -0500

** Changed in: gnome-power-manager (Ubuntu Intrepid)
   Status: Confirmed = Fix Released

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-07 Thread Martin Emrich
I tried the PPA package for some time, but it worked only once. All the
other times I suspended the original behaviour remained, suspending once
after resuming.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-02 Thread Ted Gould

I've introducted some code to hopefully fix the repeated keypresses.  Please 
look at gnome-power-manager_2.24.0-0ubuntu4~ppa2 in my PPA:

http://launchpad.net/~ted-gould/+archive

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs



[Bug 261084] Re: Suspends again right after resume

2008-10-02 Thread Brian Murray
I've suspended and resumed quite a few times with the gnome-power-
manager package from your ppa and have not seen this bug again.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Martin Emrich
It is 100% reproducible here: Standby via right-click-menu of the g-p-m
icon: Standby once (as it should be), Pressing Fn+F4: Standby twice
(Suspends, after closing and opening the display it resumes, beeps and
suspends again. After closing and opening again (or pressing the little
display lid switch or the power button) it resumes and stays up.

I don't know if I understand Brian correctly, but it sounds like it does
loop endlessly on his laptop.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Brian Murray
Yes, it does loop endlessly (well at least as long as I was patient for)
on my laptop.  I believe the key to recreating this bug is the length of
time that they keys are pressed.  If I just briefly press them it will
suspend only one time, however if I hold them for a couple of seconds it
will suspend multiple times.

I think I grabbed the xev output Ted is looking for and have attached
it.

** Attachment added: A quick press of the keys
   http://launchpadlibrarian.net/18106756/xev-output-quick-press.txt

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Brian Murray
Here's one where I held the keys for a bit longer.

** Attachment added: Pressed for a while
   http://launchpadlibrarian.net/18106769/xev-output-buttons-held.txt

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Brian Murray
I was also able to recreate this using an Ubuntu i386 Live CD dated
20080930.4.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Brian Murray
Bug 272587 is likely a duplicate of this one.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Bryce Harrington
In general, X is less involved in hotkey management than before.  It's
not completely out of the picture quite yet, so there's still some
chance of X interfering.

However, from what I can tell, when X is involved in handling the sleep
key, you should see something like XF86Standby listed in the xev
output.  If X were issuing the key twice, that should show up (at least)
twice.  I didn't spot it in the xev output though, which leads me to
think that the error occurs at a deeper layer.

Fwiw, I've seen acpi-support bug reports about double-hotkey events, in
particular brightness keys.  So it wouldn't surprise me if this is an
acpi-support bug (or at a lower level).

A few experiments that would help narrow things down:

a.  In gnome-keyboard-properties, can you map the standby action to some
action such as launching the calculator?  If X is passing double events,
this should launch two copies of the calculator.

b.  acpi-support uses scripts in /etc/acpi to handle hotkey events, such
as sleepbtn.sh.  Experiment with adding lines to have them log to a
file, to see if they're getting called.  If it happens that the script
is getting triggered twice, a quirk could be added to make it ignore the
second one.

c.  Shut down /etc/init.d/acpid, cat /proc/acpi/event, and hit the key.
You should see a single entry there; if two appear, that suggests
possibly something at the kernel level.  (On my system I see no output,
which I think means that X is stealing it.)

Hope this helps, good luck.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Brian Murray
Experiment A - the Suspend action is not linked to any key press, so
the shortcut shows as Disabled.

Experiment B - /etc/acpi/sleepbtn.sh does seem to be called when my
suspend keys are pressed.

Experiment C - It doesn't appear in /proc/acpi/event.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-10-01 Thread Brian Murray
I also tried pressing the suspend keys in a console and nothing happens
until I switch back to X at which point in time it suspends.  I haven't
recreated the bug when pressing suspend in a console though.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-09-30 Thread Brian Murray
Martin - Does this happen for you 100% of the time?

** Changed in: gnome-power-manager (Ubuntu)
Sourcepackagename: acpi-support = gnome-power-manager
   Importance: Undecided = High
   Status: Incomplete = Confirmed

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-09-30 Thread Brian Murray
Here are the gconf values for gnome-power-manager from the system.

** Attachment added: gpm.gconf.values.txt
   http://launchpadlibrarian.net/18099391/gpm.gconf.values.txt

** Tags added: regression-potential

** Changed in: gnome-power-manager (Ubuntu)
 Assignee: (unassigned) = Ted Gould (ted-gould)

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 261084] Re: Suspends again right after resume

2008-09-30 Thread Ted Gould

I hate to pass the buck here, but it seems like this is unlikely to be a GPM 
bug.  The function gpm_button_filter_x_events is set up as a callback from X 
sending an event.  Since it is getting the keypress in that case, I would have 
to believe that X is continuing to send it.  Either that or GDK.

Could you capture the output of xev when pressing the suspend button.
This would show whether X is sending the event continually or not.

-- 
Suspends again right after resume
https://bugs.launchpad.net/bugs/261084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs