WD PR2100 FAN SPEED

According graphs recommending operation temperature 35-45 degrees

1. Check temps and fan speed

fan_control -g 4; fan_control -g 0

2. Get current config file (BBCL-thermal.xml in my case. Use this name in 4.)

ps | grep wdtms

2.1 Find all thermals

find . -name *thermal.xml -print

3.Create file wdmclowtemp.sed in /mnt/HD/HD_a2/scripts/ with following content:

s/"[0-9][0-9].0" interval="300" goto="set_drv_extreme"/"57.0" interval="300" goto="set_drv_extreme"/
s/"[0-9][0-9].0" interval="300" goto="set_drv_pending"/"55.0" interval="300" goto="set_drv_pending"/
s/"[0-9][0-9].0" interval="300" goto="set_drv_danger"/"52.0" interval="300" goto="set_drv_danger"/
s/"[0-9][0-9].0" interval="300" goto="set_drv_hot"/"45.0" interval="300" goto="set_drv_hot"/
s/"[0-9][0-9].0" interval="300" goto="set_drv_warm"/"40.0" interval="300" goto="set_drv_warm"/
s/"[0-9][0-9].0" interval="300" goto="set_drv_content"/"37.0" interval="300" goto="set_drv_content"/
s/"[0-9][0-9].0" interval="300" goto="set_drv_cool"/"38.0" interval="300" goto="set_drv_cool"/

4.Create file wdmc_lower_drive_temperature.sh in /mnt/HD/HD_a2/scripts/ with following content:

#!/bin/sh
sed -i -f /mnt/HD/HD_a2/scripts/wdmclowtemp.sed /etc/wd/BBCL-thermal.xml
/etc/init.d/S20wdtmsd stop
/etc/init.d/S20wdtmsd start 

5. Set file permissions

chmod +x /mnt/HD/HD_a2/scripts/wdmc_lower_drive_temperature.sh

6. Autorun script. Edit /mnt/HD/HD_a2/Nas_Prog/Transmission/init.sh Put line

sh /mnt/HD/HD_a2/scripts/wdmc_lower_drive_temperature.sh

OR
0. Copy BBCL-thermal.xml to /mnt/HD/HD_a2/scripts/ and edit it as you want
1. Edit /mnt/HD/HD_a2/Nas_Prog/Transmission/init.sh Put line

sudo /etc/init.d/S20wdtmsd stop
cp -f /mnt/HD/HD_a2/scripts/BBCL-thermal.xml /etc/wd/BBCL-thermal.xml
sudo /etc/init.d/S20wdtmsd start
Обновлено: 31/08/2023 — 22:43