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
  Installing Wifi drive for the RockPro64 John45595 0 645 02-10-2024, 11:32 PM
Last Post: John45595
Wink You don't sell case and fan for "ROCKPro64 4GB Single Board Computer"? Clea 1 1,229 09-17-2023, 12:00 AM
Last Post: tllim
  Want to check maximum toggle speed in Rockpro64 board. kundanjha 0 930 08-14-2023, 07:55 AM
Last Post: kundanjha
  Unable to boot Armbian on new RockPro64 mooseball 5 5,258 07-14-2023, 08:59 AM
Last Post: rockjonn
  Hardware fix for software sound problem on Rockpro64 Ricks Rockpro 0 1,171 04-06-2023, 03:59 PM
Last Post: Ricks Rockpro
  No sound on Rockpro64 with OpenWrt Patrice 1 1,757 04-06-2023, 02:46 PM
Last Post: Ricks Rockpro
  Cant get rockpro64 working brasilikum 3 2,488 03-19-2023, 06:22 AM
Last Post: runyor
  RockPro64 Stopped working WarpLover 5 3,588 02-06-2023, 10:10 AM
Last Post: diizzy
Lightbulb ROCKPro64 + SSD case model for 3D print Spater 0 1,285 01-27-2023, 07:43 PM
Last Post: Spater
  RockPro64 and Neon rapier1 2 2,337 10-21-2022, 07:44 AM
Last Post: rapier1

Forum Jump:


Users browsing this thread: 6 Guest(s)