Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:applications:fan

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:edge2:applications:fan [2026/03/23 22:24]
william
products:sbc:edge2:applications:fan [2026/03/23 22:29] (current)
william
Line 5: Line 5:
 ## Control Nodes ## Control Nodes
  
-1. **`/sys/class/fan/enable`**  +1. **'/sys/class/fan/enable'**  
    Controls the fan power state.      Controls the fan power state.  
-   - Write `0to turn the fan off.   +   - Write '0to turn the fan off.   
-   - Write `1to turn the fan on.+   - Write '1to turn the fan on.
  
-2. **`/sys/class/fan/mode`**  +2. **'/sys/class/fan/mode'**  
    Controls the fan operation mode.      Controls the fan operation mode.  
-   - Write `0for manual control mode.   +   - Write '0for manual control mode.   
-   - Write `1for automatic control mode (the fan speed adjusts automatically based on the SoC temperature).+   - Write '1for automatic control mode (the fan speed adjusts automatically based on the SoC temperature).
  
-3. **`/sys/class/fan/level`**   +3. **'/sys/class/fan/level'**   
-   Controls the fan speed in manual mode. Range: `1to `5`.   +   Controls the fan speed in manual mode. Range: '1to '5'.   
-   - Write `1for the minimum fan speed.   +   - Write '1for the minimum fan speed.   
-   - Write `5for the maximum fan speed.+   - Write '5for the maximum fan speed.
  
  
Last modified: 2026/03/23 22:29 by william