Posts Tagged ‘s2ram’

get second cpu core enabled after s2ram suspend

September 1st, 2009 Comments off

Time of holidays is out, time to get back to work. So I have started back work, but one thing made me curious – second core of my CPU was shown as off after resuming from suspend.

Checking CPU state through /sys/devices/system/cpu/cpu1/online shows 1 so the cpu is up, but it has no frequency – this is quite weird.
After some searching I have found that this is probably bug in kernel, another day I have found out that reloading module acpi_cpufreq should resolve this issue and it really did.

Knowing what is the reason I have started thinking how to make the process more automatic, so it is quite easy, just modify /usr/lib/pm-utils/defaults – in variable SUSPEND_MODULES add acpi_cpufreq like this:


Now after resume I can see back my cpu frequency, hope you can too.

By the way I see that /usr/lib/pm-utils/defaults is very important, I have to find a way to make editing it more convenient.

Categories: Linux Tags: , , , , ,

s2ram configuration with plasmoid battery monitor

March 23rd, 2009 Comments off

Some time ago I have writen a post about configuration of s2ram with kpowersave … now I faced the same problem with KDE4 plasmoid battery monitor, but with a bit different solution, in the file /usr/lib/pm-utils/defaults just update the line:


That should be enough to get You laptop/PC sleep without any plays with s2ram params.

s2ram configuration with kpowersave

January 2nd, 2009 Comments off

My computer starts rather fast, it’s fully functional in less then one minute, but i would get it up and running asap, so I’m using s2ram, unfortunately my motherboard is no in database, after few tries i have found my params:

s2ram -f -a 3

Problem is it was only working when run s root, my kpowersave had no option to set s2ram options, i did tried to find a solution for it, but yesturday I made progres, now my sleep button is working fine, no more root password required.

To get it working I have modified file /usr/lib/pm-utils/defaults as folows:

S2RAM_OPTS="-f -a 3"

Hope this will help to keep Your’s linux boxes working better.

Categories: Linux Tags: , , , , ,