This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:add-ons:cooling-fan [2022/11/16 20:45] nick |
products:sbc:common:add-ons:cooling-fan [2026/02/02 01:44] (current) gray update by using AI |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This page mainly | + | This page introduces |
| ===== Ubuntu ===== | ===== Ubuntu ===== | ||
| + | |||
| + | <WRAP important> | ||
| + | This setting is only applicable to 4.9, 5.15, 5.4, and 6.1 linux kernel | ||
| + | </ | ||
| ==== Fan Application ==== | ==== Fan Application ==== | ||
| - | The following | + | This method is recommended if you are using a desktop OS. Find '' |
| {{/ | {{/ | ||
| Line 16: | Line 20: | ||
| ==== Command Line ==== | ==== Command Line ==== | ||
| - | You can also use command | + | You can also use commands |
| === Set the fan mode === | === Set the fan mode === | ||
| - | ```shell | + | ^ fan mode ^ command ^ |
| - | fan.sh off | + | | off | '' |
| - | fan.sh on | + | | on | '' |
| - | fan.sh auto | + | | auto | '' |
| - | ``` | + | |
| - | === Read the fan mode === | + | === Get the fan mode === |
| ```shell | ```shell | ||
| Line 34: | Line 37: | ||
| === Set the fan speed === | === Set the fan speed === | ||
| - | ```shell | + | ^ fan speed ^ command ^ |
| - | fan.sh high | + | | high | '' |
| - | fan.sh mid | + | | mid | '' |
| - | fan.sh low | + | | low | '' |
| - | ``` | + | |
| - | === Read CPU temperature === | + | === Get CPU temperature === |
| ```shell | ```shell | ||
| Line 46: | Line 48: | ||
| ``` | ``` | ||
| - | === Get the trigger temperature === | + | === Get and Set the trigger temperature === |
| - | Get the low trigger temperature: | + | You can read the trigger temperature from the following nodes: |
| + | |||
| + | ^ fan mode ^ trigger temp parameter ^ | ||
| + | | low | ''/ | ||
| + | | mid | ''/ | ||
| + | | high | ''/ | ||
| + | |||
| + | Example: | ||
| ```shell | ```shell | ||
| Line 54: | Line 63: | ||
| ``` | ``` | ||
| - | Get the mid trigger temperature: | + | Example: Set the low trigger temperature |
| ```shell | ```shell | ||
| - | cat / | + | echo 40 | sudo tee / |
| ``` | ``` | ||
| - | Get the high trigger temperature: | + | <WRAP tip > |
| + | The trigger temperature | ||
| + | </ | ||
| - | ```shell | + | === Mainline linux === |
| - | cat / | + | |
| - | ``` | + | |
| - | === Setup the trigger temperature === | + | The fan is controlled automatically by the Linux thermal subsystem. Temperatures are in millidegrees Celsius. |
| - | Setup the low trigger temperature. | + | Example: Get the auto trigger temperature: |
| + | ``` | ||
| + | cat / | ||
| + | ``` | ||
| - | e.g. Setup the low trigger | + | Example: set the auto trigger |
| - | + | ``` | |
| - | ```shell | + | echo 40000 | sudo tee /sys/class/thermal/ |
| - | echo 40 | sudo tee /sys/class/fan/trigger_temp_low | + | |
| ``` | ``` | ||
| + | <WRAP tip > | ||
| + | To turn the fan off, set the trigger temperature to a higher value (e.g., 80000). \\ | ||
| + | To turn the fan on, set the trigger temperature to a lower value (e.g., 10000). | ||
| + | </ | ||
| ===== Android ===== | ===== Android ===== | ||
| - | Just goto the system | + | Check system |