sensors
returns:
lm63-i2c-0-4c Adapter: i2c-mt65xx fan1: 2166 RPM (min = 0 RPM) temp1: +54.0°C (high = +70.0°C) temp2: +53.2°C (low = +0.0°C, high = +70.0°C) (crit = +125.0°C, hyst = +115.0°C)
SSH in.
cd /sys/class/hwmon/hwmon0 echo 70 > pwm1
NOTE: This controls a PWM fan – the industry standard – with software.
cat /sys/class/hwmon/hwmon0/pwm1_enable
returns
1
NOTE: According to the hwmon docs at kernel.org, this means that the fan is configured for fixed-speed operation.
echo 2 > /sys/class/hwmon/hwmon0/pwm1_enable