[App] libSoftPowerOff D/E/F/H

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

User avatar
momchetoi
SamyGO Project Donor
Posts: 92
Joined: Thu Apr 23, 2015 7:36 pm
Location: in front of the TV

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

Post by momchetoi »

zoelechat wrote:Please check if that version makes any difference, and give lib log after some soft off/on

Code: Select all

[SoftPowerOff] SamyGO D/E/F/H libSoftPowerOff v0.2.3 - (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] _ZN9CMenuUtil14FlagPVRRunningEv [0x4c07e00].
[SoftPowerOff] system [0x1574030].
[SoftPowerOff] lib_init, >>>
[SoftPowerOff] Hooking Soft Power-Off everywhere!
[SoftPowerOff] Avoiding CMD's if PVR is running!
[SoftPowerOff] Setting soft-ON command: /mnt/opt/privateer/usr/bin/cmd_on.sh
[SoftPowerOff] Setting soft-OFF command: /mnt/opt/privateer/usr/bin/cmd_off.sh
[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...
[SoftPowerOff] Launching CMD_OFF: /mnt/opt/privateer/usr/bin/cmd_off.sh
[SoftPowerOff] -> Returns: 32512
[SoftPowerOff] Launching CMD_ON: /mnt/opt/privateer/usr/bin/cmd_on.sh
[SoftPowerOff] -> Returns: 32512
[SoftPowerOff] Launching CMD_OFF: /mnt/opt/privateer/usr/bin/cmd_off.sh
[SoftPowerOff] -> Returns: 32512
[SoftPowerOff] Launching CMD_ON: /mnt/opt/privateer/usr/bin/cmd_on.sh
[SoftPowerOff] -> Returns: 32512
[SoftPowerOff] Launching CMD_OFF: /mnt/opt/privateer/usr/bin/cmd_off.sh
[SoftPowerOff] -> Returns: 32512
Oscam wasn`t killed.

P.S. I have also tried the method of TheTroll and got the same result. Oscam refuses to be killed after reboot. But one can kill the process just by executing the cmd_off.sh manually.
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

Please attach (not paste) your cmd_on/cmd_off
I do NOT receive any PM. Please use forum.
User avatar
momchetoi
SamyGO Project Donor
Posts: 92
Joined: Thu Apr 23, 2015 7:36 pm
Location: in front of the TV

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

Post by momchetoi »

Here,please! :)
You do not have the required permissions to view the files attached to this post.
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

Well your return code indicate:

Code: Select all

"command not found"	illegal_command	Possible problem with $PATH or a typo
I do NOT receive any PM. Please use forum.
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

LOL! :D

ALWAYS use Notepad++ to edit scripts and set linefeeds to UNIX format (LF) :twisted:
Otherwise scripts will ALWAYS fail.

Directly returned:
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.
User avatar
momchetoi
SamyGO Project Donor
Posts: 92
Joined: Thu Apr 23, 2015 7:36 pm
Location: in front of the TV

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

Post by momchetoi »

LOL I can`t believe it. Now it works! :)
Which lib should I use now. The last one or this from the first post.
I`m using Notepad ++ for years, but I didn`t know that about UNIX format (LF) for the linefeeds. How/where to set it in Notepad ++
Here one las log: :)

Code: Select all

[SoftPowerOff] SamyGO D/E/F/H libSoftPowerOff v0.2.3 - (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] _ZN9CMenuUtil14FlagPVRRunningEv [0x4c07e00].
[SoftPowerOff] system [0x1574030].
[SoftPowerOff] lib_init, >>>
[SoftPowerOff] Hooking Soft Power-Off everywhere!
[SoftPowerOff] Avoiding CMD's if PVR is running!
[SoftPowerOff] Setting soft-ON command: /mnt/opt/privateer/usr/bin/cmd_on.sh
[SoftPowerOff] Setting soft-OFF command: /mnt/opt/privateer/usr/bin/cmd_off.sh
[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...
[SoftPowerOff] Launching CMD_OFF: /mnt/opt/privateer/usr/bin/cmd_off.sh
[SoftPowerOff] -> Returns: 0
[SoftPowerOff] Launching CMD_ON: /mnt/opt/privateer/usr/bin/cmd_on.sh
[SoftPowerOff] -> Returns: 0
[SoftPowerOff] Launching CMD_OFF: /mnt/opt/privateer/usr/bin/cmd_off.sh
[SoftPowerOff] -> Returns: 0
[SoftPowerOff] Launching CMD_ON: /mnt/opt/privateer/usr/bin/cmd_on.sh
[SoftPowerOff] -> Returns: 0
Thank you, again!Great job!
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

momchetoi wrote:Which lib should I use now. The last one or this from the first post.
Doesn't matter, they're the same, just logged return value to check what YOU did wrong ;)
momchetoi wrote:I`m using Notepad ++ for years, but I didn`t know that about UNIX format (LF) for the linefeeds. How/where to set it in Notepad ++
If you edit some existing script, it will keep current linefeed type, but there you started from scratch and default is Windows format (CR+LF). To be found somewhere in edit menu (otherwise using Google) :)
momchetoi wrote:Here one las log: :)
Perfect log :ugeek:

Btw, I wouldn't say that advice is missing on forum: search.php?keywords=notepad
I do NOT receive any PM. Please use forum.
User avatar
momchetoi
SamyGO Project Donor
Posts: 92
Joined: Thu Apr 23, 2015 7:36 pm
Location: in front of the TV

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

Post by momchetoi »

;) Noted!
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

Live and learn ;)
I do NOT receive any PM. Please use forum.
smart_lover
SamyGO Project Donor
Posts: 161
Joined: Sun May 03, 2015 6:11 am

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

Post by smart_lover »

How can I find if TV is in SoftPowerOff mode or not (with Telnet) remotely?

Post Reply

Return to “[F] Software”