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

Adam Conrad adconrad at 0c3.net
Tue May 14 00:17:18 UTC 2013


Hello Julien, or anyone else affected,

Accepted systemd into raring-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/systemd/198-0ubuntu11.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: systemd (Ubuntu Raring)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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:
  Confirmed
Status in “systemd” package in Ubuntu:
  Fix Released
Status in “systemd” source package in Raring:
  Fix Committed

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