07-03-2019, 09:43 AM
(07-01-2019, 08:28 AM)kromsam Wrote: Hi,
My issue seems to be quite similar to the last solved issue in the thread, but I didn't succeed to follow the steps.
I got my 80 mm fan in the RockPro64 with the NASCase. After I started the computer, the fan didn't spin (the case is getting really warm tho.). So I looked around and found this tool that may solve my issue.
I installed OMV on the Pro according to the steps on the wiki (on my SD card). Then I tried to install ATS according to the steps on the github (automatically). But the service wouldn't start.
Code:root@rockpro64:/# 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
Starting ATS Service..
● ats.service - ATS - Active Thermal Service
Loaded: loaded (/lib/systemd/system/ats.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2019-07-01 16
:25:03 CEST; 865ms ago
Process: 26146 ExecStart=/usr/local/sbin/ats (code=exited, status=1/FAILURE)
Main PID: 26146 (code=exited, status=1/FAILURE)
CPU: 14ms
Jul 01 16:25:03 rockpro64 systemd[1]: ats.service: Failed with result 'exit-code'.
Makefile:103: recipe for target 'install' failed
make: *** [install] Error 3
Error: Build error: Failed installing.
So my question is twofold. 1. How do I get my fan working? and if ATS is the solution for this: 2. How do I get ATS working?
All the best,
P.S If the fan doesn't work out of the box, how to get it working should really be mentioned in the wiki!
P.P.S OMV version 4.1.23-1 (Arrakis)
Kernel: Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
Did I offer enough info? I also brought this issue to Pine support, but they send me to the forum. I really hope someone can help me out.