suspend to ram

My laptop won’t wake from sleep. I hit the powerbutton and it’ll blink a few more times, turn green and the keys will light up but the screen stays black.

Running sony vaio s with windows 7 and 11.4 duelboot. I really need it to be able to suspend and wake because I’ll be taking it to college in the fall.

See if this can help
SDB:Suspend to RAM - openSUSE

I tried but i can’t get it to work right. I have “AMD Radeon HD 6630M (1GB VRAM) hybrid graphics with intel wireless display” (exactly how it says it on my order form) maybe the software isn’t new enough to cover it? It said the latest version it had been sucessfully tested on was 11.3.
Thanks for pointing me in the right direction. I’m going to keep fiddling around with it and might post something in the hardware forum.

All my Laptops have onboard intel graphics and all work perfectly

My box with a nvidia card does not and never has worked, with any distro. It’s on all day anyway and off at night mostly.

Here’s my problems:

  1. I’m very new to Linux and honestly everything on computers except word, games internet, etc. (I think problem 1 will resolve itself over time)

  2. My computer won’t wake from suspend to ram. I’ve read the suspend to RAM page on the wiki and although its all greek to me I’m pretty sure I tried what it suggests correctly and it didn’t work. I do know my laptop gets hung up inside the BIOS (the screen won’t pop up and the capslock doesn’t register on and off) but I don’t know what BIOS is.

I’m running 11.4 64 bit with a “AMD Radeon HD 6630M (1GB VRAM) hybrid graphics with intel wireless display” (how its listed on the order form. I don’t know if that’s just the full description or a variation of the HD 6630M)

If anyone knows a solution or can point me in the right direction I’d be eternally grateful.

Hi WhatsWithGravity! Welcome to the Linux world…
I’m afraid, you’ll have to provide some more information.

1: Which Wiki page ? I have only found an outdated german page about suspend to RAM. :sarcastic:

2: What exactly does not work? Does your computer freeze completely if you enter the BIOS setup or where exactly does this happen? A freeze during BIOS setup is not a good sign.

To get an idea about what is failing, gave a look at the /var/log/pm-suspend.log file.

cat /var/log/pm-suspend.log

Post it here if you need help interpreting.

Even though it doesn’t wake, maybe its not suspending properly. You can use s2ram with various options to see if any cause proper suspend. (To get available options, type ‘s2ram -h’).

You need to be root first

su -

then one of these (get the other options with -h switch)

s2ram -f
s2ram -f --vbe_save

Does it resume from any of these (or other options) ok?

Hi WhatsWithGravity! Welcome to the Linux world…
I’m afraid, you’ll have to provide some more information.

1: Which Wiki page ? I have only found an outdated german page about suspend to RAM. :sarcastic:

2: What exactly does not work? Does your computer freeze completely if you enter the BIOS setup or where exactly does this happen? A freeze during BIOS setup is not a good sign.

Thanks good to be here!
Here’s the site: SDB:Suspend to RAM - openSUSE. As for BIOS I really don’t know whats going on I just read on there that if when you try to wake from sleep the screen doesn’t come back on you should try pressing capslock to see if the LED light responds and it doesn’t.

and Deano, here’s the output of that file. I do need help interpreting haha. :shame:

Initial commandline parameters: 
Tue Apr 26 01:02:31 CDT 2011: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
hibernate initiated: Tue Apr 26 01:02:31 CDT 2011

Linux linux-d17b.site 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_Y0T2P021T-part6 resume=/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_Y0T2P021T-part5 splash=silent quiet vga=0x317 nomodeset'
Module                  Size  Used by
ip6t_LOG                9192  5 
xt_tcpudp               3812  2 
xt_pkttype              1288  3 
ipt_LOG                 8721  5 
xt_limit                2591  10 
rfcomm                 75967  6 
sco                    19079  2 
af_packet              23463  0 
bnep                   17601  2 
l2cap                  71721  16 rfcomm,bnep
edd                     9664  0 
ip6t_REJECT             4709  3 
nf_conntrack_ipv6       9399  3 
nf_defrag_ipv6         11699  1 nf_conntrack_ipv6
ip6table_raw            1627  1 
xt_NOTRACK              1224  4 
ipt_REJECT              2640  3 
iptable_raw             1686  1 
iptable_filter          1946  1 
ip6table_mangle         2036  0 
nf_conntrack_netbios_ns     1822  0 
nf_conntrack_ipv4      10168  3 
nf_defrag_ipv4          1737  1 nf_conntrack_ipv4
ip_tables              22270  2 iptable_raw,iptable_filter
xt_conntrack            2880  6 
nf_conntrack           88175  5 nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_conntrack
ip6table_filter         1855  1 
ip6_tables             22656  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               28281  16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
cpufreq_conservative    11828  0 
cpufreq_userspace       3264  0 
cpufreq_powersave       1290  0 
snd_pcm_oss            53391  0 
snd_mixer_oss          20225  1 snd_pcm_oss
acpi_cpufreq            8367  1 
snd_seq                66675  0 
snd_seq_device          7770  1 snd_seq
mperf                   1555  1 acpi_cpufreq
fuse                   80436  5 
dm_mod                 86272  0 
snd_hda_codec_hdmi     28023  1 
arc4                    1601  2 
snd_hda_codec_realtek   353845  1 
ecb                     2463  2 
iwlagn                366953  0 
uvcvideo               70249  0 
videodev               81448  1 uvcvideo
r8169                  43775  0 
v4l1_compat            17505  2 uvcvideo,videodev
btusb                  17839  2 
iwlcore               173388  1 iwlagn
sr_mod                 16781  0 
v4l2_compat_ioctl32    10573  1 videodev
bluetooth             107148  9 rfcomm,sco,bnep,l2cap,btusb
cdrom                  43280  1 sr_mod
snd_hda_intel          28391  2 
snd_hda_codec         108050  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
sony_laptop            35729  0 
mac80211              300859  2 iwlagn,iwlcore
xhci_hcd              126525  0 
sg                     33426  0 
battery                12334  0 
snd_hwdep               7772  1 snd_hda_codec
snd_pcm               104468  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              26774  2 snd_seq,snd_pcm
snd                    84374  15 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               8782  1 snd
cfg80211              177329  3 iwlagn,iwlcore,mac80211
snd_page_alloc          9569  2 snd_hda_intel,snd_pcm
pcspkr                  2190  0 
shpchp                 31135  0 
rfkill                 21955  4 bluetooth,sony_laptop,cfg80211
pci_hotplug            32310  1 shpchp
iTCO_wdt               12266  0 
iTCO_vendor_support     3118  1 iTCO_wdt
i2c_i801               10920  0 
ac                      4151  0 
ext4                  397962  2 
jbd2                   91654  1 ext4
crc16                   1747  2 l2cap,ext4
i915                  460542  0 
drm_kms_helper         36694  1 i915
drm                   232019  2 i915,drm_kms_helper
i2c_algo_bit            6246  1 i915
video                  15929  1 i915
button                  6829  1 i915
fan                     3215  0 
processor              39669  1 acpi_cpufreq
thermal                14914  0 
thermal_sys            17462  4 video,fan,processor,thermal

             total       used       free     shared    buffers     cached
Mem:       8106476    1408144    6698332          0      41892     751652
-/+ buffers/cache:     614600    7491876
Swap:      2103292          0    2103292


/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:

/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate:
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...

/usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/05laptop-mode hibernate hibernate:

/usr/lib/pm-utils/sleep.d/05laptop-mode hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate:
Shutting down automount ..done

/usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:
INFO: checking for suspend-to-disk prerequisites...
  using userspace suspend method, temp. config file /var/lib/s2disk.conf
  setting resume device to /dev/sda5
  setting image size to 2143285248
  adding these parameters from /etc/suspend.conf:

/usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate:
ejecting PCMCIA cards...

/usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:

/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate:

/usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan hibernate hibernate:

/usr/lib/pm-utils/sleep.d/80acpi-fan hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios hibernate hibernate:

/usr/lib/pm-utils/sleep.d/80videobios hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95packagekit hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
Using last known working set of quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub hibernate hibernate:
INFO: running prepare-grub
  Skipping grub entry #1, because it has the noresume option
  running kernel is grub menu entry 0 (vmlinuz-2.6.37.1-1.2-desktop)
  preparing boot-loader: selecting entry 0, kernel /boot/2.6.37.1-1.2-desktop
  grub-once:   running '/usr/sbin/grubonce 0'
Using entry #0: Desktop -- openSUSE 11.4 - 2.6.37.1-1.2
    time needed for sync: 0.1 seconds, time needed for grub: 0.0 seconds.

/usr/lib/pm-utils/sleep.d/99Zgrub hibernate hibernate: success.
Running hook /etc/pm/sleep.d/99at hibernate hibernate:

/etc/pm/sleep.d/99at hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99info hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99info hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Tue Apr 26 01:02:32 CDT 2011: performing hibernate
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: '  --acpi_sleep 1'.

I tried the switches and they none have worked so far…

Thanks for the help guys its really appreciated. I was really looking forward to escaping windows and this has been bumming me out.

It looks like you’re trying to hibernate (suspending to disk rather than suspending to ram) from examining your log. Is that what you intended?

Edit: Made a mistake with the log output interpretation. Will await clarification from OP.

Ya I thought the output was odd but I promise I’m trying to put it to sleep not hibernate.
Was that the right log file?

I think installing uvesafb will help you out. I followed a set of instructions for Arch Linux on the Google Code Vaio F11 Nvidia page.

Ya I thought the output was odd but I promise I’m trying to put it to sleep not hibernate.
Was that the right log file?

Its the same log (at least for openSUSE11.3 and earlier), but with entries like this:

Initial commandline parameters: 
Wed Apr 27 23:46:58 NZST 2011: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend:suspend initiated: Wed Apr 27 23:46:58 NZST 2011
*
*
*
Wed Apr 27 23:46:59 NZST 2011: performing suspend
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.
switching from vt7 to vt1... succeeded
fbcon fb0 state 1
fbcon fb0 state 0
switching back to vt7... succeeded
Thu Apr 28 07:10:50 NZST 2011: Awake.
Thu Apr 28 07:10:50 NZST 2011: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend:disabled.
*
*
*
/usr/lib/pm-utils/sleep.d/00logging resume suspend:success.
Thu Apr 28 07:10:52 NZST 2011: Finished.

I ran that file 5 more times. It always comes out with hibernate. A lot of the files its checking say sleep in them tho and at the end it says s2ram… I’m so confused

  			I think installing uvesafb will help you out.

Whats uvesafb supposed to do?

Okay Linux just told me I needed to do some xorg updates and when I did I tried again and got this:

Initial commandline parameters: 
Wed Apr 27 20:16:58 CDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
suspend initiated: Wed Apr 27 20:16:58 CDT 2011

Linux linux-d17b.site 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_Y0T2P021T-part6 resume=/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_Y0T2P021T-part5 splash=silent quiet vga=0x317 nomodeset'
Module                  Size  Used by
ip6t_LOG                9192  5 
xt_tcpudp               3812  2 
xt_pkttype              1288  3 
ipt_LOG                 8721  5 
xt_limit                2591  10 
rfcomm                 75967  6 
sco                    19079  2 
bnep                   17601  2 
af_packet              23463  0 
l2cap                  71721  16 rfcomm,bnep
edd                     9664  0 
ip6t_REJECT             4709  3 
nf_conntrack_ipv6       9399  3 
nf_defrag_ipv6         11699  1 nf_conntrack_ipv6
ip6table_raw            1627  1 
xt_NOTRACK              1224  4 
ipt_REJECT              2640  3 
iptable_raw             1686  1 
iptable_filter          1946  1 
ip6table_mangle         2036  0 
nf_conntrack_netbios_ns     1822  0 
nf_conntrack_ipv4      10168  3 
nf_defrag_ipv4          1737  1 nf_conntrack_ipv4
ip_tables              22270  2 iptable_raw,iptable_filter
xt_conntrack            2880  6 
nf_conntrack           88175  5 nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_conntrack
ip6table_filter         1855  1 
ip6_tables             22656  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               28281  16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
snd_pcm_oss            53391  0 
cpufreq_conservative    11828  0 
cpufreq_userspace       3264  0 
snd_mixer_oss          20225  1 snd_pcm_oss
snd_seq                66675  0 
cpufreq_powersave       1290  0 
snd_seq_device          7770  1 snd_seq
acpi_cpufreq            8367  1 
mperf                   1555  1 acpi_cpufreq
fuse                   80436  5 
dm_mod                 86272  0 
snd_hda_codec_hdmi     28023  1 
arc4                    1601  2 
snd_hda_codec_realtek   353845  1 
ecb                     2463  2 
iwlagn                366953  0 
iwlcore               173388  1 iwlagn
mac80211              300859  2 iwlagn,iwlcore
snd_hda_intel          28391  2 
snd_hda_codec         108050  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               7772  1 snd_hda_codec
snd_pcm               104468  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
iTCO_wdt               12266  0 
cfg80211              177329  3 iwlagn,iwlcore,mac80211
snd_timer              26774  2 snd_seq,snd_pcm
r8169                  43775  0 
snd                    84374  15 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
xhci_hcd              126525  0 
shpchp                 31135  0 
btusb                  17839  2 
soundcore               8782  1 snd
iTCO_vendor_support     3118  1 iTCO_wdt
sony_laptop            35729  0 
sg                     33426  0 
sr_mod                 16781  0 
cdrom                  43280  1 sr_mod
uvcvideo               70249  0 
battery                12334  0 
videodev               81448  1 uvcvideo
v4l1_compat            17505  2 uvcvideo,videodev
v4l2_compat_ioctl32    10573  1 videodev
i2c_i801               10920  0 
pcspkr                  2190  0 
pci_hotplug            32310  1 shpchp
bluetooth             107148  9 rfcomm,sco,bnep,l2cap,btusb
snd_page_alloc          9569  2 snd_hda_intel,snd_pcm
rfkill                 21955  4 cfg80211,sony_laptop,bluetooth
ac                      4151  0 
ext4                  397962  2 
jbd2                   91654  1 ext4
crc16                   1747  2 l2cap,ext4
i915                  460542  0 
drm_kms_helper         36694  1 i915
drm                   232019  2 i915,drm_kms_helper
i2c_algo_bit            6246  1 i915
video                  15929  1 i915
button                  6829  1 i915
fan                     3215  0 
processor              39669  1 acpi_cpufreq
thermal                14914  0 
thermal_sys            17462  4 video,fan,processor,thermal

             total       used       free     shared    buffers     cached
Mem:       8106476    1370900    6735576          0      44020     677232
-/+ buffers/cache:     649648    7456828
Swap:      2103292          0    2103292


/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend:
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...

/usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/05laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/05laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs suspend suspend:
Shutting down automount ..done

/usr/lib/pm-utils/sleep.d/06autofs suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend:

/usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend:
ejecting PCMCIA cards...

/usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend:

/usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend:

/usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios suspend suspend:

/usr/lib/pm-utils/sleep.d/80videobios suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit suspend suspend:

/usr/lib/pm-utils/sleep.d/95packagekit suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Using last known working set of quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend:

/usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend: success.
Running hook /etc/pm/sleep.d/99at suspend suspend:

/etc/pm/sleep.d/99at suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99info suspend suspend:

/usr/lib/pm-utils/sleep.d/99info suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Wed Apr 27 20:17:00 CDT 2011: performing suspend
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: '  --acpi_sleep 1'.
switching from vt7 to vt1... succeeded
fbcon fb0 state 1
fbcon fb0 state 0
switching back to vt7... succeeded
Wed Apr 27 20:17:10 CDT 2011: Awake.
Wed Apr 27 20:17:10 CDT 2011: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99info resume suspend:

/usr/lib/pm-utils/sleep.d/99info resume suspend: success.
Running hook /etc/pm/sleep.d/99at resume suspend:

/etc/pm/sleep.d/99at resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub resume suspend:

/usr/lib/pm-utils/sleep.d/99Zgrub resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit resume suspend:
method return sender=:1.254 -> dest=:1.256 reply_serial=2

/usr/lib/pm-utils/sleep.d/95packagekit resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios resume suspend:

/usr/lib/pm-utils/sleep.d/80videobios resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend:

/usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
Having NetworkManager wake interfaces back up...method return sender=:1.1 -> dest=:1.257 reply_serial=2
Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend:

/usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia resume suspend:
inserting PCMCIA cards...

/usr/lib/pm-utils/sleep.d/45pcmcia resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend:

/usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs resume suspend:
Shutting down automount ..done
Starting automount ..done

/usr/lib/pm-utils/sleep.d/06autofs resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/05laptop-mode resume suspend:
Laptop mode 
enabled, not active

/usr/lib/pm-utils/sleep.d/05laptop-mode resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake resume suspend:

/usr/lib/pm-utils/sleep.d/02rtcwake resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Wed Apr 27 20:17:12 CDT 2011: Finished.

Edit: And caps lock now responds. I’m guessing its because of the update? Screen still blank though.

The suspend log looks better now. I note your hybrid graphics system is using the integrated graphics intel chipset. I’m not sure if this is a factor with suspend not working though. This is a power saving (lower performance) chipset, with the nvidia chipset being the more power hungry (but better graphics performance) chipset. That’s a whole new thread (dicussion) though, if you want to try switching. FWIW, here are some links about that:

Cannot access vga_switcheroo interface

Andreas Demmer » Review: Running Linux on the HP Envy 14

Anyway, your module list shows the intel (i915) driver in use:

drm_kms_helper 36694 1 i915
drm 232019 2 i915,drm_kms_helper
i2c_algo_bit 6246 1 i915
video 15929 1 i915

Now, back on topic. This might be an ACPI (power management) issue. Some hardware-specific workarounds exit. Hopefully, others can join this discussion with further advice. (I’ll keep researching in the meantime). Unfortunately, a lot comes down to the hardware concerned, and a bug report may need to be submitted.

Can you please supply exact model of your laptop? This may help others with advice.

Thats what I get for getting the newest one they have…

Its a Sony Vaio S series but its customized so I’ll just post the order form (minus software and obviously non-relevant components)

Product: US-VPCSB190X-LBOM
Component: Intel® Core™ i7-2620M processor
Component: 4GB (4GBx1) DDR3-SDRAM-1333
Component: AMD Radeon™ HD 6630M (1GB VRAM) hybrid graphics with Intel® Wireless Display technology
Component: 500GB Hard Drive (7200rpm)
Component: 13.3" VAIO Display with LED backlight (1366 x 768)

I also added a Crucial 4GB 204 - pin sodimm 512mx64 ddr3pc3 - 8500 CL7

Probably too much information but better safe than sorry right??

Thanks for the help!

Probably too much information but better safe than sorry right??

Exactly :slight_smile:

There are lots of threads concerning Sony Vaio laptops (different models) with suspend/resume problems. Not all workarounds will be applicable for your machine. In fact, there may not be a solution for your model yet.

What might be worth a shot, is examining threads like this Ubuntu thread, discussing possible workarounds for certain Vaio models. In particular, it is mentioned that unloading the ‘uvcvideo’ module helped some users. This can be done via a text file located in /etc/pm/config.d/ with a string

SUSPEND_MODULES="uvcvideo"

You can create the text file with root privileges (as its a system file) like this

kdesu kwrite /etc/pm/config.d/unload_modules

(You could use another name if you wanted). Now try suspending. Any difference?

Reference: Pm-utils

Anyway, it can take a fair bit of experimentation to find the offending modules and/or kernel ACPI issues causing problems with suspend, so take your time to search, read, and experiment. It’s not a trivial exercise to resolve.

If you can’t find a workaround, then I would suggest submitting a bug report:

openSUSE:Submitting bug reports - openSUSE

https://bugzilla.novell.com/index.cgi

Pm-utils Arch Wiki is a good source of info too.

This is mentioned (although it may not be the cause of your issue, but again worth investigating):

Blank screen when waking from suspend

Some laptops (e.g Dell Inspiron Mini 1018) will just show a black screen with no backlight after resuming from suspend. If this happens to you, try going to the bios of the laptop and disabling Intel Speedstep if it is present.

I don’t know why I didn’t think of this before but I tried booting without the nomodeset option and it works. Furthermore I started using nomodeset because of some strange window behavior which now seems to be gone even without the option. I haven’t downloaded any software since I started using that boot option so an automatic update must have fixed it.

I am curious though: I tried looking for the part you were referring to about my computer using Intel and couldn’t find it so if you don’t mind I need help interpreting again. It it still using Intel? (and is there a find command in Konsole?)

Initial commandline parameters: 
Thu Apr 28 12:40:05 CDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
suspend initiated: Thu Apr 28 12:40:05 CDT 2011

Linux linux-d17b.site 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_Y0T2P021T-part6 resume=/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_Y0T2P021T-part5 splash=silent quiet vga=0x317'
Module                  Size  Used by
autofs4                30087  1 
ip6t_LOG                9192  5 
xt_tcpudp               3812  2 
xt_pkttype              1288  3 
ipt_LOG                 8721  5 
xt_limit                2591  10 
rfcomm                 75967  6 
sco                    19079  2 
bnep                   17601  2 
l2cap                  71721  16 rfcomm,bnep
af_packet              23463  0 
edd                     9664  0 
ip6t_REJECT             4709  3 
nf_conntrack_ipv6       9399  3 
nf_defrag_ipv6         11699  1 nf_conntrack_ipv6
ip6table_raw            1627  1 
xt_NOTRACK              1224  4 
ipt_REJECT              2640  3 
iptable_raw             1686  1 
iptable_filter          1946  1 
ip6table_mangle         2036  0 
nf_conntrack_netbios_ns     1822  0 
nf_conntrack_ipv4      10168  3 
nf_defrag_ipv4          1737  1 nf_conntrack_ipv4
ip_tables              22270  2 iptable_raw,iptable_filter
xt_conntrack            2880  6 
nf_conntrack           88175  5 nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_conntrack
ip6table_filter         1855  1 
ip6_tables             22656  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               28281  16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
snd_pcm_oss            53391  0 
snd_mixer_oss          20225  1 snd_pcm_oss
snd_seq                66675  0 
cpufreq_conservative    11828  0 
snd_seq_device          7770  1 snd_seq
cpufreq_userspace       3264  0 
cpufreq_powersave       1290  0 
acpi_cpufreq            8367  1 
mperf                   1555  1 acpi_cpufreq
fuse                   80436  5 
dm_mod                 86272  0 
snd_hda_codec_hdmi     28023  1 
snd_hda_codec_realtek   353845  1 
arc4                    1601  2 
ecb                     2463  2 
iwlagn                366953  0 
iwlcore               173388  1 iwlagn
mac80211              300859  2 iwlagn,iwlcore
snd_hda_intel          28391  2 
snd_hda_codec         108050  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               7772  1 snd_hda_codec
uvcvideo               70249  0 
btusb                  17839  2 
snd_pcm               104468  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
sr_mod                 16781  0 
cdrom                  43280  1 sr_mod
videodev               81448  1 uvcvideo
v4l1_compat            17505  2 uvcvideo,videodev
cfg80211              177329  3 iwlagn,iwlcore,mac80211
bluetooth             107148  9 rfcomm,sco,bnep,l2cap,btusb
v4l2_compat_ioctl32    10573  1 videodev
r8169                  43775  0 
xhci_hcd              126525  0 
sg                     33426  0 
sony_laptop            35729  0 
shpchp                 31135  0 
pci_hotplug            32310  1 shpchp
rfkill                 21955  4 cfg80211,bluetooth,sony_laptop
ac                      4151  0 
iTCO_wdt               12266  0 
iTCO_vendor_support     3118  1 iTCO_wdt
i2c_i801               10920  0 
snd_timer              26774  2 snd_seq,snd_pcm
snd                    84374  15 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               8782  1 snd
battery                12334  0 
snd_page_alloc          9569  2 snd_hda_intel,snd_pcm
pcspkr                  2190  0 
ext4                  397962  2 
jbd2                   91654  1 ext4
crc16                   1747  2 l2cap,ext4
i915                  460542  3 
drm_kms_helper         36694  1 i915
drm                   232019  4 i915,drm_kms_helper
i2c_algo_bit            6246  1 i915
video                  15929  1 i915
button                  6829  1 i915
fan                     3215  0 
processor              39669  1 acpi_cpufreq
thermal                14914  0 
thermal_sys            17462  4 video,fan,processor,thermal

             total       used       free     shared    buffers     cached
Mem:       8106476    1028496    7077980          0      29628     450324
-/+ buffers/cache:     548544    7557932
Swap:      2103292          0    2103292


/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend:
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...

/usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/05laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/05laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs suspend suspend:
Shutting down automount ..done

/usr/lib/pm-utils/sleep.d/06autofs suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend:

/usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend:
ejecting PCMCIA cards...

/usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend:

/usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend:

/usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios suspend suspend:

/usr/lib/pm-utils/sleep.d/80videobios suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit suspend suspend:

/usr/lib/pm-utils/sleep.d/95packagekit suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend:

/usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend: success.
Running hook /etc/pm/sleep.d/99at suspend suspend:

/etc/pm/sleep.d/99at suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99info suspend suspend:

/usr/lib/pm-utils/sleep.d/99info suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Thu Apr 28 12:40:06 CDT 2011: performing suspend
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.
switching from vt7 to vt1... succeeded
fbcon fb0 state 1
fbcon fb0 state 0
switching back to vt7... succeeded
Thu Apr 28 12:40:20 CDT 2011: Awake.
Thu Apr 28 12:40:20 CDT 2011: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99info resume suspend:

/usr/lib/pm-utils/sleep.d/99info resume suspend: success.
Running hook /etc/pm/sleep.d/99at resume suspend:

/etc/pm/sleep.d/99at resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub resume suspend:

/usr/lib/pm-utils/sleep.d/99Zgrub resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit resume suspend:
method return sender=:1.59 -> dest=:1.58 reply_serial=2

/usr/lib/pm-utils/sleep.d/95packagekit resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios resume suspend:

/usr/lib/pm-utils/sleep.d/80videobios resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend:

/usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
Having NetworkManager wake interfaces back up...method return sender=:1.1 -> dest=:1.61 reply_serial=2
Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend:

/usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia resume suspend:
inserting PCMCIA cards...

/usr/lib/pm-utils/sleep.d/45pcmcia resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend:

/usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs resume suspend:
Shutting down automount ..done
Starting automount ..done

/usr/lib/pm-utils/sleep.d/06autofs resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/05laptop-mode resume suspend:
Laptop mode 
enabled, not active

/usr/lib/pm-utils/sleep.d/05laptop-mode resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake resume suspend:

/usr/lib/pm-utils/sleep.d/02rtcwake resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Thu Apr 28 12:40:22 CDT 2011: Finished.

I’m assuming my troubles are over but I’ll stay watchful.
Thank you so much everyone, and especially deano!

I am curious though: I tried looking for the part you were referring to about my computer using Intel and couldn’t find it so if you don’t mind I need help interpreting again. It it still using Intel? (and is there a find command in Konsole?)

If you look at your output above, the module list shows that the i915 module (intel driver) is in use. You can get this info from this command

/sbin/lspci -nnk

Look for the line concerning your graphics chipset.

Alternatively,

/usr/sbin/hwinfo --gfxcard

Using nomodeset should cause the KMS-enabled intel driver not to load, and the basic fbdev (framebuffer) driver to be used instead, so I’m not sure why the intel driver still loaded, but in any case it looks like you’ve isolated the resume issue to your graphics driver.

openSUSE 11.4 Release Notes

Initializing Graphics with KMS (Kernel Mode Setting)

With openSUSE 11.3 we switched to KMS (Kernel Mode Setting) for Intel, ATI and NVIDIA graphics, which now is our default. If you encounter problems with the KMS driver support (intel, radeon, nouveau), disable KMS by adding nomodeset to the kernel boot command line. To set this permanently, add it to the kernel command line in /boot/grub/menu.lst. This option makes sure the appropriate kernel module (intel, radeon, nouveau) is loaded with modeset=0 in initrd, i.e. KMS is disabled.

In the rare cases when loading the DRM module from initrd is a general problem and unrelated to KMS, it is even possible to disable loading of the DRM module in initrd completely. For this set the NO_KMS_IN_INITRD sysconfig variable to yes via YAST, which then recreates initrd afterwards. Reboot your machine.

On Intel without KMS the Xserver falls back to the fbdev driver (the intel driver only supports KMS); alternatively, there is the “intellegacy” driver (xorg-x11-driver-video-intel-legacy package) which still supports UMS (User Mode Setting). To use it, edit /etc/X11/xorg.conf.d/50-device.conf and change the driver entry to intellegacy.