Comment 72 for bug 752881

Revision history for this message
Carla Sella (carla-sella) wrote : Re: suspend triggered via dbus message on laptop fails

I installed the kernel downloaded from:

http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-10-19-oneiric/linux-headers-3.1.0-999-generic_3.1.0-999.201110190711_amd64.deb

http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-10-19-oneiric/linux-headers-3.1.0-999_3.1.0-999.201110190711_all.deb

http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-10-19-oneiric/linux-image-3.1.0-999-generic_3.1.0-999.201110190711_amd64.deb

I installed it and rebooted my laptop selecting in the boot menu the new kernel.

The Suspend/Resume smoke test - Case ID: snr-001 (http://testcases.qa.ubuntu.com/System/SuspendResume) does not work, the screen goes black the laptop seems suspended, but as you move the mouse you get the prompt for password and you go back to your session but network is not working anymore, can't activate it had to restart network manager from command line.

The Extended Suspend/Resume test - Case ID: snr-002 does not work:

letozaf@HP-G62-Notebook-PC:~$ sudo /usr/share/checkbox/scripts/suspend_test --full
This script will attempt to suspend and resume your computer a number of times.
Should the machine fail to resume, first attempt to manually resume it. If
that fails power your system off and on which will generate an apport bug
report automatically.

Press CTRL-C now to abort testing ...

*** TEST 1 -- suspend triggered via dbus message
*** please ensure your AC cord is attached
*** machine will suspend for 20 seconds
*** press return when ready

test1 did not work
SUSPEND FAILED, did not go to sleep

*** TEST 2 -- suspend with AC disconnected
*** please ensure your AC cord is detached
*** machine will suspend for 20 seconds
*** press return when ready

test2 did not work
SUSPEND FAILED, did not go to sleep

*** TEST 3 -- suspend with AC connected
*** please ensure your AC cord is attached
*** machine will suspend for 20 seconds

test 3 failed
*** SUSPEND FAILED, did not go to sleep

*** TEST 4 -- loss of AC while suspended
*** please remove the AC cord while the machine is suspended
*** machine will suspend for 20 seconds
*** press return when readyress return when ready

Test 4 : laptop did not suspend, so I did not remove AC cord

SUSPEND FAILED, did not go to sleep
*** WARNING: AC power not in expected state (0) after test

*** TEST 5 -- return of AC while suspended
*** please insert the AC cord while the machine is suspended
*** machine will suspend for 20 seconds
*** press return when ready

Test 5: laptop did not suspend, but I inserted AC cord

SUSPEND FAILED, did not go to sleep

*** TEST 6 -- battery drain during suspend
*** calculates overall power drain during a long-term suspend
*** please ensure your AC cord is detached
*** machine will suspend for 20 minutes
*** press return when ready

Test 6 failed (test lasted only a few seconds, not a minute)
SUSPEND FAILED, did not go to sleep
before: 1152 mWh
after: 1120 mWh
consumed: 32 mW
sleep seconds: 30 sec
overall usage: 3840 mW
WARNING: the suspend was less than 20 minutes
         to get reliable numbers increase the sleep time

*** TEST 7 -- 30 iteration variable delay suspend/resume stress test
*** please ensure your AC cord is attached
*** machine will suspend for 20 seconds
*** NOTE: there will be no further user interaction from this point
*** press return when ready

delay 60 ...
SUSPEND FAILED, did not go to sleep
wait for 60 seconds
delay 58 ...
SUSPEND FAILED, did not go to sleep
wait for 58 seconds
delay 56 ...
SUSPEND FAILED, did not go to sleep
wait for 56 seconds
delay 54 ...
SUSPEND FAILED, did not go to sleep
wait for 54 seconds
delay 52 ...
SUSPEND FAILED, did not go to sleep
wait for 52 seconds
delay 50 ...
SUSPEND FAILED, did not go to sleep
wait for 50 seconds
delay 48 ...
SUSPEND FAILED, did not go to sleep
wait for 48 seconds
delay 46 ...
SUSPEND FAILED, did not go to sleep
wait for 46 seconds
delay 44 ...
SUSPEND FAILED, did not go to sleep
wait for 44 seconds
delay 42 ...
SUSPEND FAILED, did not go to sleep
wait for 42 seconds
delay 40 ...
SUSPEND FAILED, did not go to sleep
wait for 40 seconds
delay 38 ...
SUSPEND FAILED, did not go to sleep
wait for 38 seconds
delay 36 ...
SUSPEND FAILED, did not go to sleep
wait for 36 seconds
delay 34 ...
SUSPEND FAILED, did not go to sleep
wait for 34 seconds
delay 32 ...
SUSPEND FAILED, did not go to sleep
wait for 32 seconds
delay 30 ...
SUSPEND FAILED, did not go to sleep
wait for 30 seconds
delay 28 ...
SUSPEND FAILED, did not go to sleep
wait for 28 seconds
delay 26 ...
SUSPEND FAILED, did not go to sleep
wait for 26 seconds
delay 24 ...
SUSPEND FAILED, did not go to sleep
wait for 24 seconds
delay 22 ...
SUSPEND FAILED, did not go to sleep
wait for 22 seconds
delay 20 ...
SUSPEND FAILED, did not go to sleep
wait for 20 seconds
delay 18 ...
SUSPEND FAILED, did not go to sleep
wait for 18 seconds
delay 16 ...
SUSPEND FAILED, did not go to sleep
wait for 16 seconds
delay 14 ...
SUSPEND FAILED, did not go to sleep
wait for 14 seconds
delay 12 ...
SUSPEND FAILED, did not go to sleep
wait for 12 seconds
delay 10 ...
SUSPEND FAILED, did not go to sleep
wait for 10 seconds
delay 8 ...
SUSPEND FAILED, did not go to sleep
wait for 8 seconds
delay 6 ...
SUSPEND FAILED, did not go to sleep
wait for 6 seconds
delay 4 ...
SUSPEND FAILED, did not go to sleep
wait for 4 seconds
delay 2 ...
SUSPEND FAILED, did not go to sleep
wait for 2 seconds

*** Please report your results on the Ubuntu WIKI:
    https://wiki.ubuntu.com/KernelTeam/SuspendResumeTesting

      Battery Consumption: 3840 mW (unreliable)
letozaf@HP-G62-Notebook-PC:~$