Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
- Get latest samyGOso from there and copy/overwrite samyGOso file (not folder) to /mnt/opt/privateer/usr/bin
- Set permissions if needed (usually not if overwritten)
Code: Select all
chmod +x /mnt/opt/privateer/usr/bin/samyGOso
- Extract attached archives and copy libSoftPowerOff.so to /mnt/opt/privateer/usr/libso (create folder if needed)
- Execute
If executed without arg, TV will enter ONLY soft-off mode in ALL power-off cases. If using NOPVRSLEEP arg, it will power off normally after a scheduled recording or on sleeptimer (actually it will only take care of power button of remote).
Code: Select all
samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libSoftPowerOff.so [arg1...argN]
There's also possibility to launch distinct commands/scripts on soft on/off (for example to remotely power or control another device), for this use one or both CMD_ON and CMD_OFF args. e.g.:Don't forget to chmod +x scripts/commands!Code: Select all
CMD_ON:/fullpath/to/cmd_on.sh CMD_OFF:/fullpath/to/cmd_off.sh
Once patched, if you expect TV to *really* power off, press SOURCE then POWER consecutively on remote in about less than ~2 seconds. Using ONSOURCE arg will invert this behavior, it means POWER button alone will enter true standby as usual whereas SOURCE+POWER will enter soft-off.
- NOCMDONPVR prevents 'CMD:' scripts to be launched if PVR is active (for example if you use cmd_off script to kill oscam and don't want your current recording to end prematurely on soft-off ). Next CMD_ON won't be launched if CMD_OFF wasn't launched due to active PVR.
- FASTMODE arg is available for D/E only. If used, TV will skip most of (often useless) stuff done on soft on/off, so remains nearly only panel/audio on/off. Considerably speedup process (especially soft on), but might not be suitable in all cases, depending on your TV usage. Just try and see .
- KEEPSLEEP won't cancel current Sleep Timer on Soft-Off, that one will continue to elapse in the background (pre-v0.2.5 default behavior). Therefore auto-off could still happen after soft power cycle(s).
- STB arg can be used if you want to assign SOURCE+POWER behavior (=soft-off using ONSOURCE, full-off not using ONSOURCE) to "STB" power button you can find on some remote controls:
Logfile is written to /dtv/SoftPowerOff.log
- Autostart
- Copy 99_95_SoftPowerOff.init to /mnt/etc/init.d
- Set permissions
Code: Select all
chmod +x /mnt/etc/init.d/99_95_SoftPowerOff.init
- You can change OPTIONS value on top of script, default is none. You can set for example:
Code: Select all
OPTIONS="NOPVRSLEEP ONSOURCE"
*Reported to be half less on H-series, about 13W.
*Changelog:
Code: Select all
30/4/2016
v0.2.5 - Sleep Timer is now cancelled on Soft-Off
-> Added KEEPSLEEP arg to use former behavior
10/10/2015
v0.2.4 - Now logging CMD status to catch user mistake
- Preparing something...
8/10/2015
v0.2.2 - Fixed some crap
v0.2.1 - Added NOCMDONPVR arg
30/9/2015
v0.2.0 - Added STB arg
- Small fix that could crash on SOURCE+POWER
2/8/2015
v0.1.8 - Added FASTMODE (D/E only)
25/4/2015
v0.1.6 - Minor fixes
15/4/2015
v0.1.5 - Added CMD_ON and CMD_OFF args
14/4/2015
v0.1.4 - Increased source+power delay to 2 seconds
13/4/2015
v0.1.2 - Added ONSOURCE switch
- Fixed D support
11/4/2015
v0.1.0 - First release