The attached patch removes the AC power disconnect event, which fixes
this problem, though introduces another one
** Patch added: ac-adapter-removed-event-gone.patch
http://launchpadlibrarian.net/51229985/ac-adapter-removed-event-gone.patch
--
Two suspends when opening lid
@Torsten: We have currently fixed g-p-m to suspend on lid-closure when
not on ac-power.
Should we try different settings there to hinder g-p-m fiddling with
power disconnect events?
--
Two suspends when opening lid
https://bugs.launchpad.net/bugs/595985
You received this bug notification
I found /apps/gnome-power-manager/action/event_when_closed_battery
that seems to have the same effect as my patch, albeit less invasive.
Thanks for the reminder!
--
Two suspends when opening lid
https://bugs.launchpad.net/bugs/595985
You received this bug notification because you are a member of
** Tags added: patch
--
Two suspends when opening lid
https://bugs.launchpad.net/bugs/595985
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
A work around might be to inhibit gnome-power manager for a few seconds
when resuming.
--
Two suspends when opening lid
https://bugs.launchpad.net/bugs/595985
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.
The following dbus-send command is a first attempt. It does not inhibit
right now, but I believe the path is right:
dbus-send --print-reply --dest='org.gnome.SessionManager'
/org/gnome/SessionManager org.gnome.SessionManager.Inhibit
string:torsten uint32:0 string:Just a test uint32:15
--
Two
The dbus-send command cannot work due to the fact that dbus-send exits
and Inhibitor cleans up thereafter.
--
Two suspends when opening lid
https://bugs.launchpad.net/bugs/595985
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to
I tried the following python script called from resume, but it gnome-
power-manager simply waits for the inhibited time and then the system
will sleep:
==
#!/usr/bin/env python
import dbus
import time
session_bus = dbus.SessionBus()
proxy = session_bus.get_object('org.gnome.SessionManager',
Here the gpm.log for the situation, taken with gnome-power-manager
--verbose 21 | tee ~/gpm.log
** Attachment added: gpm.log
http://launchpadlibrarian.net/51114828/gpm.log
--
Two suspends when opening lid
https://bugs.launchpad.net/bugs/595985
You received this bug notification because you
Grepping for suspend in gpm.log I see these two lines:
- suspending, reason: The lid has been closed, and the ac adapter
removed (and gconf is okay).
- suspending, reason: The lid has been closed on battery power.
The later reason seems to be unjustified as the lid was open, especially
when
10 matches
Mail list logo