Page 4 of 26

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

Posted: Sat Apr 25, 2015 5:39 pm
by miazza
zoelechat wrote:Debug tells nothing, if you could be quick enough to catch log please (cat /dtv/SoftPowerOff.log)

Code: Select all

VDLinux#> cat /dtv/SoftPowerOff.log
[SoftPowerOff] SamyGO D/E/F/H libSoftPowerOff v0.1.5 - (c) zoelechat 2015
[SoftPowerOff] g_pAppTV [0x85a0df0].
[SoftPowerOff] dlsym '_ZN5TCAPI5GetTvEv' failed.
[SoftPowerOff] _ZN4TCTv5PowerEiNS_11EBootReasonEb [0x108ebc8].
[SoftPowerOff] dlsym '_ZN9TCTvProxy5PowerEiN4TCTv11EBootReasonEb' failed.
[SoftPowerOff] _ZN4TCTv13GetPowerStateEPiPNS_11EBootReasonE [0x10828c8].
[SoftPowerOff] dlsym '_ZN9TCTvProxy13GetPowerStateEPiPN4TCTv11EBootReasonE' failed.
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x1ed86a4].
[SoftPowerOff] _ZN10CViewerApp12t_OnKeyPowerEPK7PTEvent [0x1ecfff8].
[SoftPowerOff] _ZN10CViewerApp13t_OnKeySourceEPK7PTEvent [0x1ed3930].
[SoftPowerOff] dlsym '_ZN21CTvApplicationManager13m_OnKeySourceEPK7PTEvent' failed.
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x1ed86a4].
VDLinux#> 

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

Posted: Sat Apr 25, 2015 5:54 pm
by zoelechat
mmmh... I verified everything and I don't see why it would crash at this point. Moreover it has been well tried on E. Maybe some conflict with another lib/hook. Are you already remapping SOURCE or POWER keys using RCremap?

edit: uploaded new version to first post. Some minor fixes, and better logging for me to find a potential issue. Please try again.

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

Posted: Sat Apr 25, 2015 6:38 pm
by miazza
Again Crash:

Code: Select all

VDLinux#> samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libSoftPowerOff.so
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=be9a0ea0 fp=85a3f48
r0=fffffe00 r1=80
r2=1 r3=0
stack: 0xbe984000-0xbe9a5000 length = 135168
executing injection code at 0xbe9a0d5c
library injection completed!
Succeeded.
VDLinux#> cat /dtv/SoftPowerOff.log
[SoftPowerOff] SamyGO D/E/F/H libSoftPowerOff v0.1.6 - (c) zoelechat 2015
[SoftPowerOff] g_pAppTV [0x85a0df0].
[SoftPowerOff] dlsym '_ZN5TCAPI5GetTvEv' failed.
[SoftPowerOff] _ZN4TCTv5PowerEiNS_11EBootReasonEb [0x108ebc8].
[SoftPowerOff] dlsym '_ZN9TCTvProxy5PowerEiN4TCTv11EBootReasonEb' failed.
[SoftPowerOff] _ZN4TCTv13GetPowerStateEPiPNS_11EBootReasonE [0x10828c8].
[SoftPowerOff] dlsym '_ZN9TCTvProxy13GetPowerStateEPiPN4TCTv11EBootReasonE' failed.
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x1ed86a4].
[SoftPowerOff] lib_init, >>>
[SoftPowerOff] Hooking Soft Power-Off everywhere!
[SoftPowerOff] lib_init, hooking >>>
[SoftPowerOff] _ZN10CViewerApp12t_OnKeyPowerEPK7PTEvent [0x1ecfff8].
[SoftPowerOff] _ZN10CViewerApp13t_OnKeySourceEPK7PTEvent [0x1ed3930].
[SoftPowerOff] dlsym '_ZN21CTvApplicationManager13m_OnKeySourceEPK7PTEvent' failed.
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x1ed86a4].
VDLinux#>
I'm already running the following processes:
- oscam - working
- ChanInfoON - working
- STFU - working
- Samba - working
- Zoel PVR - dont' know because PVR not working with oscam
- PVRtoanyDev - dont' know because PVR not working with oscam
-

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

Posted: Sat Apr 25, 2015 6:47 pm
by zoelechat
I noticed another little typo, updated first post, if you want to try again (no need for log, just see and tell if it crashes).
Otherwise I have no idea what's going on. Would need another T-ECP tester to confirm or not :)

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

Posted: Sat Apr 25, 2015 6:55 pm
by miazza
zoelechat wrote:I noticed another little typo, updated first post, if you want to try again (no need for log, just see and tell if it crashes).
Otherwise I have no idea what's going on. Would need another T-ECP tester to confirm or not :)
Same issue ... crash again...
:?:

FW version 2003 if it can help.

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

Posted: Sat Apr 25, 2015 7:01 pm
by zoelechat
Ok, thanks. I'm going to find another ECP tester, and I will tell you if problem comes from your TV :)

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

Posted: Sat Apr 25, 2015 7:07 pm
by miazza
zoelechat wrote:Ok, thanks. I'm going to find another ECP tester, and I will tell you if problem comes from your TV :)
Ok. Thanks. Hopefully my tv is not different from others... :-)

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

Posted: Sat Apr 25, 2015 7:12 pm
by juusso
Doch. IIRC it is ;)

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

Posted: Sun May 03, 2015 1:46 pm
by miazza
With FW version 2006 the Patch works. Good job ;)

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

Posted: Sun May 03, 2015 4:00 pm
by zoelechat
Great, and good to know. Thanks for report :)