Missing suspend button

Bug #336272 reported by Liam O'Reilly
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

I am using 8.10 and have just installed 9.04 Alpha 5. Both system do not allow me to suspend my system. Hibernate is available (have not tried this to see if it works), but the suspend option is missing in the logout menu on the panel in the top right hand corner (default).

The problem is 100% reproducible on my computer.
To reproduce the problem, just turn boot up the computer and there is no suspend option (even after a fresh install with or with out all updates being installed.)

I dont know what information is helpful, if someone guides me I can easily provide all information needed. I have attached the output of "lspci -v" from my 9.04 Alpha 5 installation

output of uname -a is
Linux desktop-pc 2.6.28-8-generic #26-Ubuntu SMP Wed Feb 25 04:27:53 UTC 2009 x86_64 GNU/Linux

Revision history for this message
Liam O'Reilly (aliam13-2) wrote :
Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

This is still tha case for me on 9.04 Alpha 6 - 64 bit

Revision history for this message
Aurélien COUDERC (coucouf) wrote :

I also have this problem with an up to date 32-bit jaunty beta.
My hardware is different, based on Athlon XP + nforce2 + R300, see attached output of "lspci -v".

The "Hibernate" option is present and works just fine.

Is there something else to do to investigate this problem ?

Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

The user Aurélien Couderc confirms this bug in addition to the original report and the secondary report on the Jaunty Alpha 6. Three reports confirm the bug.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

This is also the situation on the Jaunty release candidate 64 bit version.

Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

This is also the situation on the Jaunty final release 64 bit version.

Revision history for this message
Pedro (pedro-monteiro) wrote :

The suspend to RAM, or sleep function, is not listed under the username session menu or the UPS battery menu.

sudo /etc/acpi/sleep.sh sleep > sleep.txt
sleep.sh appears to go to sleep for a fraction of second with a black screen, then returns immediately, but the wifi card does not reconnect automatically. Attached outputs of sleep.sh and lspci -v.

Hibernate is listed in both menus, but when selected the video appears to switch into text mode with only a white blinking cursor on the top left and a black background. At that point it becomes unresponsive to any inputs, and the only way out is a hard boot.

I have a VIA motherboard with a 32-bit Intel processor.

Description: Ubuntu 9.04
Release: 9.04

Revision history for this message
Scott Howard (showard314) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Karmic Koala. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/. Thanks again and we appreciate your help.

If it is still a problem, see:
https://wiki.ubuntu.com/DebuggingGNOMEPowerManager
specifically the section: "Finding out why suspend or hibernate aren't offered"

Changed in gnome-power-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

I will check this later tonight - but I can update that this is also the case in Ubuntu 9.04 64 bit version (up-to-date as of 13 July 2009)

Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

I have just investigated using the link 2 posts above.

pm-is-supported --suspend || echo "Not supported"

states that suspend isn't supported. how would I investigate why pm-utils thinks I cannot suspend.

I believe Windows suspends fine. I am 100% my system supports this. I will check later tonight that windows suspends correctly.

Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

I have quickly investegated my BIOS settings. Under power management there is a field "ACPI Standby State" with options:
-> S1 (POS)
-> S3 (STR)
-> Auto

The option that was selected was S1. With option S3 or Auto selected then the suspend button correctly appears and the system correctly works. With option S1 selected then the suspend button is not displayed.

According to Wikipedia. The state S1 means "All processor caches are flushed, and the CPU(s) stop executing instructions. Power to the CPU(s) and RAM is maintained; devices that do not indicate they must remain on may be powered down". Shouldn't Ubuntu (or Linux in general) support this (less energy saving) version of suspend?

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Scott Howard (showard314) wrote :

Thanks for the detective work! I'm reassigning this to pm-utils. Have you tried this in Karmic yet? There has been some significant changes to power management since Jaunty, and it would be best to do all further debugging in the Karmic development environment (http://www.ubuntu.com/testing/).

affects: gnome-power-manager (Ubuntu) → pm-utils (Ubuntu)
Changed in pm-utils (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

I have tried to reproduce the problem on 9.10 64 bit version Alpha 2.

With the BIOS setting "ACPI Standby State" set to "S1(POS)" the suspend button now appears correctly. However when clicked, the screen fades to black, then abruptly changes back to the working desktop. Suspend fails. This fading and coming back takes approximately 3 seconds. I could not find any significant information in the log files, however I did not know what to look for or where I was looking.

With regards to the behaviour with the BIOS setting "ACPI Standby State" being set to "S3(STR)" or "Auto", both have the same behaviour. That is, the screen fades to black and suspends, what looks to be correctly. However, does not resume. My current install (8.10 64 bit version) allows me to resume from keyboard, the live CD did not. When pressing the power button on my case to initiate the resume, the screen lit to a black, the CD spun up and looked like it was being accessed via a blinking led on the CD drive. This blinking lasted about 10 seconds then the led on the cd drive did not blink any more. I wait about 2 minutes, no change - just a blank screen. Alt-ctr-del just made the system beep. Sys-req allowed me to restart.

I have a Nvidia graphic (Geforce 6600GT) card which needs proprietary drivers to work correctly, and awireless card with a broadcom chipset that needs firmware downloaded via jockey. This may have caused some trouble with the suspend/resume as the live cd can not be used to install these properitory pieces of software (or I don't know how to do this).

Also the hibernate button has disappeared. I assume this is because I was using the live CD.

I am unable to install a development version at the moment. I could free up a hard disk somewhere, but this will take me a lot of time, which I simply don't have at the moment. I will be able to try a real install of Alpha 3 I guess.

Restart also failed(when tried with "S1(POS)" - I used a forced restart with the other settings), but I guess this is another story and a new bug report to file.

Changed in pm-utils (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

I have tested this bug with Karmic (release version) with the following results:
-> With BIOS set to "S1(POS)" the suspend option in the user switch applet does appear. When clicked the screensaver activates (and runs). I don't know if the system has suspended to S1(POS) state? As the CPU is supposed to be stopped and not executing instructions and the screen saver is running, I guess the suspend failed.

Also under S1(POS) the command
pm-is-supported --suspend || echo "Not supported"
produced "Not Supported" (but the suspend entry is in the user switch applet's menu). Under other settings (S3 STR and AUTO) this command produces nothing.

Revision history for this message
Scott Moore (scottbomb) wrote :

Button missing in 13.10 while testing the daily ISO. Computer does suspend when I close the lid. IBM Thinkpad T60.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/336272

tags: added: iso-testing
Revision history for this message
Esokrates (esokrarkose) wrote :

Regarding comment #15:

A workaround at the moment would be to create a file (you need root rights)

/etc/polkit-1/localauthority/90-mandatory.d/enable-suspend.pkla

containing:

[Enable suspend]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend
ResultActive=yes

After a reboot the missing suspend entry would be there again.

Revision history for this message
David Pires (slickymaster) wrote :

Another workaround is to install Lionel Le Folgoc's test package in his ppa (no need to add the repository, just grab the xfce4-session/saucy package).
Feedback welcome, thanks.
(PS: the package hasn't built yet, cf. https://launchpad.net/~mrpouit/+archive/ppa/+build/4758749 and https://launchpad.net/~mrpouit/+archive/ppa/+build/4758748)

Revision history for this message
Pasi Lallinaho (knome) wrote :

Can't confirm this on the daily ISO (20130917).

Revision history for this message
penalvch (penalvch) wrote :

Liam O'Reilly, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/336272/comments/13 regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in pm-utils (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.