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:
SUSPEND_MODULES=”acpi_cpufreq”
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.
Linux
cpu, opensuse, pm-utils, resume, s2ram, suspend
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:
S2RAM_QUIRKS_SOURCE=”hal”
That should be enough to get You laptop/PC sleep without any plays with s2ram params.
Linux
battery monitor, kde, kde4, Linux, opensuse, plasmoid, pm-utils, s2ram
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.
Linux
kde, kpowersave, Linux, opensuse, pm-utils, s2ram