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:29]
william
products:sbc:edge2:applications:fan [2026/03/25 03:21] (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 '0' to turn the fan off.      - Write '0' to turn the fan off.  
    - Write '1' to turn the fan on.    - Write '1' to 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 '0' for manual control mode.      - Write '0' for manual control mode.  
    - Write '1' for automatic control mode (the fan speed adjusts automatically based on the SoC temperature).    - Write '1' for 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: '1' to '5'.  
-   Controls the fan speed in manual mode. Range: '1' to '5'.  +
    - Write '1' for the minimum fan speed.      - Write '1' for the minimum fan speed.  
    - Write '5' for the maximum fan speed.    - Write '5' for the maximum fan speed.
Last modified: 2026/03/23 22:29 by william