Rockpro64 CPU fan
#21
(03-21-2019, 09:24 PM)onfire4g05 Wrote:  I just want to keep the fan full blast. It's in a closet so it doesn't matter. Also, ats auto shuts your system down when it gets too hot and there's no way to turn that off (the governor should throttle if it gets too hot, I hope?). Oh, and ats doesn't solve the issue anyway, since it does the same thing.

Hello onfire4g05,
If your system gets to hot, should be because it has poor ventilation..
I hadn't figured out your config..if you have a Heatsink on CPU/Fan, or only heatsink..

The idea I got, is that you have a heat-sink only and a Nas case fan..
If you want it always hot, and no matter what, to continues Up and Running, you can use the romtomwator Solution..

Check this thread, more precisely point 2)
In this way, system will not shutdown, but you bear the possible consequences of it( The disks don't like higher temps, the plates are magnetic.. )
Neo2018 shared its tests with us..

KSD9700 / 250V 5A
Turns ON   - 40°C
Turns OFF -  29°C
 
Hope it helps Shy
Regards
  Reply
#22
If you want the fan to be full on, don’t bother connecting it to the board. Wire it to the power source
  Reply
#23
(03-22-2019, 02:54 AM)Mentaluproar Wrote: If you want the fan to be full on, don’t bother connecting it to the board. Wire it to the power source

That its the easiest Solution,  Smile
It will be ON always..
  Reply
#24
(03-22-2019, 04:28 AM)tuxd3v Wrote:
(03-22-2019, 02:54 AM)Mentaluproar Wrote: If you want the fan to be full on, don’t bother connecting it to the board. Wire it to the power source

That its the easiest Solution,  Smile
It will be ON always..

Hi. I connected my heat sink fan to the 4-way connector behind the power supply. Its 12 volts and the fan is on full blast. Not speed control but I am happy Shy
  Reply
#25
This is not ideal, but I just disabled the first thermal zone and then I set my fan to max (255). It'd be nice to just have the zones split between the fan and the other cooling devices (CPU frequency and the fan). For anyone who wants to try it and keep their fans running 100% all the time, good for the NAS box...

echo disabled > /sys/devices/virtual/thermal/thermal_zone0/mode
echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1

I'll do some testing later and see how the temps hold doing some Plex transcoding or something.

Finally, for anyone that wants to read on how the thermal zones work, here's some docs on it: https://www.kernel.org/doc/Documentation...fs-api.txt
  Reply
#26
The CPU thermal zones should only start throttling down,
When the active devices for cooling are not enough..

But your problem is different
You just put it in the closet, were it cannot get some "fresh air"  Smile

Any CPU without the capability to cool down, will go till emergency shutdown, in this case will happen around 85C.

I have a alwinner A20 board, with cpus at 1GHz, if I push it up, they start heating,
And each time even more, until a crash, or a fire, or anything else happen..
And I am talking about a CPU that uses very low power..


But I replied because of another thing..
The zone that reach higher temps are the Zone0( CPU )
Zone1( GPU ) is usually with less temperature( this obviously, if you are not using the Graphics for GPUComputing, etc.. ).
  Reply
#27
(03-25-2019, 07:54 PM)tuxd3v Wrote: The CPU thermal zones should only start throttling down,
When the active devices for cooling are not enough..

But your problem is different
You just put it in the closet, were it cannot get some "fresh air"  Smile

Any CPU without the capability to cool down, will go till emergency shutdown, in this case will happen around 85C.

I have a alwinner A20 board, with cpus at 1GHz, if I push it up, they start heating,
And each time even more, until a crash, or a fire, or anything else happen..
And I am talking about a CPU that uses very low power..


But I replied because of another thing..
The zone that reach higher temps are the Zone0( CPU )
Zone1( GPU ) is usually with less temperature( this obviously, if you are not using the Graphics for GPUComputing, etc.. ).

Yeah, you're correct. I just wish I could remove the fan from the cooling so it just throttles/reduces the CPU freq when necessary.
  Reply
#28
I have speed control adding to crontab:

* * * * * fancontrol.py

Code:
#!/usr/bin/python

import os

def write_fan(pwm):
   try:
       f = open('/sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1', 'w')
       f.write("%d" % pwm)
   except:
       print 'failed to write fan'

def read_temp():
   try:
       f = open('/sys/devices/virtual/thermal/thermal_zone0/temp')
       return float(f.readline())/1000.0
   except:
       print 'failed to read temperature'
       return 80


t = read_temp()

# cut on at 58C
speed = min(int(10*(t - 58) + 120), 255)
if speed < 120:
   speed = 0

write_fan(speed)


It only cuts on if I am compiling something or using a lot of cpu.  Normally using conservative governor with 408mhz.   I have the large heatsink (designed for not fan) but I have a fan anyway.

The fan does not run very fast even at full speed.   It is a 12v fan.  I didn't measure the voltage powering it, I suspect it only gets 5 volts even at max speed.
  Reply
#29
(03-26-2019, 09:57 AM)seandepagnier Wrote: The fan does not run very fast even at full speed.   It is a 12v fan.  I didn't measure the voltage powering it, I suspect it only gets 5 volts even at max speed.

I have a similar setup with a 12v case fan. But I can not confirm, that it perform always so poor. Basically there are three states at "full speed (echo 255)"

(1) I need to give that thing a manual kick start and than it spins slowly, cpu temperature is not affected
(2) it starts and runs slowly, the cpu temperature sinks about 5 °C
(3) it starts and runs really at full speed, so that I need to reduce it to echo 160, even than, the cpu temperature is seldom over 40 °C

I can't predict how this PWM-fan will behave.
  Reply
#30
(03-28-2019, 04:18 AM)hunderteins Wrote: I can't predict how this PWM-fan will behave.

https://github.com/ayufan-rock64/linux-k...303087e34f fixes this behavior. Haven't seen a slow fan in 3 days. Thank you for that patch.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Question How to automatically reboot rockpro64 in case it shutdown abruptly ? seaurchin 2 62 11-25-2019, 08:46 AM
Last Post: tophneal
  RockPro64 Fan Pins TheUnknownMuncher 7 450 11-14-2019, 04:06 AM
Last Post: vecnar
  rockpro64 turn on with pine 64 remote vecnar 0 68 10-31-2019, 11:53 PM
Last Post: vecnar
Photo RockPro64 Case 2x3.5" HDDs and 2x2.5 HDDs Luke 48 19,050 10-17-2019, 11:58 AM
Last Post: Tim Jones
  rockPro64 vs Odroid-N2 kardanadm 4 1,079 10-16-2019, 10:29 AM
Last Post: buzzmarshall
  RockPro64 & Roshambo Case Gouki 0 124 10-13-2019, 01:16 PM
Last Post: Gouki
  The leds and fan of RockPro64 xlx 0 113 10-10-2019, 12:19 PM
Last Post: xlx
  Number of Rockpro64 boards sold/made fentavius 1 317 09-16-2019, 10:53 AM
Last Post: tllim
  Vulkan support with rockpro64 rahulsharma 2 326 08-21-2019, 10:34 PM
Last Post: rahulsharma
  ROCKPRO64 with 10GbE NICs H.HSEL 13 2,785 08-14-2019, 01:37 PM
Last Post: igorp

Forum Jump:


Users browsing this thread: 1 Guest(s)