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
  Rockpro64 RAM issues sausal 2 132 Yesterday, 02:08 PM
Last Post: tllim
  Rockpro64 boot issues larsgn 12 2,106 08-25-2020, 08:15 AM
Last Post: Lanza
  RockPro64 eMMC boot euu 4 782 08-24-2020, 11:07 PM
Last Post: t4_4t
  RockPro64 SSD Expansion Board/SATA Shield as0zial 4 322 08-24-2020, 02:22 AM
Last Post: mmatyas
  Anybody built a RockPro64 Cluster ? axelf 10 2,970 08-16-2020, 05:35 PM
Last Post: ichibon-brosan
  hardrock64/rockpro64 questions xmixahlx 0 228 07-26-2020, 09:51 AM
Last Post: xmixahlx
  Rockpro64 am I asking to much of a SBC? GreyLinux 3 475 07-21-2020, 01:58 PM
Last Post: diskers
  OpenWRT installation guide for RockPro64 Summer 1 457 07-16-2020, 01:50 AM
Last Post: mocara
  ROCKPro64 has Lithium Battery Port yes or no? anfast 3 551 06-25-2020, 02:09 PM
Last Post: anfast
Music Need Direction with my Rockpro64 RachelMusclegirl 4 670 06-11-2020, 12:12 PM
Last Post: Der Geist der Maschine

Forum Jump:


Users browsing this thread: 1 Guest(s)