Announcement

Collapse
No announcement yet.

No wake from Suspend/Hibernate - Sony VGN-S505P/B

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    No wake from Suspend/Hibernate - Sony VGN-S505P/B

    All, here is my text log from trying various things to get my laptop to awake from suspend/hibernate.  Any more suggestions?


    Machine:  Sony VGN-S505P/B
    Video:  nvidia, nv driver
    Problem:  suspend/hibernate results in blank screen on startup
    Wireless:  Intel ipw2200

    I suspend by closing the list to my Sony VGN-S505P/B laptop or by manually activating suspend.  I can also manually activate hibernate.  But my laptop doesn't resume from either state.

    When I do boot as a power on, the "kubuntu" graphic during startup has the colors messed up, so I suspect some video issue.

    For my initial attempts to make it work I started here: http://ubuntuforums.org/showthread.php?t=201960

    First:
    Edit /etc/default/acpi-support
    Change  SAVE_VBE_STATE=true
    to      SAVE_VBE_STATE=false

    then "sync" to make sure my files are written, in case the laptop doesn't come back up - now try to suspend by closing the lid.

    The graphics are garbled with many artifacts, and I can barely read this text.  Time to reboot.  The resume did not work.

    Okay, now rebooted - let's try
    Change  POST_VIDEO=true
    to      SAVE_VBE_STATE=false

    I just noticed the first line which says I have to uncommend to enable suspend-to-ram, so I'll
    Change  #ACPI_SLEEP=true
    to      ACPI_SLEEP=true
    and revert the SAVE_VBE_STATE to true

    and reboot before trying to suspend.  Thankfully Ubuntu reboots fast.

    I rebooted before doing the suspend, and I again have video corruption.  Time to poweroff and cold-boot.

    After a cold boot, the system screen had color artifacts.  Now to try and suspend...

    Didn't work.  The system screen now had a white background instead of black, and continued color artifacts.

    Now to change SAVE_VBE_STATE to false.  Summary of changes:
            ACPI_SLEEP=true
            ACPI_SLEEP=true
            SAVE_VBE_STATE=false

    Now let's try suspend....

    Didn't work, and again corruption in the system boot graphics.  Now let's make all the changes:

            ACPI_SLEEP=true
            SAVE_VBE_STATE=false
            POST_VIDEO=false
            USE_DPMS=false
            DOUBLE_CONSOLE_SWITCH=true

    And in /etc/acpi/wireless.sh
            echo -n 3 > $DEVICE/device/power/state;

    Now to try and suspend by shutting the lid....

    Well, none of these worked and the result is the same - every time I try to resume, the graphics never come back on.  It appears that the backlight also never comes on.

    I'm going to edit /etc/default/acpi-support and change one more thing:
            SAVE_VIDEO_PCI_STATE=true

    Now try to suspend again...

    Okay, still not working - still a blank screen.

    Looking at the video drivers that have "nv" in them:
            lsmod | grep nv

            nvidia               4550772  0
            i2c_core               21904  2 i2c_acpi_ec,nvidia
            agpgart                34888  2 nvidia,intel_agp

    maybe unloading one of these (or keeping one loaded) may do the trick...?

    First, let's unload nvidia.
            MODULES="nvidia"

    That still didn't work, the video is still not coming back up.  What could it be...?

    Let's move nvidia to the whitelist and get rid of the console-switch thing:
            MODULES_WHITELIST="nvidia"
            # DOUBLE_CONSOLE_SWITCH=true

    I noticed that my kernel is 2.6.15-27-386 - and I read somewhere that ACPI is better with the generic vice complied for 386? Maybe that had something to do with APM?

    Okay, I'm going to reboot and then try to suspend with the lid closing.

    Another failure.  I'm out of ideas.

    I found a link to:  http://sourceforge.net/projects/suspend
    linked from here:  http://www.kernel.org/git/?p=linux/k...ower/video.txt

    which is a long text about how the video card is the problem during resume.  In the suspend program whitelist, my laptop is not listed - there is only a Sony U101.

    I edited /boot/grub/menu.lst and added acpi_sleep=s3_bios,s3_mode to the kernel boot, then ran
            sudo update-grub

    Unfortunately, the changes don't stick...?

    Okay, lots of recommendations to try post #12 here:  http://ubuntuforums.org/showthread.php?t=201960&page=2

    Didn't work - same blank screen.

    Okay, now to try the instructions from the Wiki
            https://help.ubuntu.com/community/Nv...yDriverSuspend
    Even though desktop/config shows the nv driver, I suspect the nvidia binary driver is actually running because the graphics are snappy.

    Looking at /etc/X11/xorg.conf, it appears I am indeed running the nv driver.  I've added in the option mentioned in the WIKI.

    Okay, looking at https://www.ubuntulinux.org/wiki/SuspendHowto
    it says to add the ipw2200 module to MODULE because it can't suspend.


    Let's try closing the lid now....


    Okay, I give up.

Working...
X