[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.

zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

You should try kill -9 for oscam, dunno why but sometimes soft kill is enough or forced kill might be needed (seems to depend on oscam version). Retry then on 3023 and 3123 (don't remember the right one on Skype root :) )
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 »

Code: Select all

/mnt # killall -9 oscam
killall: oscam: no process killed
/mnt # kill -9 oscam
ash: invalid number 'oscam'
/mnt #
/mnt # kill -9 oscam-*
ash: invalid number 'oscam-*'
/mnt # killall -9 oscam-*
killall: oscam-*: no process killed
/mnt #

:( no success

And what about the problem with CMD_libAirToSat
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: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

Code: Select all

kill -9 $(/mnt/bin/pgrep oscam-)
:)

About libAirToSat, you retried both 3023 and 3123?
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 »

OK, that command killed oscam. CMD_ON works, expected.
About libAirToSat I tried both 3023 and 3123 - no success
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: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

What if you inject it directly from Telnet?

Code: Select all

samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libAirToSat.so CABLE
does it work?
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 »

YES, it does, but the script doesn`t
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
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 »

Could you post also the full text for cmd_off.sh with this command

Code: Select all

kill -9 $(/mnt/bin/pgrep oscam-)
as this one doesn`t work for me

Code: Select all

#!/bin/sh
   echo "kill -9 $(/mnt/bin/pgrep oscam-)"
Here the result when executing it

Code: Select all

/mnt # /mnt/opt/privateer/usr/bin/cmd_off.sh
kill -9 3310
But oscam is not killed
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: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

Let's first focus on libAirTosat, in CMD script replace:

Code: Select all

echo "$SAMYGOSODIR/samyGOso -A -B -l $SODIR/libAirToSat.so CABLE" | /dtv/bin/nc localhost 3023
by

Code: Select all

(echo "$SAMYGOSODIR/samyGOso -A -B -l $SODIR/libAirToSat.so CABLE" ; sleep 2) | /mnt/bin/telnet localhost 23
and check if it works
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 »

changed and yes, it does :)
libAirToSat is ok now :) cmd_off.sh is now the problem
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: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat »

Ok, now let's do the same for oscam scripts

CMD_OFF:

Code: Select all

#!/bin/sh
   (echo "kill -9 $(/mnt/bin/pgrep oscam-)" ; sleep 2) | /mnt/bin/telnet localhost 23
CMD_ON:

Code: Select all

#!/bin/sh
   (echo "/mnt/opt/privateer/usr/bin/oscam/oscam-* -c /mnt/opt/privateer/usr/bin/oscam -w 0 -b" ; sleep 2) | /mnt/bin/telnet localhost 23
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”