IX4-300d Startup Script

Silence your IX4-300D’s Fans

The IX4’s fans are quite loud and always spinning the same speed whatever the temperature may be inside your NAS. In this guide, I will lower the fan speed and quieten your NAS. Make sure to test these settings thoroughly before applying them as setting the speed to low may cause your NAS to overheat during long operations.

Requirements
– IX4-300D with SSH access: SSH Guide
– Custom startup script: Guide Here
Follow guide at own risk, I am not responsible for any damage!
Guide

Login via SSH onto your IX4-300d:

ssh root@192.168.1.2

Navigate to the following folder:

cd /sys/devices/platform/mv64xxx_i2c.0/i2c-0/0-002e/

In this folder are configurations for the fans in your ix4, there are 3 fan connectors inside the ix4-300d however only the first connector is used, there is a fan running at 126(1600RPM) by default. To change the fan speed open “pwm1_auto_point1_pwm” in your favorite editor:

nano pwm1_auto_point1_pwm

The default value is 126, here is a list of values with their corresponding fan speed :

Value Fan speed (+-RPM)
0 – 60 790
70 800
80 830
90 880
100 980
110 1170
120 1430
125 1540
127 1600
128 1650
130 1775
140 1980
150 2400
160 2570
170+ 2690

Warning :
Use common sense selecting your fan speed, don’t just enter the lowest value possible, find a reasonable value without letting your NAS get to hot.

My opinion :
I never let your NAS get over 70°, this value may be reached when unpacking downloads but should never be reached in normal conditions.

Autoset fan speed on boot

To keep your fan speed after rebooting, edit your startup script :

nano /opt/init-opt.sh

Paste this line in your script, change the 115 value to anything you are comfortable with:

#Fan speed Setting
echo 115 >> /sys/devices/platform/mv64xxx_i2c.0/i2c-0/0-002e/pwm1_auto_point1_pwm

ix4-300d_fanspeed

Save the file with CTRL+O and Enter, exit the editor with CTRL+X. Reboot and your fan speed will run at your custom speed.

Temperatures can be checked from the WebGui under “System Status”:

ix4-300d_default_temperature

Fan speed can be checked under the “Fan” tab:

ix4-300d_fanspeed

Share:

Facebook
Twitter
Pinterest
LinkedIn

5 Responses

  1. While slowing the fan down is a nice idea, ideally it would follow the hard drive temperature. The system temperature isn’t terribly important, but keeping your spinning hard drives cool is:
    smartctl -a /dev/sda |grep 194\ Temperature

    194 Temperature_Celsius 0x0002 064 061 000 Old_age Always – 36 (Min/Max 10/39)

    In my IX4, with the fan running at 1610 RPM, my drives report they are at 36/36/35/36C.
    Some afternoon, I’ll hack out a 10 liner bash script that tracks the warmest of the drives unless someone beats me to it.

    1. Hi Scott, did you get around to doing that bash script?

      Do we know what the command is to get the CPU temp?

      I’m thinking of croning a script to measure the temperatures and update the pwm1_auto_point1_pwm file if things get to hot.

  2. I would love to just be able to ssh in and set the fans to 100%. I already have ssh access, but I don’t know how to set the fans to 100%. Too bad they don’t have a simple fan_control command like in my WD EX2.

    What would I need to change and what would need to be restarted (if anything)? I have no problem typing in commands! Thank you!

    1. I think running “echo 115 >> /sys/devices/platform/mv64xxx_i2c.0/i2c-0/0-002e/pwm1_auto_point1_pwm” from ssh commmand line should update your fan speed.

Leave a Reply

Your email address will not be published. Required fields are marked *

On Key

Related Posts