← Back to team overview

desktop-packages team mailing list archive

[Bug 863834] Re: [regression] Suspend on lid close broken on Oneiric

 

Guys, i don't know much and i maybe very wrong, but i think i managed to
partially solve it. If you open /etc/acpi/lid.sh, which is the script
being called when the lid is closed, has nowhere pm-suspend command
which actually suspends the computer. I added the line pm-suspend after
all the ifs are closed and it suspends, but on wake up it does not ask
for password. This leads me to think that this is not a good solution,
however maybe it is a clue.

-- 
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