Page 1 of 3
[APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Sun Sep 15, 2013 12:44 pm
by bugficks
With this mod you can use your own power off time instead of originally shiped 30/60/90/120/150/180 time intervals.
IMG_20130911_215824.jpg
1. Download:
libSleepTimer_D_E_F.tgz
2. extract everything into one dir (let`s say to /mtd_down/so )
3. set permissions
4. start from cmdline:
Code: Select all
cd /mtd_down/so
./samyGOso -p $(pidof exeAPP || pidof exeDSP) -l /mtd_down/so/libSleepTimer.so -r
5. Autostart:
Copy files from archive
99_99_SamyGoSleepTimer.zip
:
- samyGOso -> $DISTROOT/usr/bin/
- libSleepTimer.so -> $DISTROOT/usr/so/
- libSleepTimer.config -> $DISTROOT/usr/so/
- set permissions:
Code: Select all
chmod 755 $DISTROOT/usr/bin/samyGOso
- Script 99_99_SamyGoSleepTimer.init extract to
Code: Select all
$SYSROOT/etc/init.d/99_99_SamyGoSleepTimer.init
- set permissions
Code: Select all
chmod 755 $SYSROOT/etc/init.d/99_99_SamyGoSleepTimer.init
NB!
- $SYSROOT D series: /mtd_rwcommon/widgets/user/SamyGO/SamyGO
- $DISTROOT D series: /mtd_rwcommon/widgets/user/SamyGO/SamyGO/opt/privateer
- $SYSROOT E series: /mnt
- $DISTROOT E series: /mnt/opt/privateer
F series: install SamyGO Extensions and enable init script in /mnt/etc/init.d/.
Alternative installation on D series via WebIF possible (check Modules-Online).
Check libSleepTimer.config and set your wanted time intervals:
Code: Select all
{
"str_sleeptimer": "Sleep Timer",
"str_min" : "min",
"values" : [20, 40, 60, 80, 120, 150]
}
Changelog:
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Wed Oct 02, 2013 8:52 am
by tempinbox
Is possible to port this patch to c series? The popup menu is the same of picture in c series. Has everyone try it on c series? Maybe it work on c series too? This is a patch of exedsp exeapp or the functions is exported from one different so files?
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Tue Oct 08, 2013 7:48 pm
by mmhorda
tempinbox wrote:Is possible to port this patch to c series? The popup menu is the same of picture in c series. Has everyone try it on c series? Maybe it work on c series too? This is a patch of exedsp exeapp or the functions is exported from one different so files?
Yes. I have tried. It is not working on C series.
Guys any chance to make it work on C series? tried firmware T-VALDEUC 3011
Thanks in advance.
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Wed Jan 15, 2014 8:55 pm
by Piwek
Even if I change the power off time ??in the file libSleepTimer.config on TV I still have: 20, 40, 60, 80, 120, 150...
How to change it?
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Wed Jan 15, 2014 9:02 pm
by juusso
please always give additional info like TV model, firmware name and version on your TV, also content of log file (/mtd_rwarea/SleepTimer.log)
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Wed Jan 15, 2014 10:07 pm
by Piwek
TV: 46F6400
Firmware: 1116
My libSleepTimer.config:
Code: Select all
{
"str_sleeptimer": "Sleep Timer",
"str_min" : "min",
"values" : [15, 30, 45, 60, 90, 120]
}
log:
Code: Select all
SleepTimer] SamyGO Sleeptimer mod v0.2.5 - (c) bugficks 2013
[SleepTimer] * F Series - T-MST12DEUC T-MST12DEUC-1116.0 2013-11-12 *
[SleepTimer] cfg str_sleeptimer: (null)
[SleepTimer] cfg str_min: min
[SleepTimer] timer value [0]: 20 20 min
[SleepTimer] timer value [1]: 40 40 min
[SleepTimer] timer value [2]: 60 60 min
[SleepTimer] timer value [3]: 80 80 min
[SleepTimer] timer value [4]: 120 120 min
[SleepTimer] timer value [5]: 150 150 min
[SleepTimer] patching _ZN26CSleepTimerSublistDataItem15SetSublistItemsEv @0x24d41cc .
[SleepTimer] 30->20
[SleepTimer] 60->40
[SleepTimer] 90->60
[SleepTimer] 120->80
[SleepTimer] 150->120
[SleepTimer] 180->150
[SleepTimer] patching _ZN13CViewerNormal10m_SetSleepEb @0x23595b8 .
[SleepTimer] 150->120
[SleepTimer] 180->150
[SleepTimer] 30->20
[SleepTimer] 60->40
[SleepTimer] 90->60
[SleepTimer] 120->80
[SleepTimer] init done...
[SleepTimer] x_ResourceManager_GetWString: (0xad8cdc0) id: 0xaa ret: 30 min -> 20 min
[SleepTimer] x_ResourceManager_GetWString: (0xad8cdc0) id: 0xc1 ret: 60 min -> 40 min
[SleepTimer] x_ResourceManager_GetWString: (0xad8cdc0) id: 0xc9 ret: 90 min -> 60 min
[SleepTimer] x_ResourceManager_GetWString: (0xad8cdc0) id: 0x89 ret: 120 min -> 80 min
[SleepTimer] x_ResourceManager_GetWString: (0xad8cdc0) id: 0x92 ret: 150 min -> 120 min
[SleepTimer] x_ResourceManager_GetWString: (0xad8cdc0) id: 0x9c ret: 180 min -> 150 min
>>> x_SleepTimer_GetData: (0xc3917a0)
<<< x_SleepTimer_GetData: (0xc3917a0) ret: 0x1, mins 0
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Thu Jan 16, 2014 1:57 am
by bugficks
Code: Select all
/* do not remove or strange things will happen */
thats all i have to say

Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Sun Feb 09, 2014 2:22 am
by mihd
bugficks wrote:Code: Select all
/* do not remove or strange things will happen */
thats all i have to say

He did not remove anything. SleepTimer does not work correctly if the language of the menu of the TV is not English. I have the same problem. If install the English language in the menu, then everything is fine.
Can this be fixed?
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Sun Feb 09, 2014 2:40 am
by bugficks
it does as you can see on screenshot. my original archive contained working configs for en, de and fr. juuso?

anyways... you need to match those 2 str_xxx config entries to those displayed in original menu in your language. if it contains non-ascii characters edit/save config as utf-8.
Re: [APP] SamyGO SleepTimerMod for D(arm)/E/F
Posted: Sun Feb 09, 2014 3:22 am
by mihd
Thanks. Everything turned out!