Skip to main content

FAN Interface

Interface Test Methods

  • Connection

    Connect the fan to Radxa CM3I IO Board as shown here

    fan connection
  • Rsetup select Thermal Governor mode

    1. Open a terminal, type rsetup, select Hardware.
    rsetup hardware
    1. Enter to Thermal governor
    rsetup hardware
    1. The default governor should be power_allocator.
    rsetup hardware
  • 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

    1. Select user_space

    2. Locate the fan device with the following command.

    ls /sys/class/thermal/cooling_device*/type
    cat /sys/class/thermal/cooling_device*/type

    pwm fan result img

    As shown, pwm-fan corresponds to cooling_device2.

    1. Turn off the fan

    radxa@radxa-cm3i-io:~$ echo 0 | sudo tee /sys/class/thermal/cooling_device2/cur_state

    1. Set the fan to the highest setting.

    radxa@radxa-cm3i-io:~$ 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