NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
FenterSpooner
Apr 29, 2013Aspirant
RN314 Fan Speed
Is there anyway to bump up the fan speed on v6.0? It's nice that its quiet and all but sitting at ~800rpm it's definitely keeping my drives at a higher temperature. I for one would welcome a little e...
AndreasKa
Jan 25, 2015Tutor
So I spent a few hours over the course of a few days working out how to update this script to support the RN314 model and here it is. Seems to be working pretty well on my unit.
follow exactly the same instructions as this thread:
viewtopic.php?f=11&t=76184
but in the fanoveride file, paste this code instead:
Notes about the changes/variables:
- file paths had to be updated to support the different platform
- the MINTEMP and MAXTEMP values are x1000 as this is the value reported by the monitoring chip so 40c becomes 40000
- if you want your fan to spin at a higher minimum rate no matter what, edit the MINPWM value to something over 100 (100 is the default and lowest). As you can see I have set mine to 140
- You can set the NEWSPEED to 50 or higher however I have found it more effective to change the MINPWM value to set the fan speed floor
- the fanoveride log (/var/log/fanoveride.log) will show an incorrect fan speed percentage. Just ignore this. The key things to look at are the fan RPM and last number which is the current PWM value.
regarding automatic startup:
I don't think the script starts up automatically using the commands from the original post. If anyone knows how to fix this, please let me know.
Using this script, my HDDs which were now running at 49-50c are now at 43-44 and the fan never runs are the old ~700rpm
follow exactly the same instructions as this thread:
viewtopic.php?f=11&t=76184
but in the fanoveride file, paste this code instead:
#!/bin/bash
## Variables ##
FANPWMPATH=/sys/devices/platform/it87.2560/pwm1
FANSPEEDPATH=/sys/devices/platform/it87.2560/fan1_input
CORETEMPPATH=/sys/devices/platform/coretemp.0/temp2_input
MAXFAN=100 # Maximum operable speed
MINFAN=0 # Minimum operable speed
MINPWM=140 # PWM Limit
MAXPWM=255 # PWM Limit
MINTEMP=40000 # Min temp -> Fan slowest
MAXTEMP=65000 # Max temp -> Fan fastest
NEWSPEED=60 # Initial fan speed (%)
## Functions ##
function getReadings {
FANPWM=$(cat $FANPWMPATH)
FANSPEED=$(cat $FANSPEEDPATH)
CORETEMP=$(cat $CORETEMPPATH)
}
function setFanSpeed {
if [ $NEWSPEED -lt $MINFAN ]; then
NEWSPEED=$MINFAN
fi
if [ $NEWSPEED -gt $MAXFAN ]; then
NEWSPEED=$MAXFAN
fi
NEWPWM=$(expr $MAXPWM - $MINPWM)
NEWPWM=$(expr $NEWPWM \* $NEWSPEED)
NEWPWM=$(expr $NEWPWM / 100)
NEWPWM=$(expr $NEWPWM + $MINPWM)
echo $NEWPWM > /sys/devices/platform/it87.2560/pwm1
}
function calcFanPercent {
TEMPRAN=$(expr $MAXTEMP - $MINTEMP)
TEMPREL=$(expr $CORETEMP - $MINTEMP)
TEMPREL=$(expr $TEMPREL \* 100)
TEMPPER=$(expr $TEMPREL / $TEMPRAN)
NEWSPEED=$TEMPPER
}
###################################################################
echo "Automatically controlling fan speed..."
while true
do
getReadings
echo "Temp: $CORETEMP C FAN: $NEWSPEED% [$FANSPEED RPM] [$FANPWM]"
calcFanPercent
setFanSpeed
sleep 10
done
###################################################################
Notes about the changes/variables:
- file paths had to be updated to support the different platform
- the MINTEMP and MAXTEMP values are x1000 as this is the value reported by the monitoring chip so 40c becomes 40000
- if you want your fan to spin at a higher minimum rate no matter what, edit the MINPWM value to something over 100 (100 is the default and lowest). As you can see I have set mine to 140
- You can set the NEWSPEED to 50 or higher however I have found it more effective to change the MINPWM value to set the fan speed floor
- the fanoveride log (/var/log/fanoveride.log) will show an incorrect fan speed percentage. Just ignore this. The key things to look at are the fan RPM and last number which is the current PWM value.
regarding automatic startup:
I don't think the script starts up automatically using the commands from the original post. If anyone knows how to fix this, please let me know.
Using this script, my HDDs which were now running at 49-50c are now at 43-44 and the fan never runs are the old ~700rpm
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!