This shows you the differences between two versions of the page.
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:53] hyphop [Fan application] |
products:sbc:common:add-ons:cooling-fan [2023/03/21 02:36] nick |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | This document | + | This page mainly introduces |
===== Ubuntu ===== | ===== Ubuntu ===== | ||
- | ==== Fan application | + | ==== Fan Application |
+ | The following method is recommended if you are using desktop OS. Find '' | ||
- | {{ / | + | {{/ |
- | This method is recommended if you are using desktop OS. Find '' | + | |
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 | + | === Get CPU temperature === |
+ | |||
+ | ```shell | ||
+ | fan.sh | ||
``` | ``` | ||
- | | + | |
- | $ fan.sh temp | + | === Get the trigger temperature === |
+ | |||
+ | You can get the trigger temperature from the nodes below: | ||
+ | |||
+ | | ||
+ | * mid - / | ||
+ | * high - / | ||
+ | |||
+ | e.g. Get the low trigger | ||
+ | |||
+ | ```shell | ||
+ | cat /sys/class/fan/ | ||
``` | ``` | ||
+ | |||
+ | === Set the trigger temperature === | ||
+ | |||
+ | You can setup the trigger temperature from the nodes below: | ||
+ | |||
+ | * low - / | ||
+ | * mid - / | ||
+ | * high - / | ||
+ | |||
+ | e.g. Set the low trigger temperature to '' | ||
+ | |||
+ | ```shell | ||
+ | echo 40 | sudo tee / | ||
+ | ``` | ||
+ | |||
+ | <WRAP tip > | ||
+ | The trigger temperature only effect the fan works in auto mode. | ||
+ | </ | ||
+ | |||
+ | |||
===== Android ===== | ===== Android ===== | ||
+ | Just goto the system setting to control the FAN. | ||