PINE64
Rockpro64 CPU fan - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: General Discussion on ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=99)
+--- Thread: Rockpro64 CPU fan (/showthread.php?tid=6276)

Pages: 1 2 3 4


RE: Rockpro64 CPU fan - Luke - 07-31-2018

(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



RE: Rockpro64 CPU fan - tuxd3v - 09-02-2018

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

Regards


RE: Rockpro64 CPU fan - hunderteins - 09-12-2018

(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.


RE: Rockpro64 CPU fan - denver2020 - 01-01-2019

[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


RE: Rockpro64 CPU fan - denver2020 - 01-02-2019

(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#issuecomment-450834122


RE: Rockpro64 CPU fan - gonde - 01-24-2019

(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-kernel/releases/tag/4.4.132-1077-rockchip-ayufan
and dont know how to install.

Cn anybody help me with this, I dont know hot make the fan to work


RE: Rockpro64 CPU fan - usauwf - 01-31-2019

(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-kernel/releases/tag/4.4.132-1077-rockchip-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.


RE: Rockpro64 CPU fan - Mentaluproar - 02-08-2019

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?


RE: Rockpro64 CPU fan - tuxd3v - 02-09-2019

(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-kernel/releases/tag/4.4.132-1077-rockchip-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..


RE: Rockpro64 CPU fan - onfire4g05 - 03-21-2019

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.