KernelAdiutor icon indicating copy to clipboard operation
KernelAdiutor copied to clipboard

simple thermals by sultaxda

Open tarunkapadia93 opened this issue 10 years ago • 1 comments

<QUOTE]>

This enables thermal monitoring capability in the kernel in the absence of a system wide thermal monitoring entity. Monitors VADC temperature and limits the max frequency of the cores. The code is simple, uses 3 throttling steps, and is completely configurable via sysfs.

All thermal zones must be configured before enabling thermal mitigation. Example for configuring one of the 3 thermal zones (high, mid, low): echo "1728000 52 48" > /sys/kernel/msm_thermal/low_thresh

Where 1728000 is the frequency to throttle to in KHz, 52 is the throttle temperature in degrees C, and 48 is the unthrottle temperature in degrees C. None of the temperatures set for a zone are allowed to overlap the the temperatures set for another zone. Once all zones all configured, do this to enable thermal mitigation: echo "1" > /sys/kernel/msm_thermal/enabled

here are all the sysfs supported by ther thermal solution

/sys/kernel/msm_thermal/low_thresh /sys/kernel/msm_thermal/mid_thresh /sys/kernel/msm_thermal/high_thresh /sys/kernel/msm_thermal/sampling_ms /sys/kernel/msm_thermal/enabled /sys/kernel/msm_thermal/user_maxfreq

if possible pls add to the app

tarunkapadia93 avatar Nov 05 '15 21:11 tarunkapadia93

Duplicate of one of mine https://github.com/Grarak/KernelAdiutor/issues/198

javelinanddart avatar Nov 09 '15 22:11 javelinanddart