Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wmlaptop #51

Open
norayr opened this issue Mar 27, 2023 · 0 comments
Open

wmlaptop #51

norayr opened this issue Mar 27, 2023 · 0 comments

Comments

@norayr
Copy link

norayr commented Mar 27, 2023

i thought it stopped working years after some changes in kernel, but apparently it still works.

just built it to test again:

 $ src/wmlaptop
Found 1 battery's entry
Enable autoShutdown at 1% battery state
Use a shutdown delay of 1 minutes
The real poweroff will run at 1% battery state + 1 minutes
It seems that you do not have 'cpufreq_userspace' module loaded in your kernel
I try to call "/sbin/modprobe cpufreq_userspace"
..good.
Unable to read or write </sys/devices/system/cpu/cpu0/cpufreq/scaling_governor>:
Permission denied
wmlaptop cannot help you in cpu scaling governor
Error writing the new freq (3795436) in the file (/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed):
Permission denied

it runs with sudo though, or if one would add set user id on execution to the wmlaptop binary.

it would be good if you add it and maybe update?

links:

sourceforge source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant