Differences
This shows you the differences between the selected revision and the current version of the page.
hardware:fan 2010/03/13 21:25 | hardware:fan 2017/12/04 19:30 current | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Fan Photos - In Context: ===== | ===== Fan Photos - In Context: ===== | ||
<box 65%|[[http://duplo.org/~conny/dns-323/|Disassembly pictures]]>{{:8.jpg?w=120&h=89|1 - cover off/best/3 wires}} {{:3.jpg?w=120&h=90|2 - exterior}} {{:hardware:7.jpg?w=120&h=90|3 - interior, in case}}{{:hardware:10.jpg?w=120&h=90|4 - interior, out of case}}</box> | <box 65%|[[http://duplo.org/~conny/dns-323/|Disassembly pictures]]>{{:8.jpg?w=120&h=89|1 - cover off/best/3 wires}} {{:3.jpg?w=120&h=90|2 - exterior}} {{:hardware:7.jpg?w=120&h=90|3 - interior, in case}}{{:hardware:10.jpg?w=120&h=90|4 - interior, out of case}}</box> | ||
+ | |||
+ | |||
===== Variable-Speed Fan Details: ===== | ===== Variable-Speed Fan Details: ===== | ||
- | <box 45% left| Specification > | + | <box 45% left| Specifications > |
^ Model ^ [[http://www.addausa.com/fans.htm|ADDA AD0405HB-G73]] ^ | ^ Model ^ [[http://www.addausa.com/fans.htm|ADDA AD0405HB-G73]] ^ | ||
^ Dimensions | 40mm x 40mm x 10mm | | ^ Dimensions | 40mm x 40mm x 10mm | | ||
Line 18: | Line 20: | ||
Source: [[http://www.addausa.com/model_index.pdf|ADDA Model Numbering Scheme]]. | Source: [[http://www.addausa.com/model_index.pdf|ADDA Model Numbering Scheme]]. | ||
</box> | </box> | ||
- | <box 45% left | Guessed Specifications > | + | <box 45% left | Extrapolated Specifications<sup>*</sup> > |
^ Speed | 6000 rpm (revolutions per minute) | | ^ Speed | 6000 rpm (revolutions per minute) | | ||
- | ^ Airflow | 6.7 or 6.8 cfm | | + | ^ Airflow | 6.7 cfm | |
^ Pressure | 0.100 in (inches) | | ^ Pressure | 0.100 in (inches) | | ||
^ Sound | 25dB/A | | ^ Sound | 25dB/A | | ||
^ Weight | 24 grams | | ^ Weight | 24 grams | | ||
- | ^ Power | ~1.25 Watts (<sup>*</sup> see calculation below) | | + | ^ Power | 1.25 Watts | |
- | Source: Guessed values extrapolated from: [[http://www.addausa.com/specifications/up-40.pdf|ADDA Fan Specification Chart]]. Guessed, because the AD0405HB-G73 model is not listed. | + | Extrapolated from: \\ |
+ | Source: [[http://www.addausa.com/model_index.pdf|ADDA Model Numbering Scheme]]. \\ | ||
+ | Source: [[http://www.addausa.com/specifications/up-40.pdf|ADDA Fan Specification Chart]]. \\ | ||
+ | |||
+ | * Model Number decoder indicates that the AD0405HB-G72 and AD0405HB-G73 are identical excluding the inclusion of the speed sensor and exclusion of the alarm. | ||
- | <sup>*</sup>Power (Watts) = Current(Amperes) x Volts (So, at full-rated standard power) Power = 0.25 Amperes (Current) x 5.0 Volts == 1.25 Watts. | ||
</box> | </box> | ||
Line 49: | Line 54: | ||
====== Related Software/Commands ====== | ====== Related Software/Commands ====== | ||
- | |||
===== fanspeed ===== | ===== fanspeed ===== | ||
Line 83: | Line 87: | ||
The fancontrol process appears to restart the fan within a minute if it's running. | The fancontrol process appears to restart the fan within a minute if it's running. | ||
<code>fanspeed w 30000</code> | <code>fanspeed w 30000</code> | ||
- | It has been reported that the fan doesn't spin faster than 6,301 rpm, regardless of the set fan speed. | + | ==== Warnings: ==== |
+ | * It has been reported that the fan doesn't spin faster than 6,301 rpm, regardless of the set fan speed. | ||
+ | * **fanspeed w rpm** does not work with C1 hardware board (see label, bottom of hardware). Please test your hardware since the script below will not work. A script that could work is [[http://forum.dsmg600.info/viewtopic.php?id=5643|here]]. | ||
=== Questions: === | === Questions: === | ||
* What are the best ways to detect if the hard drive is in sleep mode (for use in a script)? | * What are the best ways to detect if the hard drive is in sleep mode (for use in a script)? | ||
Line 127: | Line 133: | ||
===== Fan Control Scripts: ===== | ===== Fan Control Scripts: ===== | ||
+ | |||
+ | |||
+ | |||
Line 135: | Line 144: | ||
I hope this can be useful to you as it would to me as a newbie who is technically challenged. | I hope this can be useful to you as it would to me as a newbie who is technically challenged. | ||
- | The script (contributed by a collaboration of members here) replaces the factory fan control process, checks for case temperature at set regular intervals and modify fan rotational speed in a positive ratio. When drives spin down at idle, the fan will stop as the box temperature lowers to a user defined value. This is a feature that should have been implemented by the D-Link firmware (but isn't), as it makes no sense to have the fan running all the time. It's quite simple to do, and it effectively reduces noise and wear. Please feel free to make corrections. | + | The script (contributed by a collaboration of members here) replaces the factory fan control process, |
+ | checks for case temperature at set regular intervals and modify fan rotational speed in a positive ratio | ||
+ | When drives spin down at idle, the fan will stop as the box temperature lowers to a user defined value. | ||
+ | This is a feature that should have been implemented by the D-Link firmware (but isn't), as it makes no sense | ||
+ | to have the fan running all the time. It's quite simple to do, and it effectively reduces noise and wear. | ||
+ | Please feel free to make corrections. | ||
**The Quick and Easy** | **The Quick and Easy** | ||
- | - Download {{:hardware:fonz_funplug_0.3_w_fan_control.rar}}. | + | |
- | - Open the .rar archive (use [[http://www.rarlab.com/download.htm|WinRAR]]), drop the four files in the archive into your root folder (e.g. /Volume_1/) via ftp or just by simple drag and drop. Reboot immediately. | + | * Download {{:hardware:fonz_funplug_0.3_w_fan_control.rar}}. |
- | - After the power light stops blinking, wait one minute. Then telnet into your unit's local IP (default is 192.168.0.32) using a telnet/ssh client (try [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|PuTTY]]) and type ''temperature g 0'' to check your DNS-323's temperature readings. | + | |
- | - If the temperature shows Fahrenheit unit, you are done (you may also type ''rm /mnt/HD_a2/ctrl_fanspeed.C'' in telnet to delete the Celsius version script). If it's below 108F, the fan should have stopped. You can type ''fanspeed g'' to check the fan RPM. | + | (In script fun_plug variable PATH haven't been set correctly. Correct line is: |
- | - If the temperature shows in Celsius, in the same telnet screen, type:<code bash>mv /mnt/HD_a2/ctrl_fanspeed.C /mnt/HD_a2/ctrl_fanspeed.sh | + | PATH=${PATH}:${BINDIR} |
- | reboot</code>The last command of course reboots your unit. After which you can recheck the temperature and fan. If it's below 43C, the fan should have stopped, and you are done. | + | Somehow device store system variables, so incorrectly set it can cause improper functioning even if you reset device to factory default, or even reburn firmware. In script fan_control.sh we have to add another line: |
- | __Warning:__ it's imperative that you follow through steps 3, 4, and 5 to verify temperature units, as the fan may never run if you have the wrong numbers feeding the script, possibly resulting in heat damage to hardware. If you encountered problems and must abort, just remove ctrl_fanspeed.sh from your root directory to reset factory fan control settings. | + | export PATH |
+ | right next after PATH declaration line. After these changes HD usage and heat generation of the device dropped dramatically. Another suggestion set temeratures T1 and T2, 97F and 105F accordingly.) | ||
+ | * Open the .rar archive (use [[http://www.rarlab.com/download.htm|WinRAR]]), drop the four files in the archive into your root folder (e.g. /Volume_1/) via ftp or just by simple drag and drop. Reboot immediately. | ||
+ | * After the power light stops blinking, wait one minute. Then telnet into your unit's local IP (default is 192.168.0.32) using a telnet/ssh client (try [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|PuTTY]]) and type | ||
+ | |||
+ | |||
+ | temperature g 0 | ||
+ | to check your DNS-323's temperature readings. | ||
+ | * If the temperature shows Fahrenheit unit, you are done (you may also type | ||
+ | |||
+ | |||
+ | rm /mnt/HD_a2/ctrl_fanspeed.C | ||
+ | in telnet to delete the Celsius version script). If it's below 108F, the fan should have stopped. You can type | ||
+ | |||
+ | |||
+ | fanspeed g | ||
+ | to check the fan RPM. | ||
+ | * If the temperature shows in Celsius, in the same telnet screen, type: | ||
+ | |||
+ | |||
+ | mv /mnt/HD_a2/ctrl_fanspeed.C /mnt/HD_a2/ctrl_fanspeed.sh | ||
+ | reboot | ||
+ | The last command of course reboots your unit. After which you can recheck the temperature and fan. If it's below 43C, the fan should have stopped, and you are done. __Warning:__ it's imperative that you follow through steps 3, 4, and 5 to verify temperature units, as the fan may never run if you have the wrong numbers feeding the script, possibly resulting in heat damage to hardware. If you encountered problems and must abort, just remove ctrl_fanspeed.sh from your root directory to reset factory fan | ||
+ | control settings. | ||
**The Nitty Gritty Steps** | **The Nitty Gritty Steps** | ||
- Get a text editor like [[http://http://sourceforge.net/projects/notepad-plus/|Notepad++]] to save text files in linux format (LF). | - Get a text editor like [[http://http://sourceforge.net/projects/notepad-plus/|Notepad++]] to save text files in linux format (LF). | ||
- | - Create a new text file called [[howto:fun_plug|fun_plug]] (no extensions), with the following line:<code bash>/mnt/HD_a2/ctrl_fanspeed.sh</code>save the text file with linux format (LF) to the root directory of your DNS-323 drive (e.g. /Volume_1/ or just drag and drop into your mapped drive). \\ Alternatively, you can get [[http://www.inreto.de/dns323/fun-plug/|fonz's fun_plug pack]] (which adds telnet feature among other things) and add the above line at the end of the included fun_plug file (don't drop it into /mnt/HD_a2/fun_plug.d/start/ directory as it's a loop that stops any script that follows it from loading), or use the folowing lines at the end of the fun_plug file:<code bash># run fanspeed controller script | + | - Create a new text file called [[howto:fun_plug|fun_plug]] (no extensions), with the following line: |
+ | |||
+ | /mnt/HD_a2/ctrl_fanspeed.sh | ||
+ | |||
+ | save the text file with linux format (LF) to the root directory of your DNS-323 drive | ||
+ | (e.g. /Volume_1/ or just drag and drop into your mapped drive). \\ Alternatively, you can get | ||
+ | [[http://www.inreto.de/dns323/fun-plug/|fonz's fun_plug pack]] (which adds telnet feature among other things) and add the above line | ||
+ | at the end of the included fun_plug file (don't drop it into /mnt/HD_a2/fun_plug.d/start/ directory as it's a loop that stops | ||
+ | any script that follows it from loading), or use the folowing lines at the end of the fun_plug file:<code bash># run fanspeed | ||
+ | controller script | ||
FAN_SPEED=/mnt/HD_a2/ctrl_fanspeed.sh | FAN_SPEED=/mnt/HD_a2/ctrl_fanspeed.sh | ||
if [ -x $FAN_SPEED ]; then | if [ -x $FAN_SPEED ]; then | ||
Line 154: | Line 201: | ||
$FAN_SPEED & | $FAN_SPEED & | ||
echo "* OK" | echo "* OK" | ||
- | fi</code> | + | fi |
- | - Create another text file, copy and paste the "general use" version of the fan-control script below. Adjust the parameters to your liking (description in comments), though it works fine without any modification (assuming your unit reports temperature in Fahrenheit). Save the file as ctrl_fanspeed.sh at the root directory (e.g. /Volume_1/) of your DNS-323 drive, same location as the fun_plug file. | + | |
+ | - Create another text file, copy and paste the "general use" version of the fan-control script below. Adjust the parameters | ||
+ | to your liking (description in comments), though it works fine without any modification (assuming your unit reports temperature | ||
+ | in Fahrenheit). Save the file as ctrl_fanspeed.sh at the root directory (e.g. /Volume_1/) of your DNS-323 drive, same location | ||
+ | as the fun_plug file. | ||
- Reboot the DNS-323 using D-Link's control page and you are done! | - Reboot the DNS-323 using D-Link's control page and you are done! | ||
- | You should notice that immediately after booting (when the power light stops flashing) the fan stops. That is if your drive is cooler than the lower limit set in the script (default 108F or 42C), which will eventually be the case after HD spins down at idle, or if you boot the unit cold. | + | You should notice that immediately after booting (when the power light stops flashing) the fan stops. That is if your drive is |
+ | cooler than the lower limit set in the script (default 108F or 42C), which will eventually be the case after HD spins down at idle, | ||
+ | or if you boot the unit cold. | ||
- | Also make sure your DNS-323 unit reports temperature readings that matches the temperature unit in the script, which is in Fahrenheit (Important! You don't want 108C as lower limit!). You can do this with a simple [[howto:telnet|telnet]] command ''temperature g 0''. You will need to convert the temperature parameters in the script if your DNS-323 returns temperature readings in Celsius. | + | Also make sure your DNS-323 unit reports temperature readings that matches the temperature unit in the script, which is |
+ | in Fahrenheit (Important! You don't want 108C as lower limit!). You can do this with a simple [[howto:telnet|telnet]] | ||
+ | command ''temperature g 0''. You will need to convert the temperature parameters in the script if your DNS-323 returns | ||
+ | temperature readings in Celsius. | ||
Is it safe to assume all US models are reporting in Fahrenheit? Mine does. | Is it safe to assume all US models are reporting in Fahrenheit? Mine does. |