[opensuse] Suspend to RAM and CPUs
![](https://seccdn.libravatar.org/avatar/776ae9647c4c4b35b3958d71e7072114.jpg?s=120&d=mm&r=g)
I finally got my S2RAM working on Vostro 1700 and 10.3. I only had to add S2RAM_OPTS="-f --acpi_sleep 1" to my /etc/pm/config.d dir. Unfortunately it seems that dbus dies on occasion and (maybe related) kpowersave shows only one CPU active (laptop is a Core2 Duo, I usually see 2 CPUs). Any ideas? Manne -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/7a966127049e95e1dd9804277735a0a4.jpg?s=120&d=mm&r=g)
Manne Merak <mannemerak@gmail.com> writes:
I finally got my S2RAM working on Vostro 1700 and 10.3. I only had to add S2RAM_OPTS="-f --acpi_sleep 1" to my /etc/pm/config.d dir.
Please see http://en.opensuse.org/S2ram and report this change so that it can be added to the list of tweak.
Unfortunately it seems that dbus dies on occasion and (maybe related) kpowersave shows only one CPU active (laptop is a Core2 Duo, I usually see 2 CPUs).
Any ideas?
Does /proc/cpuinfo show two cpus? Andreas -- Andreas Jaeger, Director Platform / openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
![](https://seccdn.libravatar.org/avatar/aea1d8248292e6482742234c5cb514de.jpg?s=120&d=mm&r=g)
Andreas Jaeger wrote:
Please see http://en.opensuse.org/S2ram and report this change so that it can be added to the list of tweak. Does /proc/cpuinfo show two cpus?
I tried a couple of things on my Dell: "--acpi_sleep 1 -f" (since my bios works and restores fine, I hoped this might work); goes to sleep ok, but reboots on coming out of sleep. tried (from above mentioned page) "-f -p -m" as suggested for Dell -- again, sleep, and slightly better -- came back up in some weird state; could remotely log in, but it kept kept 'freezing' for a few seconds at a time. But console never came back to life. Also could not 'suspend' by pressing external suspend button after that. I had to power-cycle/reboot to get the screen to come back to life (reboot alone might have worked, but I was at the front-panel and trying the button to suspend it -- nogo, so killed it). Note, also when came back to life, s2ram was still 'active' and using 100% of a CPU (1 of 4). I finally killed it with a SIGTERM. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/776ae9647c4c4b35b3958d71e7072114.jpg?s=120&d=mm&r=g)
Linda Walsh wrote:
Andreas Jaeger wrote:
Please see http://en.opensuse.org/S2ram and report this change so that it can be added to the list of tweak. Does /proc/cpuinfo show two cpus?
I tried a couple of things on my Dell:
"--acpi_sleep 1 -f" (since my bios works and restores fine, I hoped this might work); goes to sleep ok, but reboots on coming out of sleep.
tried (from above mentioned page) "-f -p -m" as suggested for Dell -- again, sleep, and slightly better -- came back up in some weird state; could remotely log in, but it kept kept 'freezing' for a few seconds at a time. But console never came back to life. Also could not 'suspend' by pressing external suspend button after that. I had to power-cycle/reboot to get the screen to come back to life (reboot alone might have worked, but I was at the front-panel and trying the button to suspend it -- nogo, so killed it).
Note, also when came back to life, s2ram was still 'active' and using 100% of a CPU (1 of 4). I finally killed it with a SIGTERM.
(sorry I missed the beginning of this thread, so forgive if Im repeating) For my Dell Vostro 1700 I had to add two files to /etc/pm/config.d: /etc/pm/config.d/nvidia DISPLAY_QUIRK_VBE_POST=false /etc/pm/config.d/s2ram S2RAM_OPTS="-f --acpi_sleep 1" The machine comes back most of the time, but does just reboot 1 in every 50 times or so. Check the /var/log/pm-suspend.log to get some clues on what is giving trouble. Manne -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andreas Jaeger
-
Linda Walsh
-
Manne Merak