Difference between revisions of "Template:RK3399 Linux PWMFan"
From FriendlyELEC WiKi
(updated by API) |
(updated by API) |
||
Line 1: | Line 1: | ||
===Fan speed setting=== | ===Fan speed setting=== | ||
− | The fan uses PWM to automatically adjust the speed. It determines the fan switch and the fan speed according to the current CPU temperature. If the current CPU temperature is not high, the fan will be turned off or rotated at a lower speed (reducing unnecessary environmental noise). ), if you want to change the speed regulation behavior of the fan, please modify the following file:<br /> | + | The fan uses PWM to automatically adjust the speed. It determines the fan switch and the fan speed according to the current CPU temperature. If the current CPU temperature is not high, the fan will be turned off or rotated at a lower speed (reducing unnecessary environmental noise). ), <br /> |
+ | If you want the fan to start working immediately, you can use the following command to get the CPU running at high load immediately. This is one way to test if the fan works:<br /> | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | cpuburn | ||
+ | </syntaxhighlight> | ||
+ | if you want to change the speed regulation behavior of the fan, please modify the following file:<br /> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
/usr/bin/start-rk3399-pwm-fan.sh | /usr/bin/start-rk3399-pwm-fan.sh |
Revision as of 01:55, 9 July 2019
Fan speed setting
The fan uses PWM to automatically adjust the speed. It determines the fan switch and the fan speed according to the current CPU temperature. If the current CPU temperature is not high, the fan will be turned off or rotated at a lower speed (reducing unnecessary environmental noise). ),
If you want the fan to start working immediately, you can use the following command to get the CPU running at high load immediately. This is one way to test if the fan works:
cpuburn
if you want to change the speed regulation behavior of the fan, please modify the following file:
/usr/bin/start-rk3399-pwm-fan.sh
Need to cancel the boot automatically start the fan (such as you need to connect the other PWM device), please enter the following command:
systemctl stop pwm-fan systemctl disable pwm-fan
Or delete the two files below:
/etc/systemd/system/pwm-fan.service /etc/systemd/system/multi-user.target.wants/pwm-fan.service