laptop does not suspend or hibernate

Bug #164016 reported by ragnaroknroll
6
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

i'm running ubuntu gutsy on a toshiba satellite pro a120, and the suspend and hibernate functions don't seem to work... the laptop goes into suspend or hibernation pretty normally, but doesn't come out of either, and i'm forced to restart... this is pretty bugging coz i need to shutdown each time i'm not using my laptop to conserve the battery...

Revision history for this message
Oleksij Rempel (olerem) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We still need more debug info to find out best solution. Please read this:

https://wiki.ubuntu.com/UnderstandingSuspend
https://wiki.ubuntu.com/DebuggingKernelSuspend

This pages describes how to debug Suspend to RAM/Resume problems on your computer.

Revision history for this message
ragnaroknroll (ragnaroknroll) wrote :

wow... tried reading both those pages, but both went right over my head... i'm still a novice at linux...

Revision history for this message
Oleksij Rempel (olerem) wrote :

Ok... i'l try a bit simpler ;)

1. Disable desktop effects if it enabled and try to suspen and resume.

2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.

3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

i guess you have laptop with intel i945g video chip so it can be this bug: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/133677

Nanley Chery (nanoman)
Changed in gnome-power-manager:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!.

Changed in gnome-power-manager:
status: Incomplete → Invalid
Revision history for this message
sjs889 (sjarrettsprague) wrote :

Although I am not the original bug reporter here is the required output you asked for from my Toshiba Satellite Pro A120.

Revision history for this message
sjs889 (sjarrettsprague) wrote :
Revision history for this message
sjs889 (sjarrettsprague) wrote :
Revision history for this message
Oleksij Rempel (olerem) wrote :

Try if it's working with:
echo mem > /sys/power/state

if not working, try
echo 1 > /proc/sys/kernel/acpi_video_flags
it can be different modes 1, 2, 3
more you can read here:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/power/video.txt;h=2b358498d095b59d8ddf950b1c1ec109c2c6e7d8;hb=HEAD

Ist suspend working with kernel boot option nosmp?

Revision history for this message
sjs889 (sjarrettsprague) wrote :

Hi,

Bit new to this linux stuff so be patient. I tried the above and this was the output I got from the terminal.

stephen@stephen-laptop:~$ echo mem > /sys/power/state
bash: /sys/power/state: Permission denied
stephen@stephen-laptop:~$
stephen@stephen-laptop:~$ sudo echo mem > /sys/power/state
bash: /sys/power/state: Permission denied
stephen@stephen-laptop:~$ echo 1 > /proc/sys/kernel/acpi_video_flags
bash: /proc/sys/kernel/acpi_video_flags: Permission denied
stephen@stephen-laptop:~$ echo 2 > /proc/sys/kernel/acpi_video_flags
bash: /proc/sys/kernel/acpi_video_flags: Permission denied
stephen@stephen-laptop:~$ echo 3 > /proc/sys/kernel/acpi_video_flags
bash: /proc/sys/kernel/acpi_video_flags: Permission denied

I will try the nosmp boot option next.

Revision history for this message
sjs889 (sjarrettsprague) wrote :

Hmm not sure how to add nosmp as a boot option from grub screen ...

Revision history for this message
Oleksij Rempel (olerem) wrote : Re: [Bug 164016] Re: laptop does not suspend or hibernate

taken here:
https://wiki.ubuntu.com/DebuggingKernelBoot?highlight=(kernel)
To add other kernel boot option:
     1. Press 'Escape' key at the 3 second pause by Grub bootloader.

     2. Then press 'e' (edit) on the buggy kernel entry, followed by 'e'
        again on the kernel line.

     3. Then add nosmp and press 'b' to boot.

> bash: /sys/power/state: Permission denied
seems like sudo do not have permission to do this, so you should use "su
root"
to enable root account use "sudo passwd"

Revision history for this message
sjs889 (sjarrettsprague) wrote :

The output of /sys/power/state is

cat /sys/power/state

mem disk

Using boot option nosmp doesn't seem to change behaviour.

Revision history for this message
sjs889 (sjarrettsprague) wrote :

I tried

echo 3 > /proc/sys/kernel/acpi_video_flags

And did a suspend. The screen goes black and then there is a lot of disk activity and the fan goes crazy. After about >5 mins the laptop goes into a suspend state. I was then able to wake from suspend. I haven't waited this long before so echo 1 or 2 might have got the same behaviour.

Haven't got time to try hibernate or anything else for the next two days.

Revision history for this message
Oleksij Rempel (olerem) wrote :

> cat /sys/power/state

did you used suspend from gui or with "echo mem > /sys/power/state" ?
if you use gui this "echo 3 > /proc/sys/kernel/acpi_video_flags" will
not make difference for you.

Revision history for this message
sjs889 (sjarrettsprague) wrote :

I can suspend and resume calling s2ram from a terminal in X. I have downloaded uswsusp with s2ram and can get it to suspend with sudo s2ram -f -a 3 and s2ram -f -a 2. Takes a looong time to suspend but is quick to wake up. (It would be faster to shutdown and restart than suspend at the moment. Output from s2ram -i is

This machine can be identified by:
    sys_vendor = "TOSHIBA"
    sys_product = "Satellite Pro A120"
    sys_version = "PSAC1E-0J3021EN"
    bios_version = "Version 3.20"

Can't get suspend to work with gui.

Revision history for this message
sjs889 (sjarrettsprague) wrote :

Hmm. The computer after taking a very long time will suspend from the gui. It will suspend from the log-off, suspend,restart screen from gnome desktop and will come back on with a password controlled dialogue box.

Revision history for this message
sjs889 (sjarrettsprague) wrote :

After a bit more testing I can confirm that putting the option "suspend" into "when laptop lid is closed" will result in the computer being suspended.

The problem appears to be that the computer is taking a very long time to suspend which makes people think that the computer isn't "suspending".

Revision history for this message
Oleksij Rempel (olerem) wrote :

can you please attach /var/log/pm-suspend.log

Revision history for this message
sjs889 (sjarrettsprague) wrote :
Revision history for this message
sjs889 (sjarrettsprague) wrote :

In Windows Vista sleep takes seconds not minutes. Having looked around launchpad a bit I think my problem is the same as

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/139045

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.