Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:vim3:add-ons:cooling-fan

VIM3/3L Cooling Fan

Introduction

This page mainly introduces Cooling Fan. The first half describes how to control the Cooling Fan on Ubuntu, and the second half describes how to control the Cooling Fan on Android.

Ubuntu

Fan Application

The following method is recommended if you are using desktop OS. Find Fan Setting from the applications list. Open the app to control the cooling fan speed.

gnome_application_fan

Command Line

You can also use command to control the FAN from terminal.

Set the fan mode

fan.sh off
fan.sh on
fan.sh auto

Get the fan mode

fan.sh mode

Set the fan speed

fan.sh high
fan.sh mid
fan.sh low

Get CPU temperature

fan.sh temp

Get the trigger temperature

You can get the trigger temperature from the nodes below:

  • low - /sys/class/fan/trigger_temp_low
  • mid - /sys/class/fan/trigger_temp_mid
  • high - /sys/class/fan/trigger_temp_high

e.g. Get the low trigger temperature:

cat /sys/class/fan/trigger_temp_low 

Set the trigger temperature

You can setup the trigger temperature from the nodes below:

  • low - /sys/class/fan/trigger_temp_low
  • mid - /sys/class/fan/trigger_temp_mid
  • high - /sys/class/fan/trigger_temp_high

e.g. Set the low trigger temperature to 40 Celsius.

echo 40 | sudo tee /sys/class/fan/trigger_temp_low 

The trigger temperature only effect the fan works in auto mode.

Android

Just goto the system setting to control the FAN.

2022/07/05 23:06 · frank
Last modified: 2022/07/14 02:02 by nick