Upon further inquiry I've found out that the ConnectorType property that gnome_rr_output_is_laptop() just isn't implemented for most of the video drivers in X, and it isn't likely to be fixed in the near future.
So for precise something along the lines of the patch I've attached is going to be required. Federico Mena-Quintero commented on the upstream bug report that the patch makes sense. Is that enough to move forward with it? This really ought to be fixed for precise, or else the code in g-s-d that using this function to leave the machine running when the lid is closed ought to be removed. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-desktop3 in Ubuntu. https://bugs.launchpad.net/bugs/933710 Title: Laptops with eDP panels do not suspend when lid closed Status in GNOME Desktop Common Files: Confirmed Status in “gnome-desktop3” package in Ubuntu: Confirmed Status in “xserver-xorg-video-intel” package in Ubuntu: Confirmed Status in “gnome-desktop3” source package in Precise: Confirmed Status in “xserver-xorg-video-intel” source package in Precise: Confirmed Bug description: Recently this machine stopped suspending when the lid is closed. It suspends just fine from the menu, but when the lid is closed the backlight turns off for a few seconds then comes back on, but the machine never suspends. I can't find any indication in the logs that anything even attempted to initiate a suspend. Often after opening the lid the desktop has become completely unresponsive. I'm not sure that this is a bug in gnome-settings-daemon, but I've traced it up the stack far enough to know that the events are coming out of the kernel and that upower is detecting the lid status changes and sending out events on dbus. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: gnome-settings-daemon 3.3.5-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6 Uname: Linux 3.2.0-16-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 Date: Thu Feb 16 12:03:27 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20111208) ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-settings-daemon UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-desktop/+bug/933710/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

