Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
products:sbc:common:add-ons:cooling-fan [2022/07/11 23:54]
hyphop [Fan application]
products:sbc:common:add-ons:cooling-fan [2023/03/21 02:36]
nick
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-This document mainly introduces Cooling Fan. The first half of the document describes how to control the Cooling Fan on Ubuntu, and the second half of the document describes how to control the Cooling Fan on Android.+This page mainly introduces [[https://www.khadas.com/product-page/3705-cooling-fan | 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 ===== ===== Ubuntu =====
  
-==== Fan application ====+==== 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.
  
 {{/products/sbc/common/accessories/gnome_application_fan.png|gnome_application_fan}} {{/products/sbc/common/accessories/gnome_application_fan.png|gnome_application_fan}}
-This method is recommended if you are using desktop OS. Find ''Fan Setting'' from the applications list. Open the app to modify the cooling fan status. 
  
  
Line 18: Line 18:
 You can also use command to control the FAN from terminal. You can also use command to control the FAN from terminal.
  
-  * Set the fan mode: \\ ```shell +=== Set the fan mode === 
-fan.sh off + 
-fan.sh on +```shell 
-fan.sh auto+fan.sh off 
 +fan.sh on 
 +fan.sh auto
 ``` ```
-  * Read the fan mode: \\ ```shell + 
-fan.sh mode+=== Get the fan mode === 
 + 
 +```shell 
 +fan.sh mode
 ``` ```
-  * Set the fan speed: \\ ```shell + 
-fan.sh high +=== Set the fan speed === 
-fan.sh mid + 
-fan.sh low+```shell 
 +fan.sh high 
 +fan.sh mid 
 +fan.sh low
 ``` ```
-  * Read the fan speed: \\ ```shell + 
-fan.sh level+=== Get CPU temperature === 
 + 
 +```shell 
 +fan.sh temp
 ``` ```
-  Read CPU temperature: \\ ```shell + 
-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: 
 + 
 +```shell 
 +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.
 +
 +```shell
 +echo 40 | sudo tee /sys/class/fan/trigger_temp_low 
 +```
 +
 +<WRAP tip >
 +The trigger temperature only effect the fan works in auto mode.
 +</WRAP>
 +
 +
 ===== Android ===== ===== Android =====
  
 +Just goto the system setting to control the FAN.
  
Last modified: 2023/11/15 01:20 by sravan