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


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

Regards
  Reply
#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.
  Reply
#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
  Reply
#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
  Reply
#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
  Reply
#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.
  Reply
#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?
  Reply
#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..
  Reply
#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.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Vulkan support with rockpro64 rahulsharma 2 137 08-21-2019, 10:34 PM
Last Post: rahulsharma
Photo RockPro64 Case 2x3.5" HDDs and 2x2.5 HDDs Luke 42 15,930 08-15-2019, 01:52 PM
Last Post: SBCraok
  rockPro64 vs Odroid-N2 kardanadm 3 404 08-15-2019, 05:33 AM
Last Post: kardanadm
  ROCKPRO64 with 10GbE NICs H.HSEL 13 2,176 08-14-2019, 01:37 PM
Last Post: igorp
  RockPro64 not coming online after reboot imapc99 5 154 08-04-2019, 01:34 AM
Last Post: imapc99
  Rockpro64 boot issues larsgn 11 695 08-01-2019, 12:12 PM
Last Post: imapc99
  the 24/48 rockpro64 cluster LMM 6 544 07-05-2019, 06:57 AM
Last Post: vincele
  Please help ROCKPro64 Review ameridroid 0 175 06-27-2019, 04:33 PM
Last Post: ameridroid
  No sound from rockpro64 audio jack. rahulsharma 1 256 06-24-2019, 05:09 AM
Last Post: rahulsharma
  RockPro64 boot problem MaxPesenti 2 208 06-21-2019, 01:17 AM
Last Post: MaxPesenti

Forum Jump:


Users browsing this thread: 1 Guest(s)