Hello.
There is no need in
wd5741 or
wdidle3.exe for check/change idle3 timer on FreeBSD (and on FreeNAS, accordingly), it can be done by tool in base system called camcontrol.
To see current value of idle3, for example, on device ada0, run this set of commands:
Enable vsc (vendor specific commands) on device:
Code:
camcontrol cmd ada0 -v -a "80 45 00 44 57 40 00 00 00 00 00 00"
Send read key:
Code:
camcontrol cmd ada0 -v -a "B0 D6 BE 4F C2 40 00 00 00 00 01 00" -o 512 "2a 00 01 00 02 00 0d 00 16 00 01"
Read idle3 time value:
Code:
camcontrol cmd ada0 -v -a "B0 D5 BF 4F C2 40 00 00 00 00 01 00" -i 512 "i1"
Disable vsc:
Code:
camcontrol cmd ada0 -v -a "80 44 00 44 57 40 00 00 00 00 00 00"
To change value of idle3 on ada0:
Enable vsc:
Code:
camcontrol cmd ada0 -v -a "80 45 00 44 57 40 00 00 00 00 00 00"
Send write key:
Code:
camcontrol cmd ada0 -v -a "B0 D6 BE 4F C2 40 00 00 00 00 01 00" -o 512 "2a 00 02 00 02 00 0d 00 16 00 01"
Write new value of idle3 timer, for example 192 (C0 in hex):
Code:
camcontrol cmd ada0 -v -a "B0 D6 BF 4F C2 40 00 00 00 00 01 00" -o 512 "C0"
To disable idle3 timer - write 00.
Disable vsc:
Code:
camcontrol cmd ada0 -v -a "80 44 00 44 57 40 00 00 00 00 00 00"
More information about possible timer values you can find at bottom of
http://idle3-tools.sourceforge.net/
After changing of timer value you must off/on power of your device to apply new settings (reboot is not help).
Works well with my WD Red (WD20EFRX).