Tutorial:How to Configure ATS Fan control
#2
(12-12-2018, 09:13 AM)tuxd3v Wrote: Hello all,
I told you that I would create a tutorial about ATS Configuration, and here it is( sorry for the late on this.. ).

Hello, please help me.
I use a RockPro64 4Gb.


Code:
root@rockpro64:~# uname -a Linux rockpro64 4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee #1 SMP Thu Aug 9 20:29:55 UTC 2018 aarch64 GNU/Linux

I installed by these instructions.
  1. apt-get install lua5.3 lua5.3-dev luarocks gcc make
  2. ln -s /usr/bin/lua5.3 /usr/bin/lua
  3. luarocks build https://raw.githubusercontent.com/tuxd3v...8.rockspec
Code:
root@rockpro64:~# ats -v ATS - .. Active Termal Service..    - .. Version: 0.1.7 root@rockpro64:~# service ats status ● ats.service - ATS - Active Thermal Service   Loaded: loaded (/lib/systemd/system/ats.service; enabled; vendor preset: enabled)   Active: active (running) since Thu 2018-12-13 11:24:01 UTC; 47s ago Main PID: 2417 (lua)    Tasks: 1 (limit: 4915)   CGroup: /system.slice/ats.service           └─2417 lua /usr/local/sbin/ats Dec 13 11:24:01 rockpro64 systemd[1]: Started ATS - Active Thermal Service.

The fan turns, even test ats -t works

Code:
root@rockpro64:~# ats -t Stopping for[ seconds ]............... 10 CPU Temperature[ max 70 °C ].......... 60 GPU Temperature[ max 70 °C ].......... 60 Fan PWM Duty Cycle value[ 0 - 255 ]... 190 -------------------- Running for[ seconds ]................ 6 CPU Temperature[ max 70 °C ].......... 38 GPU Temperature[ max 70 °C ].......... 38 Fan PWM Duty Cycle value[ 0 - 255 ]... 0 -------------------- Stopping for[ seconds ]............... 120 CPU Temperature[ max 70 °C ].......... 38 GPU Temperature[ max 70 °C ].......... 38 Fan PWM Duty Cycle value[ 0 - 255 ]... 0 -------------------- ^Clua: /usr/local/sbin/ats:407: interrupted! stack traceback:        [C]: in function 'sleep'        /usr/local/sbin/ats:407: in main chunk        [C]: in ?


But over 1) ATS, has a configuration file '/etc/ats.conf' I can not control the fan. I try to change the values, e.g. :
MAX_CONTINUOUS_THERMAL_TEMP, MIN_CONTINUOUS_THERMAL_TEMP no success. Or ALWAYS_ON does not work either.
Where is the mistake, what am I doing wrong?


Question 2: I have a NASCase, I want to have 2 fans: 1 for CPU, 2 for NASCase / HDD. Where and how can you connect and control this?


Messages In This Thread
RE: Tutorial:How to Configure ATS Fan control - by Neo2018 - 12-13-2018, 06:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  SkiffOS server with Docker ,NAS, Home assistant, Jellyfin, Snikket XMPP (tutorial) GreyLinux 12 27,255 04-04-2022, 05:26 AM
Last Post: GreyLinux
  SimpNas server with docker - home assistant, radicale , jellyfin & esphome (tutorial) GreyLinux 0 9,034 01-17-2021, 11:33 AM
Last Post: GreyLinux
  Serial Connection Tutorial: FTDI 232RL hmuller 0 8,313 10-23-2020, 11:56 AM
Last Post: hmuller
Wink Tutorial[ Seagate Disks ]: Optimize Life Span/Power Managment tuxd3v 14 43,035 06-19-2019, 04:40 AM
Last Post: Neo2018
Thumbs Up Tutorial[ Seagate Disks ]: Install Seagate OpenSeaChest Utilities tuxd3v 41 131,563 04-08-2019, 10:10 AM
Last Post: Neo2018
  Tutorial[ Multimedia ] : Play DVD movies tuxd3v 0 5,259 02-26-2019, 07:21 PM
Last Post: tuxd3v
  Tutorial[ OpenCL ]: OpenCL 1.2 FULL_PROFILE Working tuxd3v 0 5,983 11-06-2018, 01:03 PM
Last Post: tuxd3v

Forum Jump:


Users browsing this thread: 1 Guest(s)