Page 3 of 26

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

Posted: Tue Apr 14, 2015 8:52 am
by zoelechat
juuso wrote:Small issue - no true power off with consequence source - power. It just brings source window and does soft power off.
You have to be quick enough between source+power, but not too quick. About a big second (press power once source menu has finished its appearance movement) is fine. Else I may slightly increase allowed delay...

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

Posted: Tue Apr 14, 2015 9:41 am
by zoelechat
Ok, new version. Increased source+power delay to 2/3 seconds, and using another time function. Please try.
Should also support soft-off by HDMI-CEC device now

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

Posted: Tue Apr 14, 2015 11:12 am
by juusso
yes, now it works. Checked only soft-off, true-off functionality.

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

Posted: Tue Apr 14, 2015 11:18 am
by zoelechat
juuso wrote:yes, now it works. Checked only soft-off, true-off functionality.
Perfect, that's all I wanted you to try :)
HDMI-CEC is another request from a guy above. I never got that crap to work and I don't want it anyway, so I'm waiting for his feedback.

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

Posted: Tue Apr 14, 2015 8:05 pm
by blackbox
HDMI-CEC soft off ist not work's, TV goes into true standby, Test only on H series

Code: Select all

[SoftPowerOff] SamyGO D/E/F/H libSoftPowerOff v0.1.4 - (c) zoelechat 2015
[SoftPowerOff] g_pAppTV [0xba7426c].
[SoftPowerOff] _ZN5TCAPI5GetTvEv [0x16fbf10].
[SoftPowerOff] dlsym '_ZN4TCTv5PowerEiNS_11EBootReasonEb' failed.
[SoftPowerOff] _ZN9TCTvProxy5PowerEiN4TCTv11EBootReasonEb [0x175389c].
[SoftPowerOff] dlsym '_ZN4TCTv13GetPowerStateEPiPNS_11EBootReasonE' failed.
[SoftPowerOff] _ZN9TCTvProxy13GetPowerStateEPiPN4TCTv11EBootReasonE [0x17536f8].
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x2b36d10].
[SoftPowerOff] _ZN10CViewerApp12t_OnKeyPowerEPK7PTEvent [0x2b35fbc].
[SoftPowerOff] dlsym '_ZN10CViewerApp13t_OnKeySourceEPK7PTEvent' failed.
[SoftPowerOff] _ZN21CTvApplicationManager13m_OnKeySourceEPK7PTEvent [0x4c387b4].
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x2b36d10].
[SoftPowerOff] _ZN15CCECApplication21CECAppProcessPoweroffEv [0x358bbc8].
[SoftPowerOff] lib_init, >>>
[SoftPowerOff] Hooking Soft Power-Off on power-button only!
[SoftPowerOff] init done...

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

Posted: Tue Apr 14, 2015 8:09 pm
by zoelechat
blackbox wrote:HDMI-CEC soft off ist not work's, TV goes into true standby, Test only on H series
Ok, I've no idea how to avoid it then...
...except do not power off your HDMI device, or disable HDMI-CEC crap :)

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

Posted: Tue Apr 14, 2015 8:28 pm
by blackbox
that would be at the moment the only solution

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

Posted: Wed Apr 15, 2015 6:39 pm
by zoelechat
New version, added on request possibility to launch script/command on soft on/off (CMD_ON/CMD_OFF args).

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

Posted: Sat Apr 25, 2015 4:11 pm
by miazza
On my ES8000 the TV crashes and reboot:

Code: Select all

VDLinux#> samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libSoftPowerOff.s
o
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libSoftPowerOff.so' resident: '1'
mprotect: 0x41bb9c80
dlopen: 0x420f8b28
dlclose: 0x420f8ccc
dlsymaddr: 0x420f8d1c
pc=420334dc lr=420334c8 sp=bed39ea0 fp=85a3f48
r0=fffffe00 r1=80
r2=1 r3=0
stack: 0xbed1d000-0xbed3e000 length = 135168
executing injection code at 0xbed39d5c
library injection completed!
Succeeded.
VDLinux#>

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

Posted: Sat Apr 25, 2015 4:28 pm
by zoelechat
Debug tells nothing, if you could be quick enough to catch log before crash please (cat /dtv/SoftPowerOff.log)