I will divide this into two sections, suspend and hibernation, for
better understanding.

Suspend:
        After reading the triage and debugging guide, I noticed this advice: 
"The usual problem occurs when resuming, and normally the culprit is a device 
driver that does not recover from a powered down state."
        So I had and idea: deactivate the module for WiFi (rtl8187), because it 
is kinda buggy (ndiswrapper used to work better.), and... voilĂ ! Suspending 
works! I've resumed and suspended several times and Ubuntu did it gracefully. 
Just to make sure, I re-inserted the rtl8187 module and... suspend didn't work 
anymore.
        Could somebody else with this laptop confirm if it is related to the 
rtl8187 module?
        One interesting note to add: the laptop does not suspend if the lid is 
closed. Ubuntu takes me back to the unlock prompt. When the lid is open, it 
works perfectly. Solution: close the lid only after the laptop is fully 
suspended.

        Following the debug instructions didn't help much. The "rebooting with 
no_console_suspend" thing just gave me a black screen with the blinking cursor 
on top left of the screen (no flashing keyboard LEDs), and the "sync; echo 1 > 
/sys/power/pm_trace; pm-suspend" gave me the same result, although I've grabbed 
a dmesg after rebooting.  (attached dmesg-output.txt)
        [    5.108036]   Magic number: 1:908:515
        Dunno what this line means, but the guide recommended to find it.

        Note: Suspend once worked well in Ubuntu 8.04 LTS, maybe because it 
didn't detect my wireless card, so the rtl8187 module was never loaded.
        Temporary solution: blacklist the rtl8187 module. I do not use wireless 
often, and when I need it, I use a (eek!) virtual machine with Windows.

Hibernation:
        It is not working regardless of the rtl8187 module. So, for the test, 
I've left it enabled.

        1. pm-hibernate with no_console_suspend kernel option.
                Didn't hibernate, as usual. No output on the console. Was able 
to switch tty (CTRL+ALT+F1....F5) but no keyboard input was accepted. Tried 
CTRL+ALT+F7 to switch to X, and the system stopped working.

        2. Per-subsystem hibernation testing
        The computer locked when I issued the command "echo disk > 
/sys/power/state". Was able to switch tty (CTRL+ALT+F1....F5) but no keyboard 
input was accepted. Tried CTRL+ALT+F7 to switch to X, and the system stopped 
working, just like test #1. 

        Note: hibernation worked well in Ubuntu 8.04 LTS.

** Attachment added: "dmesg-output.txt"
   http://launchpadlibrarian.net/24388699/dmesg-output.txt

-- 
[TOSHIBA Satellite A215] suspend/resume failure when testing Suspend in Jaunty 
Alpha 6 on laptop
https://bugs.launchpad.net/bugs/342656
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to