Grarak / KernelAdiutor

An application which manages kernel parameters
GNU General Public License v3.0
600 stars 369 forks source link

support new msm limter #98

Open smoki3 opened 9 years ago

RenderBroken commented 9 years ago

I second this. I use this driver in all my kernels. This really is the only thing keeping me from using this amazing app all the time. I still have to use synapse to handle the per core features the msm_limiter brings.

RenderBroken commented 9 years ago

To further help bring this feature to this amazing app:

Enable/Disable /sys/kernel/msm_limiter/limiter_enabled

To control the MIN/MAX Freq Per Core: /sys/kernel/msm_limiter/resume_max_freq_0 /sys/kernel/msm_limiter/resume_max_freq_1 /sys/kernel/msm_limiter/resume_max_freq_2 /sys/kernel/msm_limiter/resume_max_freq_3

/sys/kernel/msm_limiter/suspend_min_freq_0 /sys/kernel/msm_limiter/suspend_min_freq_1 /sys/kernel/msm_limiter/suspend_min_freq_2 /sys/kernel/msm_limiter/suspend_min_freq_3

Screen off MAX Freq: /sys/kernel/msm_limiter/suspend_max_freq

Suspend MAX Freq Defer Time: /sys/kernel/msm_limiter/suspend_defer_time

Debugging: /sys/kernel/msm_limiter/debug_mask

Example setup: Enable/Disable echo 1 > /sys/kernel/msm_limiter/limiter_enabled

Set MAX Freq per core: echo 2457600 > /sys/kernel/msm_limiter/resume_max_freq_0 echo 2457600 > /sys/kernel/msm_limiter/resume_max_freq_1 echo 2457600 > /sys/kernel/msm_limiter/resume_max_freq_2 echo 2457600 > /sys/kernel/msm_limiter/resume_max_freq_3

Set MIN Freq per core: echo 268800 > /sys/kernel/msm_limiter/suspend_min_freq_0 echo 268800 > /sys/kernel/msm_limiter/suspend_min_freq_1 echo 268800 > /sys/kernel/msm_limiter/suspend_min_freq_2 echo 268800 > /sys/kernel/msm_limiter/suspend_min_freq_3

Set MAX Freq when screen is off: echo 1267200 > /sys/kernel/msm_limiter/suspend_max_freq

Set the amount of time before locking down the "suspend_max_freq" echo 10 > /sys/kernel/msm_limiter/suspend_defer_time

If you need more please let me know!

DespairFactor commented 9 years ago

I am eagerly awaiting this, I actually use init.d scripts for this stuff currently

jcruz commented 9 years ago

Subscribed

jesec commented 9 years ago

+1