Rockpro64 CPU fan
#11
(07-31-2018, 02:29 PM)DIDquest Wrote:
(07-30-2018, 03:46 PM)ayufan Wrote: Try `rock64_diagnostic.sh -m` to display current status of the system.

I will tune the fan controls later to give more fine control. It is all about the duty cycle and period of square wave. We might be looking at 50-200Hz instead of last released 1kHz, and previously 100kHz.

The command on its own when entered into terminal results in "command not found". It seems like a bash file, but when I searched for it: no results. If it is a bash file, where is it located so I can test it?

Code:
/usr/local/sbin
You can find me on IRC, Discord and Twitter


#12
Take a look at this thread:
https://forum.pine64.org/showthread.php?tid=6489

Regards
#13
(07-30-2018, 10:10 AM)Luke Wrote: As of today, if you want to try out the fan then you'll need to update the kernel:
Code:
https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.132-1077-rockchip-ayufan


Currently the fan works in an on/off mode (at least for me):
Code:
nano /sys/class/hwmon/hwmon0/pwm1


The range should be from 0 - 255, but for now ... for me ... 0, 1 and 2 are 'off' while 3 and up is 'on'.

I connected a standard 12 V computer case fan. Around 80 the fan starts spinning slowly. But it vibrates until I set the value around 240.
#14
Photo 
[quote pid='39480' dateline='1533066150']
[quote pid='39448' dateline='1532967013']
Currently the fan works in an on/off mode (at least for me):
Code:
nano /sys/class/hwmon/hwmon0/pwm1

[/quote]

[/quote]


First off a happy new year to all Smile

I have a new setup and am trying to enable the fan with above command and not sure how to proceed after i get this message (directory does not exist). I am quite a newbie to linux based commands and not sure if I am missing anything here. 

thanks alot
#15
(01-01-2019, 07:49 PM)denver2020 Wrote: [quote pid='39480' dateline='1533066150']
[quote pid='39448' dateline='1532967013']
Currently the fan works in an on/off mode (at least for me):
Code:
nano /sys/class/hwmon/hwmon0/pwm1

[/quote]


First off a happy new year to all Smile

I have a new setup and am trying to enable the fan with above command and not sure how to proceed after i get this message (directory does not exist). I am quite a newbie to linux based commands and not sure if I am missing anything here. 

thanks alot
[/quote]

thanks tuxd3v for your suggestion , the fan works based on your guidance ..

anyone with similar issue please look at this link
https://github.com/tuxd3v/ats/issues/6#i...-450834122
#16
(07-30-2018, 10:10 AM)Luke Wrote: As of today, if you want to try out the fan then you'll need to update the kernel:
Code:
https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.132-1077-rockchip-ayufan


Currently the fan works in an on/off mode (at least for me):
Code:
nano /sys/class/hwmon/hwmon0/pwm1


The range should be from 0 - 255, but for now ... for me ... 0, 1 and 2 are 'off' while 3 and up is 'on'.

Hi I'm new here, and new with the Linux, and I need help regarding the fan. I have rockpro64 but I dont know what to install from here https://github.com/ayufan-rock64/linux-k...hip-ayufan
and dont know how to install.

Cn anybody help me with this, I dont know hot make the fan to work
#17
(01-24-2019, 04:58 PM)gonde Wrote:
(07-30-2018, 10:10 AM)Luke Wrote: As of today, if you want to try out the fan then you'll need to update the kernel:
Code:
https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.132-1077-rockchip-ayufan


Currently the fan works in an on/off mode (at least for me):
Code:
nano /sys/class/hwmon/hwmon0/pwm1


The range should be from 0 - 255, but for now ... for me ... 0, 1 and 2 are 'off' while 3 and up is 'on'.

Hi I'm new here, and new with the Linux, and I need help regarding the fan. I have rockpro64 but I dont know what to install from here https://github.com/ayufan-rock64/linux-k...hip-ayufan
and dont know how to install.

Cn anybody help me with this, I dont know hot make the fan to work
Couple of things: I am still new to all of this too so I am with you! Have you successfully booted your machine and cannot get the fan to work or are you asking how to get everything set-up for the first time? If you need help getting it set-up the Noob page is where I started. 

If you just need help with the fan, then log into the terminal and type in the code that starts with "nano" in the reply above. It should pull up a screen with a zero in the top left and some commands at the bottom. Change that zero to a number between 0-255 then hit Ctrl+X and type Y or yes when it asks if you want to over write. That should turn your fan on. I am having an issue though with these settings not being enforced when I reboot. So I have to go back in to turn the fan back on.
#18
I connected a fan but I'm not sure it's getting enough power. It's a 120mm fan. Am I risking damage with this size fan?
#19
(01-24-2019, 04:58 PM)gonde Wrote: Hi I'm new here, and new with the Linux, and I need help regarding the fan. I have rockpro64 but I dont know what to install from here https://github.com/ayufan-rock64/linux-k...hip-ayufan
and dont know how to install.

Cn anybody help me with this, I dont know hot make the fan to work
Hello gonde,
There are different possibilities for that..
On kernel 4.4.138-1097-rockchip-ayufan-gb5128c0a1684( its what I have ), I use ats
But with newer kernels I don't know if it work ok( I haven tested yet )

Then you would  be able to control Fan, with that Tutorial..
#20
Anyone been able to get the fan to stay on with the mainline kernels? I haven't been able to get the 4.x ayufan kernels to support the PCIe card, so had to use the mainline kernel.

echo 255 > /sys/class/hwmon/hwmon0/pwm1

This turns the fan on, but it'll eventually go to 102, then turn itself to zero.

Also, I tried ats, but it's not for me (sorry). 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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  ROCKPro64 sometimes doesn't Power On Pete Tandy 2 386 08-24-2021, 05:50 AM
Last Post: Pete Tandy
  Tutorial request: overclocking a rockpro64 Mentaluproar 1 371 08-15-2021, 01:35 PM
Last Post: dukla2000
  Did I brick my RockPro64 somehow? snarfel 1 584 07-20-2021, 01:40 PM
Last Post: dukla2000
  RockPro64 - EN62368 m.ekstrom 0 479 06-02-2021, 04:55 AM
Last Post: m.ekstrom
  RPI4 Vs Rockpro64 Performance help? Mangled 0 600 05-25-2021, 03:38 PM
Last Post: Mangled
  Booting my RockPro64 from NVMe drive PsySc0rpi0n 3 1,196 05-02-2021, 01:56 AM
Last Post: LMM
  Unusable ROCKPRO64 drenedo 3 1,660 03-24-2021, 06:47 AM
Last Post: GuyNoIRQ
  ROCKPro64 (4 GB) "In stock (can be backordered)" TRS-80 3 1,018 03-19-2021, 04:53 PM
Last Post: TRS-80
  Troubleshooting ROCKPro64 alephnull 3 1,559 03-04-2021, 03:58 AM
Last Post: alephnull
  Petitboot on RockPro64? new_to_arm 0 655 03-03-2021, 05:00 PM
Last Post: new_to_arm

Forum Jump:


Users browsing this thread: 1 Guest(s)