PINE64
80 mm fan not working - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: RockPro64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=102)
+--- Thread: 80 mm fan not working (/showthread.php?tid=7650)



80 mm fan not working - kromsam - 06-30-2019

L.S.,

I just got the NASCase running. I got the 80 mm fan with it, it is properly plugged in in the right place on the board, but for some reason it is not working. Is this a hardware or a software problem?

My NAS runs OMV.

I already tried to install ATS (https://github.com/tuxd3v/ats), but that didn't work out:

after I run

Code:
luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.2-0.rockspec



I get the following error in the terminal:


Code:
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 01:13:48 UTC; 923ms ago
  Process: 7288 ExecStart=/usr/local/sbin/ats (code=exited, status=1/FAILURE)
 Main PID: 7288 (code=exited, status=1/FAILURE)
      CPU: 14ms

Jul 01 01:13:48 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.

Any ideas on what could be happening?

So to be clear the main issue is that the fan isn't working. The secondary issue is that I can't install ATS.

Allt the best,


RE: 80 mm fan not working - Luke - 07-01-2019

Its likely ats service - you should take that up in the ats thread.

You can check if hw works: 
Code:
echo 250 > /sys/class/hwmon0/pwm1

change that 250 to a 0 to turn it off


RE: 80 mm fan not working - kromsam - 07-01-2019

(07-01-2019, 05:08 AM)Luke Wrote: Its likely ats service - you should take that up in the ats thread.

You can check if hw works: 
Code:
echo 250 > /sys/class/hwmon0/pwm1

change that 250 to a 0 to turn it off

I am not sure how to check that. But will bring it to the ATS thread, thanks for the tip.