Powerdevil: No Frequency scaling + no suspend (4.2 packages from current)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Powerdevil: No Frequency scaling + no suspend (4.2 packages from current)
I've switched to 4.2 and now we have Powerdevil and it's controls related to cpu frequency scaling and others. The problem is: My pc is listed as having no cpu frequency scaling capability but in fact I do! I can change the frequency using changing the scaling governor with a simple:
What powerdevil is checking to see if I have frequency scaling capability?
Apart from that I have suspend working currently with "s2ram -f" command.
Closing the lid and clicking "suspend" worked fine in KDE3 but now I just can't seem to get it work and I just don't know what else to check anymore.
Some things to check.
1. Are you a member of the 'power' group?
2. With suspend on my laptop, I am using pm-utils to handle the lid switch. Within KDE4, I have the suspend settings set to take no action, so that pm-utils is used instead. This allows suspend to work from within other window managers. I have found that suspend will not resume correctly with this setup unless I disable the lock screen on suspend option in KDE4.
I cannot help on the frequency scaling as my processor does not support this.
They might be different things but as far as I dealt with this, the only way to change the frequency is by checking the scaling governor. Any ideas?
Allend: No I was not part of it! gonna check if it works right now and I'll reply back!
EDIT: It worked! Suspending now works fine. My last problem is Cpu frequency scaling.
As far as I know, the governor scale the frequency after some algorithm. Your post noticed my that I have the same problem on my box... ;( What kernel are you using? I'm using a self-compiled git version, so my case may not be so general. If you are using the kernel shipped with slackware, we may find a bug here
I think I'm gonna test that then. I'm using 2.6.28.2 (self-compiled) here but I still have the old ones here. Keep you posted about any results
I have the same problem with self compiled kernel. It worked earlier, when I was Using KDE 3.5.x. The governors are compiled into the kernel, not as modules, maybe that's the problem, but why then "ondemand" governor works with Powertop? It's a Core Duo based system.
I'm not sure about *all* of this, as testing is still ongoing, but I think some of the governor settings might be related to hal's dbus config file settings. If you want to find out, put the contents below into /etc/dbus-1/system.d/hal.conf (back up the original first):
You might consider updating your dbus package to 1.2.12 -- that version logs any dbus errors to /var/log/messages, so it should help with troubleshooting (assuming the problem is dbus related). (url redacted) has a build script if you're interested.
EDIT: I removed the url, as it's no longer valid. If you need to build it on 12.2, use the build script from -current.
You might consider updating your dbus package to 1.2.12 -- that version logs any dbus errors to /var/log/messages, so it should help with troubleshooting (assuming the problem is dbus related). http://slackware.com/~rworkman/dbus/ has a build script if you're interested.
After upgrading dbus to 1.2.12, I got nearly 200 error messages in /var/log/messages:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.