The ‘Offset’ is the value between the given number and a external measured.
As you’re already using lm-sensors, and it shows 71, lets do the math: echo "75-71" |bc" … The offset should be something around 4.
But these are still internal calculated values!
In general sensors should give the fanspeed as well, if available → sensors | grep -i fan
If I’ve had my Slate AX with me, I’ve would check ls /sys/class/thermal/ for more information. There should be something with fan and/or pwm …
What is your understanding of ‘I want to deep dive’? Do you now the Linux filesystem? Or OpenWRT basics? In a nutshell, here we are not very far away from these two worlds.
As far as I can see, the settings are in cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_*_temp. The related description can be found in cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_*_type
We had a length discussion about this in the existing thread:
My personal recommendation is to run the fan at full speed. It is not loud, i can’t hear it much 2m away, but it will help the life of the router running cooler.
What is an optimal temperature for this router? I am having about 64 C° and it is still rising, however it is below the threshold. So is it ok for device to be so hot?
In the end this is up to you. Electronics want to sit as cool as possible. As in the other thread, there is an electrolytic capacitor on the board, those have actual liquid inside. Temperature is directly correlated to the lifetime of the capacitor. So if you can run the fan at max, i would do it (and do currently).
You can see a typical lifetime chart, it’s almost exponential so every degree counts:
I did find the answer myself, just read the entire topic above, provided by sincere @Johnex. So the answer is - optimal T for the motherboard used at this router is 0-65 С.
Fan wont launch until T become too hot - this is a bug at soft, fan should work. If you are familiar with Linux CLI, in order to launch a fan we need to:
1. ssh root@ip-address-of-a-router # use password from
2. /etc/init.d/gl_fan stop # that command will stop the daemon responsible for fan
3. echo 255 > /sys/class/thermal/cooling_device0/cur_state # that will set up the max speed of fan
I did the steps above and that worked perfectly fan is having its fun now!)
However I think it would be great to have schedule that will track the T and will adjust its speed automatically, wouldn’t it?
Lower down in the thread you can play around with the PID for the fan controller:
I didn’t really get it to work, for me the fan did not run at full speed even though it needed it to lower the temperature, but i just put the values @nopro404 suggested. Maybe you can give it a try and see if it works for you.
yeah, back in my youth, when not re-aligning the r/w head of 12" floppy disk with an oscilloscope.
the main issue was thermal creep.
if an integreated circuit was not soldered into to its dip package,
then the pins of the IC, would heat and cool over time.
that would cause the pins of the IC to expand and contract, thus causing the IC to creep up and out of the DIP package.
The error in the gl_fan output is basically the ‘deviation’ from where PID control loop target is – how far off from goal it is. It’s not an error per se.