Page 8 of 26

Re: [App] libSoftPowerOff D/E/F/H

Posted: Fri Sep 11, 2015 9:17 pm
by zoelechat
Told you it was doable, not that I was going to do it. Offtopic anyway...
Btw, you can just go to TV menu and set "off timer" at 23h10, it will soft power off (if you don't use NOPVRSLEEP arg) :)

Re: [App] libSoftPowerOff D/E/F/H

Posted: Wed Sep 30, 2015 4:08 pm
by zoelechat
New version, added STB button support to assign soft/full-off to it, in case you have it on RC
stb.jpg

Re: [App] libSoftPowerOff D/E/F/H

Posted: Wed Sep 30, 2015 5:20 pm
by miazza
zoelechat wrote:New version, added STB button support to assign soft/full-off to it, in case you have it on RC
stb.jpg
HAHAHAAH :lol: ... I will modify my remote accordingly ;)

Re: [App] libSoftPowerOff D/E/F/H

Posted: Wed Sep 30, 2015 5:23 pm
by zoelechat
miazza wrote:HAHAHAAH :lol: ... I will modify my remote accordingly ;)
I also don't have that one, no idea if it's common, was just a request ;)

Re: [App] libSoftPowerOff D/E/F/H

Posted: Wed Sep 30, 2015 7:21 pm
by lionidas
Thanks dud.

Re: [App] libSoftPowerOff D/E/F/H

Posted: Mon Oct 05, 2015 11:59 pm
by momchetoi
Hi,
I`ve tested on H6500 with fw 2606.2. After instalation first it worked normally, but after making a deep standby by clicking SOURCE+POWER the TV turned again to it`s normal situation, i.e. by clicking on POWER button TV goes in deep standby and not in soft-off?
Should I reinstall the lib?
Where could be the problem?
P.S. I noticed, that no Logfile has been written to /dtv/SoftPowerOff.log.
I noticed also that in the Autostart script when executing samyGoso

Code: Select all

samyGOso -A -B -r -l /mnt/opt/privateer/usr/libso/libSoftPowerOff.so 
the -d argument is missing, i.e. do you think that it should be

Code: Select all

samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libSoftPowerOff.so 

Re: [App] libSoftPowerOff D/E/F/H

Posted: Tue Oct 06, 2015 8:28 am
by zoelechat
momchetoi wrote:Where could be the problem?
If it worked "only once until TV was fully powered-off then never again", I'd say you must be wrong somewhere with autostart. :)
What does it say if you launch manually from Telnet?:

Code: Select all

/mnt/etc/init.d/99_95_SoftPowerOff.init start
-d in commandline only shows debug info on injection and I generally don't use it in startup scripts since you don't see output. Doesn't matter if used or not.

Re: [App] libSoftPowerOff D/E/F/H

Posted: Tue Oct 06, 2015 10:38 am
by momchetoi
zoelechat wrote: What does it say if you launch manually from Telnet?:

Code: Select all

/mnt/etc/init.d/99_95_SoftPowerOff.init start

Code: Select all

checking /dtv/usb/sda1
checking /dtv/usb/sdb
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libSoftPowerOff.so' resident: '1'
Succeeded.

Re: [App] libSoftPowerOff D/E/F/H

Posted: Tue Oct 06, 2015 10:40 am
by zoelechat
Should work then, what are your OPTIONS in script?

Re: [App] libSoftPowerOff D/E/F/H

Posted: Tue Oct 06, 2015 10:56 am
by momchetoi
zoelechat wrote:Should work then, what are your OPTIONS in script?
I have no OPTIONS. I haven`t change anything in the Auto start script.

Yes it works when I start it manualy, it works normal, i.e. by clicking POWER button TV goes into soft-off. But after going into deep standby by clicking SOURCE+POWER the Auto-start script doesnt really start. There is also no log file in /dtv.
Here the log after manual start

Code: Select all

[SoftPowerOff] SamyGO D/E/F/H libSoftPowerOff v0.2.0 - (c) zoelechat 2015
[SoftPowerOff] g_pAppTV [0xb5aa854].
[SoftPowerOff] _ZN5TCAPI5GetTvEv [0x16a2728].
[SoftPowerOff] dlsym '_ZN4TCTv5PowerEiNS_11EBootReasonEb' failed.
[SoftPowerOff] _ZN9TCTvProxy5PowerEiN4TCTv11EBootReasonEb [0x16f9df0].
[SoftPowerOff] dlsym '_ZN4TCTv13GetPowerStateEPiPNS_11EBootReasonE' failed.
[SoftPowerOff] _ZN9TCTvProxy13GetPowerStateEPiPN4TCTv11EBootReasonE [0x16f9c4c].
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x29f1544].
[SoftPowerOff] _ZN5TPCTv8InstanceEv [0x16b03c8].
[SoftPowerOff] _ZN5TPATv5PowerEN5TPCTv10EPowerTypeEb [0x250e44c].
[SoftPowerOff] dlsym '_ZN5TCDMS8InstanceEN8TCWindow7EWindowE' failed.
[SoftPowerOff] dlsym '_ZN9TCDisplay9MuteAudioEb' failed.
[SoftPowerOff] _ZN10CViewerApp12t_OnKeyPowerEPK7PTEvent [0x29f0898].
[SoftPowerOff] lib_init, >>>
[SoftPowerOff] Hooking Soft Power-Off everywhere!
[SoftPowerOff] lib_init, hooking >>>
[SoftPowerOff] _ZN10CViewerApp12t_OnKeyPowerEPK7PTEvent [0x29f0898].
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x29f1544].
[SoftPowerOff] dlsym '_ZN10CViewerApp13t_OnKeySourceEPK7PTEvent' failed.
[SoftPowerOff] _ZN21CTvApplicationManager13m_OnKeySourceEPK7PTEvent [0x4a35444].
[SoftPowerOff] _ZN10CViewerApp14t_OnInputOccurEPK7PTEvent [0x29ee374].
[SoftPowerOff] init done...