Laptop with nvidia binary drivers does not suspend when lid is closed

Bug #951479 reported by Roman Masek
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-desktop3 (Ubuntu)
Undecided
Unassigned

Bug Description

When I close the lid on my laptop (HP EliteBook 8540w), laptop is not suspended. Suspend in other use-cases works ok (e.g. when invoked from system menu).

I've done some research and problem is, that gnome-settings daemon thinks that there are active external outputs - in such case suspend is skipped. Have a look at method do_lid_closed_action in gsd-power-manager.c. This method uses gnome_rr_output_is_laptop method from gnome-rr.c to find out, whether output is built-in or external. On my notebook output->name is "default" and hence output is considered to be an external one (even though there are no external outputs connected).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgnome-desktop-3-2 3.3.91-0ubuntu1 [modified: usr/lib/libgnome-desktop-3.so.2.1.2]
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Sat Mar 10 12:46:14 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-desktop3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Roman Masek (romario333) wrote :
Roman Masek (romario333)
description: updated
description: updated
Revision history for this message
Roman Masek (romario333) wrote :

Real problem for me is that laptop does not suspend. I want it to suspend even when there is external display connected. I've filled new bug for that and I'm keeping this bug report open, because function gnome_rr_output_is_laptop does not work correctly IMO.

New bug is here:

https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/951790

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-desktop3 (Ubuntu):
status: New → Confirmed
Revision history for this message
Jernej Virag (jernej) wrote :

This also happens on my Dell M1330 and is a regression since 11.10 - it is a serious issue since I noticed this as I pulled completely overheated laptop with dead battery out of a bag.

I strongly suggest fixing this before release of 12.04.

Revision history for this message
Rainer Rohde (rainer-rohde) wrote :

I agree with the previous post! Thinking it was safe to assume that the laptop would go into suspend is quite bad considering that a) it doesn't lock the screen and b) does indeed overheat badly when putting it back into it's case after work or so.

Revision history for this message
James Tait (jamestait) wrote :

Is this a duplicate of #949296?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers