05-03-2021, 05:34 AM
(This post was last modified: 05-03-2021, 12:14 PM by dsimic.
Edit Reason: Word choice
)
(05-03-2021, 04:28 AM)marcih Wrote: I didn't explicitly look out for that, that's a good idea, will do. I did find that the temperature was often at the "passive" trip point when I randomly checked though. I know there are the "performance", "powersave", "ondemand" and "conservative" ACPI governors; does the A64 have its own similar ones, or use that same ones?
You can check the list of available thermal governors using the following command:
Code:
cat /sys/class/thermal/thermal_zone0/available_policies
Similarly, you can check which thermal governor is currently used with this command:
Code:
cat /sys/class/thermal/thermal_zone0/policy
Expectedly, the desired thermal governor can be configured using the following command, for example:
Code:
echo "step_wise" > /sys/class/thermal/thermal_zone0/policy # default
More information about the available thermal governors can be found on page 15 in this document. I haven't researched the available thermal governors (yet), so I cannot provide any suggestions about using any governors other than the default one. Some of the available thermal governors obviously cannot even be used.
(05-03-2021, 04:28 AM)marcih Wrote: If I understood the documentation correctly, sysctl is related to /proc/sys, not sysfs (/sys). I did try using "sysctl -a" to list all the available variables, but none of them were related to temperature or trip points. Oh and of course, sysctl and sysfsutils are two different things, although the folder names "/etc/sysfs.d" and "/etc/sysctl.d" are inconveniently similar.
You're totally right; I was wrong. Thank you for pointing it out!
The approach you described, using a tmpfiles.d configuration file, is the most appropriate way to apply the configuration on Arch Linux and Manjaro. Another approach could be to create a separate systemd service unit, but it would be less clean.