FAN Interface
Interface Test Methods
-
Connection
Connect the fan to ROCK 3B as shown here
-
Rsetup select Thermal Governor mode
- Open a terminal, type rsetup, select Hardware.
- Enter to Thermal governor
- The default governor should be power_allocator.
-
power_allocator
The system defaults to fanless mode or DC fan mode. Ensure that the machine can still work stably without a cooling fan
-
user_space
-
Select user_space
-
Locate the fan device with the following command.
ls /sys/class/thermal/cooling_device*/type
cat /sys/class/thermal/cooling_device*/typeAs shown, pwm-fan corresponds to cooling_device2.
- Turn off the fan
radxa@rock-3b:~$ echo 0 | sudo tee /sys/class/thermal/cooling_device2/cur_state
- Set the fan to the highest setting.
radxa@rock-3b:~$ sudo cp /sys/class/thermal/cooling_device2/max_state /sys/class/thermal/cooling_device2/cur_state
-
-
step_wise
When the CPU temperature reaches 60 degrees Celsius the fan starts to rotate.
-
Shutdown and sleep states
The fan should remain stationary during shutdown and sleep.
-
Refer to
See more at rsetup thermal-governor section