How to apply thermal zones values - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122) +--- Thread: How to apply thermal zones values (/showthread.php?tid=16486) |
How to apply thermal zones values - jojuma - 04-13-2022 Lately I find my Mobian CE PP becoming pretty warm. Earlier, I had several Apps running at once and the phone didn't get hot at all. Now, I only got the terminal running and even if I turn off the screen, the phone starts getting hot... What's happening? I found this thread on that issue. I think there should be a dummy manual for each OS on how to apply save thermal values in order to protect screens. I'm sorry if there is one and I simply didn't find it. I tried to apply those values by following these steps: 1. Installing sysfsutils: sudo apt install sysfsutils 2. Checking status: systemctl status sysfsutils -> active 3. Checking if enabled at startup: systemctl is-enabled sysfsutils -> enabled 4. Setting values: Code: echo -e "w /sys/class/thermal/thermal_zone0/trip_point_0_temp - - - - 45000\nw /sys/class/thermal/thermal_zone0/trip_point_1_temp - - - - 65000\nw /sys/class/thermal/thermal_zone0/trip_point_2_temp - - - - 90000" | sudo tee /usr/lib/sysctl.d/throttling.conf throttling.conf is there with expected content: Code: w /sys/class/thermal/thermal_zone0/trip_point_0_temp - - - - 45000 But the settings do not get loaded. Code: grep . /sys/class/thermal/thermal_zone0/trip_point_*_temp So how do I get the lower values applied and loaded? Thank you very much! EDIT: If I change the values by hand like Code: echo 45000 > /sys/class/thermal/thermal_zone0/trip_point_0_temp Is that maybe the reason, the changes don't apply? How can I get around that? RE: How to apply thermal zones values - Fish - 04-13-2022 Try this (with perhaps less aggresive values): echo -e "class/thermal/thermal_zone0/trip_point_0_temp = 40000\nclass/thermal/thermal_zone0/trip_point_1_temp = 50000\nclass/thermal/thermal_zone0/trip_point_2_temp = 60000" | sudo tee /etc/sysfs.d/throttling.conf sudo systemctl restart sysfsutils check with: grep . /sys/class/thermal/thermal_zone0/trip_point_*_temp This does not work well with the PPP, because the trip point types are passive or critical (phone shuts down at that temp.). RE: How to apply thermal zones values - jojuma - 04-13-2022 I don't really get why, but it works! Thanks! I tried that already with "=" instead of "----". Maybe it was the file path? However, I'm glad I got that working now. RE: How to apply thermal zones values - Fish - 04-13-2022 (04-13-2022, 09:54 AM)jojuma Wrote: I don't really get why, but it works! Thanks! I'm glad it is working |