[Bug 1160995] Re: Suspend isn't triggered by lid close

Christian A. Reiter christian.a.reiter at gmail.com
Tue Jul 16 12:17:59 UTC 2013


Sorry, forget my post. Everything works as expected here, my fault ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1160995

Title:
  Suspend isn't triggered by lid close

Status in Ubuntu GNOME:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Released
Status in “systemd” source package in Raring:
  Fix Released

Bug description:
  [Impact]
  On the current systemd in raring there are the following two power related issues.

  * Suspend does not get triggered when laptop lid is closed
  * Power off does not work due to a missing poweroff target.

  [Test Case]

  * Install systemd and a logind enabled build of g-s-d
  * Close laptop lid, system will not suspend
  * select poweroff from usermenu, machine will not power off

  NB: gnome3-staging PPA has temporary workarounds for both these
  issues, so it shouldnt be used for testing.

  [Regression Potential]
  Very Low, both these fixes are rather trivial, however they fix very serious issues.

  === Original Bug Report ===

  In raring, using Ubuntu GNOME, when you close the lid nothing happens.
  It used to suspend in Quantal. It seems that the problem comes from
  the lack of systemd according to
  http://www.infty.nl/wordpress/2012/12/gnome-3-on-ubuntu-raring-and-
  suspend/. From the same webpage, there is a workaround: put the
  following into /etc/acpi/local/lid.sh.post, and make it executable.

  #!/bin/bash

  grep -q closed /proc/acpi/button/lid/*/state
  if [ $? = 0 ]; then
     pm-suspend
  fi

  ProblemType: BugDistroRelease: Ubuntu 13.04
  Package: gnome-session 3.7.92-0ubuntu1~raring1 [origin: LP-PPA-gnome3-team-gnome3]
  ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
  Uname: Linux 3.8.0-14-generic i686
  ApportVersion: 2.9.2-0ubuntu5
  Architecture: i386
  Date: Wed Mar 27 17:09:41 2013
  InstallationDate: Installed on 2010-09-15 (923 days ago)InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  MarkForUpload: True
  PackageArchitecture: allSourcePackage: gnome-session
  UpgradeStatus: Upgraded to raring on 2011-04-01 (726 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1160995/+subscriptions




More information about the foundations-bugs mailing list