Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
VT-SBC-3399 | User Manual 33
3.7
Fan Connector
The fan is turned on by default. Please use the following command to control the fan.
Turn off the fan:
# echo 0 > /sys/class/leds/fan_en/brightness
Turn on the fan:
# echo 255 > /sys/class/leds/fan_en/brightness
Enable PWM to control the fan:
# echo 0 > /sys/class/pwm/pwmchip1/export
# echo 10000 > /sys/class/pwm/pwmchip1/pwm0/period
# echo 5000 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
# echo 1 > /sys/class/pwm/pwmchip1/pwm0/enable