Hello
Sorry again to bother you with my question, but I am on the brink of doing a homer simpsons and påulling all my hair out.
my question is straight forward, how can Í set my fan to start when the temperature is above 40C and stop below 40C ?
first I tried to do some research myself, I tried the pine64 forum and found a post the linked the a "ATS - Active Thermal Service" program so i tried to install it:
Hardware:
Rock64pro
two HDD (where I can view their temp. in the gui)
Rock64pro PCI-e to sata card (https://www.pine64.org/?produc…al-sata-ii-interface-card)
Rock64pro fan (https://www.pine64.org/?produc…4-metal-desktopnas-casing)
(the fan is conneted to the "FAN" port in the Rock64pro, http://wiki.pine64.org/index.php/ROCKPro64_Main_Page port 4)
$ sudo luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.2-0.rockspec
Warning: variable CFLAGS was not passed in build_variables
gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o debug.o src/debug.c
gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o ats.o src/ats.c
gcc -shared -Wl,-soname,ats.so.0 -llua5.3 -o ats.so.0.9 debug.o ats.o
Install ATS Tool ..................: ats in /usr/local/sbin
Install ATS Config ................: ats.config in /etc
Install ATS Service File ..........: ats.service in systemd
Remove previous ATS Library .......: ats.so.* from /usr/local/lib/lua/5.3
Install new ATS Library ...........: ats.so.0.9 in /usr/local/lib/lua/5.3
Create soname symLink .............: ats.so in /usr/local/lib/lua/5.3
Failed to enable unit: File ats.service: No such file or directory
Makefile:103: recipe for target 'install' failed
make: *** [install] Error 1
Error: Build error: Failed installing.
Alles anzeigen
so that failed so I tried something else, someone else on the same pine64 forum said installing this was a possibility
https://github.com/ayufan-rock….132-1077-rockchip-ayufan
and then I tried to do this:
but I know nothing about writing my own code and I would like a more advance option instead of allways on or off.
So I read that I needed to find a sensor that could be in the config of the PWM file, so I tried to run the command:
but after typing YES to all the question then I got this answer:
Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
and I have updated lm-sensors by
So, I hope someone can help me before I go hairless have a nice day.
From
Chris