# Edge2 Fan Fan Control Instructions for SBC Android System ## Control Nodes 1. **'/sys/class/fan/enable'** Controls the fan power state. - Write '0' to turn the fan off. - Write '1' to turn the fan on. 2. **'/sys/class/fan/mode'** Controls the fan operation mode. - Write '0' for manual control mode. - Write '1' for automatic control mode (the fan speed adjusts automatically based on the SoC temperature). 3. **'/sys/class/fan/level'** Controls the fan speed in manual mode. Range: '1' to '5'. - Write '1' for the minimum fan speed. - Write '5' for the maximum fan speed. ## Examples Turn the fan off ```shell $ echo 0 > /sys/class/fan/enable ``` Set the fan to automatic mode ```shell $ echo 1 > /sys/class/fan/enable $ echo 1 > /sys/class/fan/mode ``` Set the fan to minimum speed (manual mode) ```shell $ echo 1 > /sys/class/fan/enable $ echo 0 > /sys/class/fan/mode $ echo 1 > /sys/class/fan/level ``` Set the fan to maximum speed (manual mode) ```shell $ echo 1 > /sys/class/fan/enable $ echo 0 > /sys/class/fan/mode $ echo 5 > /sys/class/fan/level ```