====== Ubiquiti - Dream Router - Fan Speed ======
===== Check Fan Speed =====
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)
----
===== Change Fan Speed =====
SSH in.
cd /sys/class/hwmon/hwmon0
echo 70 > pwm1
**NOTE:** This controls a PWM fan – the industry standard – with software.
* But it may reset on its own after an hour or so.
----
===== Check Fan Speed Configuration =====
cat /sys/class/hwmon/hwmon0/pwm1_enable
returns
1
**NOTE:** According to the [[https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface|hwmon]] docs at kernel.org, this means that the fan is configured for fixed-speed operation.
* The following should enable automatic fan speed control in theory: echo 2 > /sys/class/hwmon/hwmon0/pwm1_enable
* Check the contents of **sys/class/hwmon/hwmon0/pwm1_auto_point_*** to see a list of temperature settings.