START=98
boot() {
- # configuring (lm85/lm63) onboard temp/fan controller to run the fan on its own
+ # configuring onboard temp/fan controller to run the fan on its own
# for more information, please read https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
case $(board_name) in
path_to_hwmon='/sys/class/hwmon/hwmon0'
echo 2 > "$path_to_hwmon/pwm1_enable" # fan is on pwm1
;;
+ netgear,readynas-duo-v2)
+ path_to_hwmon='/sys/class/hwmon/hwmon0'
+ echo 1200 > "$path_to_hwmon/fan1_target" # set target rpm
+ ;;
seagate,blackarmor-nas220)
path_to_hwmon='/sys/devices/platform/ocp@f1000000/f1011000.i2c/i2c-0/0-002e/hwmon/hwmon0'
# adt7476 fan control chip. 3 temp sensors. Set to 1/4 speed at 35C and max speed at 48C.