Tool to Control Fan - fanctl
Thumbs Up 
Hello Luke,
I think I understood what you were talking about..  Wink

I reproduced that behaviour..
stopping ats,
then running ats in test mode..
Code:
root@rockpro64:~# ats -t
info:'SYSTEM' Table
info:    'BOARD' Table
info:        'NAME' = ROCKPRO64
info:        'CPU'  = RK3399
info:    'THERMAL0_CTL' = /sys/class/thermal/thermal_zone0/temp
info:    'THERMAL1_CTL' = /sys/class/thermal/thermal_zone1/temp
info:    'PWM_CTL'      = /sys/class/hwmon/hwmon0/pwm1
warn:    'MAX_CONTINUOUS_THERMAL_TEMP' outside range] -20, 70 [
        'MAX_CONTINUOUS_THERMAL_TEMP' = 60
info:    'MIN_CONTINUOUS_THERMAL_TEMP' = 60

ATS, has hard-limits for temps..
When you configure it to:
Code:
      -- Max Temperature Allowed for adjusting fan pwm( On this threshold, and above, fan is always on MaxValue )
      MAX_CONTINUOUS_THERMAL_TEMP     = 70,
      -- Min Temperature  threshold to activate/deactivate Fan
      MIN_CONTINUOUS_THERMAL_TEMP     = 60,

You are hitting the higher hard limit range: ] -20, 70 [
So Ats warns you,
And corrects 'MAX_CONTINUOUS_THERMAL_TEMP' to 60C

In this situation you end with higher and lower trigger points equal..
Without code changes, the Closest you can get in /etc/ats.conf would be:

Code:
      -- Max Temperature Allowed for adjusting fan pwm( On this threshold, and above, fan is always on MaxValue )
      MAX_CONTINUOUS_THERMAL_TEMP     = 69,
      -- Min Temperature  threshold to activate/deactivate Fan
      MIN_CONTINUOUS_THERMAL_TEMP     = 60,


An output in test mode:

Code:
root@rockpro64:~# ats -t
info:'SYSTEM' Table
info:    'BOARD' Table
info:        'NAME' = ROCKPRO64
info:        'CPU'  = RK3399
info:    'THERMAL0_CTL' = /sys/class/thermal/thermal_zone0/temp
info:    'THERMAL1_CTL' = /sys/class/thermal/thermal_zone1/temp
info:    'PWM_CTL'      = /sys/class/hwmon/hwmon0/pwm1
info:    'MAX_CONTINUOUS_THERMAL_TEMP' = 69
info:    'MIN_CONTINUOUS_THERMAL_TEMP' = 60
info:    'MAX_PWM' = 255
info:    'MIN_PWM' = 40
info:    'ALWAYS_ON' = false
info:    'PROFILE_NAME' = profile0
info:    'PROFILE'      = 0
info:'Pratio' timers
info:    'Pratio[ -20 - 60 [' = 0
info:    'Pratio[ 60 ]'       = 40
info:    'Pratio[ 61 ]'       = 63
info:    'Pratio[ 62 ]'       = 87
info:    'Pratio[ 63 ]'       = 111
info:    'Pratio[ 64 ]'       = 135
info:    'Pratio[ 65 ]'       = 159
info:    'Pratio[ 66 ]'       = 183
info:    'Pratio[ 67 ]'       = 207
info:    'Pratio[ 68 ]'       = 231
info:    'Pratio[ 69 ]'       = 255
info:    'Pratio[ 69 - 70 ['  = 255
Stop ATS Service first [ service ats stop ]..

No more warnings, and so no internal adjustments..

But even So, I could reproduce your report:

Code:
--------------------
Running for[ seconds ]................ 0
CPU Temperature[ max 70 °C ].......... 58
GPU Temperature[ max 70 °C ].......... 49
Fan PWM Duty Cycle value[ 0 - 255 ]... 0
--------------------
Stopping for[ seconds ]............... 120
CPU Temperature[ max 70 °C ].......... 58
GPU Temperature[ max 70 °C ].......... 49
Fan PWM Duty Cycle value[ 0 - 255 ]... 0
--------------------

I will look into the code, and check it..
The power is activated in 2 phases, probably the first one is running, on this conditions..

Thanks for reporting that![Image: thumbsup.png]
  Reply


Messages In This Thread
Tool to Control Fan - fanctl - by tuxd3v - 09-01-2018, 07:52 PM
RE: Tool to Control Fan - fanctl - by tllim - 09-02-2018, 11:56 PM
RE: Tool to Control Fan - fanctl - by whitehat - 09-03-2018, 12:34 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-04-2018, 08:15 AM
RE: Tool to Control Fan - fanctl - by whitehat - 09-04-2018, 06:14 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-04-2018, 07:28 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-04-2018, 06:29 AM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-07-2018, 03:45 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-08-2018, 09:10 AM
RE: Tool to Control Fan - fanctl - by rookieone - 09-07-2018, 10:53 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-08-2018, 04:36 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-08-2018, 10:45 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-13-2018, 02:45 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-13-2018, 06:57 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-14-2018, 05:26 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-15-2018, 04:03 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-15-2018, 02:13 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-15-2018, 04:05 PM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-21-2018, 01:54 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-21-2018, 09:26 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-20-2018, 11:26 AM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-19-2018, 10:42 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-19-2018, 04:44 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-19-2018, 09:27 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-21-2018, 09:43 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-21-2018, 01:54 PM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-22-2018, 03:27 AM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-22-2018, 03:44 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-22-2018, 05:02 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-22-2018, 10:56 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-03-2018, 06:23 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-09-2018, 11:45 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 10-10-2018, 03:13 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-11-2018, 06:34 PM
RE: Tool to Control Fan - fanctl - by dkebler - 10-14-2018, 11:36 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-15-2018, 05:38 AM
RE: Tool to Control Fan - fanctl - by dkebler - 10-15-2018, 03:37 PM
RE: Tool to Control Fan - fanctl - by y0sh - 10-18-2018, 01:27 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-18-2018, 03:43 PM
RE: Tool to Control Fan - fanctl - by y0sh - 10-19-2018, 04:34 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-21-2018, 02:06 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-21-2018, 07:39 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 12:53 AM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 01:18 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 06:08 AM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 08:32 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 10:23 AM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 03:29 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 04:07 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 09:10 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 11:12 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-23-2018, 12:38 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-23-2018, 12:26 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-10-2018, 02:46 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-10-2018, 08:44 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-10-2018, 11:39 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-11-2018, 10:26 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-10-2018, 03:32 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-10-2018, 09:37 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-11-2018, 02:02 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-11-2018, 02:10 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-11-2018, 11:28 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-12-2018, 01:57 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-12-2018, 07:33 PM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-13-2018, 09:47 AM
RE: Tool to Control Fan - fanctl - by Girbur - 11-13-2018, 11:30 AM
RE: Tool to Control Fan - fanctl - by stFfn - 11-13-2018, 03:26 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-13-2018, 10:39 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-14-2018, 05:46 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-14-2018, 10:41 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 11-13-2018, 05:42 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-14-2018, 11:20 AM
RE: Tool to Control Fan - fanctl - by stFfn - 11-14-2018, 12:50 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-14-2018, 06:24 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 04:41 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-15-2018, 08:42 AM
RE: Tool to Control Fan - fanctl - by Girbur - 11-17-2018, 11:52 PM
RE: Tool to Control Fan - fanctl - by Raikiri1316 - 11-14-2018, 09:51 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 10:19 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-15-2018, 11:39 AM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 01:39 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-15-2018, 03:38 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 05:02 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-18-2018, 10:36 AM
RE: Tool to Control Fan - fanctl - by Girbur - 11-18-2018, 01:14 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-18-2018, 01:57 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-18-2018, 01:59 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-19-2018, 03:28 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-21-2018, 01:32 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-21-2018, 05:18 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-21-2018, 05:28 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-21-2018, 07:03 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-17-2018, 07:44 AM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 11:17 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-20-2018, 03:26 PM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 03:31 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-20-2018, 06:42 PM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 08:00 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-20-2018, 09:10 PM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 09:19 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-21-2018, 10:39 AM
RE: Tool to Control Fan - fanctl - by Drago - 11-21-2018, 10:43 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-22-2018, 08:20 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-06-2018, 08:16 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-12-2018, 09:27 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-21-2018, 06:16 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-22-2018, 06:36 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-22-2018, 01:58 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-22-2018, 03:52 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-23-2018, 08:37 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 07:45 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 11:10 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 01:00 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 01:52 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 02:09 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 02:26 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 05:38 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 05:59 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 09:29 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-26-2018, 03:33 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-26-2018, 05:46 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-26-2018, 05:56 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 01-03-2019, 06:26 AM
RE: Tool to Control Fan - fanctl - by stFfn - 01-03-2019, 11:50 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-28-2018, 03:09 PM
RE: Tool to Control Fan - fanctl - by stFfn - 01-05-2019, 01:05 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 01-05-2019, 07:50 PM
RE: Tool to Control Fan - fanctl - by Luke - 04-05-2019, 09:24 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-05-2019, 11:35 AM
RE: Tool to Control Fan - fanctl - by Luke - 04-05-2019, 01:05 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-05-2019, 04:29 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-06-2019, 08:42 AM
RE: Tool to Control Fan - fanctl - by Luke - 04-07-2019, 03:03 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-22-2019, 12:16 PM
RE: Tool to Control Fan - fanctl - by Farley56 - 04-30-2019, 10:33 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-30-2019, 11:38 AM
RE: Tool to Control Fan - fanctl - by Farley56 - 04-30-2019, 08:42 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-01-2019, 12:48 AM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-01-2019, 01:17 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-01-2019, 01:50 PM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-01-2019, 07:18 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-01-2019, 08:54 PM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-02-2019, 07:44 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-03-2019, 10:26 AM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-06-2019, 02:18 PM
RE: Tool to Control Fan - fanctl - by Luke - 05-08-2019, 02:56 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-17-2019, 05:34 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-18-2019, 03:57 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-18-2019, 09:26 PM
RE: Tool to Control Fan - fanctl - by tikonen - 05-20-2019, 05:07 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-20-2019, 09:11 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-20-2019, 03:47 PM
RE: Tool to Control Fan - fanctl - by tikonen - 05-22-2019, 12:44 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-23-2019, 02:00 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-24-2019, 09:17 AM
RE: Tool to Control Fan - fanctl - by tikonen - 05-27-2019, 05:24 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-30-2019, 02:22 PM
RE: Tool to Control Fan - fanctl - by tikonen - 06-03-2019, 04:12 AM
RE: Tool to Control Fan - fanctl - by tikonen - 06-06-2019, 01:10 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 06-30-2019, 11:07 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 06-30-2019, 05:27 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-01-2019, 08:47 AM
RE: Tool to Control Fan - fanctl - by kromsam - 07-01-2019, 08:28 AM
RE: Tool to Control Fan - fanctl - by kromsam - 07-03-2019, 09:43 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-02-2019, 06:24 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-02-2019, 06:14 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-08-2019, 08:21 PM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-01-2019, 08:13 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-01-2019, 09:02 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-01-2019, 04:09 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-01-2019, 05:57 PM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-01-2019, 06:37 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 03:44 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-02-2019, 06:49 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 08:52 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-02-2019, 09:16 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 09:51 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-02-2019, 02:09 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 04:34 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-05-2019, 08:04 AM
RE: Tool to Control Fan - fanctl - by Neo2018 - 02-24-2021, 01:42 PM
RE: Tool to Control Fan - fanctl - by Neo2018 - 04-05-2021, 02:02 AM
RE: Tool to Control Fan - fanctl - by kuleszdl - 03-07-2021, 07:19 AM
RE: Tool to Control Fan - fanctl - by Neo2018 - 03-14-2021, 01:56 AM
RE: Tool to Control Fan - fanctl - by kuleszdl - 03-14-2021, 05:38 PM
RE: Tool to Control Fan - fanctl - by Neo2018 - 03-15-2021, 03:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PWM Fan Control Python Script superbox 0 1,659 02-04-2022, 10:02 PM
Last Post: superbox

Forum Jump:


Users browsing this thread: 5 Guest(s)