Skip to content

wmlaptop #51

@norayr

Description

@norayr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions