desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #63582
[Bug 863834] Re: [regression] Suspend on lid close broken on Oneiric
In my case (Gnome3 on Oneiric on Thinkpad T60 with Radeon X1400) this is a collusion of two issues pointed out separately above:
(1) Gnome3's intended behavior is to disallow suspend while more than one monitor is active (comment #8, comment #3, [1])
(2) upower returns a false positive when asked whether more than one monitor is active (aka the is-docked state) for *some* graphic devices (comment #20, Bug #854404 and [2] is related but my false positive manifests on a system with a single video card)
Potential fix for issue (2) is in a patched upower package available at
ppa:alexei.colin/upower (details on the patch are in [2]). Run 'upower
-d | grep docked'. Note that because of a known issue with notifications
[3] you might have to restart upowerd daemon to see the effect of
turning off a screen; also note that the monitor must be cleanly turned
off from display settings, pulling the cable doesn't change any state in
my experience).
RANT:
(1) see upower rant in [2]
(2) This Gnome3 behavior should be configurable. Once issue (2) is fixed, the Gnome3's *intended* behavior is actually working, but that just creates the issue of how to get rid of this behavior... anybody know if it's configurable at least manually if not in Gnome GUI settings? (I'm not hopeful for more GUI settings after [4])
[1] http://blogs.gnome.org/hughsie/2011/02/02/is-gnome-3-going-to-melt-your-laptop/
[2] https://bugs.freedesktop.org/show_bug.cgi?id=36818
[3] From comment on PollDockDevices in UPower.conf: Poll the kernel for dock state changes. Some drivers are still broken, and do not send out uvents when the connected state changes. default=false
[4] http://afaikblog.wordpress.com/2011/02/03/on-laptop-lids-and-power-settings/
** Patch added: "upower is-docked detection; ppa:alexei.colin/upower upower_0.9.13-1ac2"
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834/+attachment/2663405/+files/lp-863834-docked-state-detection.patch
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/863834
Title:
[regression] Suspend on lid close broken on Oneiric
Status in “gnome-power-manager” package in Ubuntu:
Confirmed
Bug description:
With Oneiric, I cannot have my laptop go into suspend mode by closing the lid anymore. In the gnome settings, the lid close action is configured to suspend (both on AC and on battery), but closing the lid does nothing.
Here is the output of "acpid -d" when I close the lid:
No protocol specified
xset: unable to open display ":0"
And here it what it says when I open the lid:
Sessions still open, not unmounting
Here is the output of acpi_listen when I close/open the lid:
button/lid LID0 00000080 00000009
button/lid LID0 00000080 0000000a
Here is what /proc/acpi says with the lid open and closed:
gpothier@tadzim:~$ cat /proc/acpi/button/lid/*/state
state: open
gpothier@tadzim:~$ cat /proc/acpi/button/lid/*/state
state: closed
Suspending in itself works fine with the laptop's suspend button.
Suspend on lid close worked fine in Natty.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834/+subscriptions