-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
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:
Metadata
Metadata
Assignees
Labels
No labels