[App] SamyGO ChannelInfo for D(arm)/E/F series!

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] SamyGO ChannelInfo for D(arm)/E/F series!

Post by zoelechat »

stony2k wrote:I can start the script in putty with /mnt/etc/init.d/99_99_ChannInfoON.init start so the file must be correct or?
Tthis way you should see which error prevent your script to start :)
Even better try

Code: Select all

sh -x /mnt/etc/init.d/99_99_ChannInfoON.init start
to trace it
I do NOT receive any PM. Please use forum.
stony2k
SamyGO Project Donor
Posts: 6
Joined: Sat Mar 07, 2015 6:04 pm

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by stony2k »

zoelechat wrote:
stony2k wrote:I can start the script in putty with /mnt/etc/init.d/99_99_ChannInfoON.init start so the file must be correct or?
Of course, this way you might see which error prevent your script to start :)
But there is no error then..
root@tv:/mnt # /mnt/etc/init.d/99_99_ChannInfoON.init start
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/so/libChannelInfo.so' resident: '0'
Succeeded.
root@tv:/mnt #
So why doesn't the automatic startup work?

If it helps here is sh -x /mnt/etc/init.d/99_99_ChannInfoON.init start output
SpoilerShow
root@tv:/mnt # sh -x /mnt/etc/init.d/99_99_ChannInfoON.init start
+ . /dtv/SGO.env
+ SYSROOT=/mnt
+ MOUNT_PATH=MountPlaceholder
+ export MOD_DIR=/mnt/lib/modules/2.6.35.13
+ export TMPDIR=/dtv
+ export HOME=/mtd_wiselink
+ export SMB_CONF_PATH=/mnt/etc/samba/smb.conf
+ LOGFILE=/mnt/samygo.log
+ LD_LIBRARY_PATH=/mnt/opt/privateer/lib:/mnt/opt/privateer/usr/lib:/mnt/lib:/mnt/usr/lib:/mnt/lib:/mtd_cmmlib/Runtime/XorgLibs:/mtd_cmmlib/Runtime/lib/CairoShadow:/mtd_cmmlib/Runtime/lib:/mtd_exe/WebServerApp/bin:/mtd_cmmlib/CBRE:/dtv:/mtd_cmmlib/GAME_LIB:/dtv:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/mtd_appdata/Java/lib:/mtd_exe:/mtd_cmmlib/Comp_LIB:/mtd_cmmlib/Comp_LIB/XT9_LIB:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_cmmlib/InfoLink/lib:/mtd_cmmlib/OIPF:/lib:/mtd_cmmlib/CM_LIB:/mtd_appext/OIPF/lib:/mtd_exe/OIPF/lib:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/mtd_appdata/yahoo:/mtd_cmmlib/moip:/mtd_appext/WidgetEngine:/mtd_rocommon/Webkit:/mtd_cmmlib/stagecraft20/libs/
+ PATH=/mnt/opt/privateer/sbin:/mnt/opt/privateer/bin:/mnt/opt/privateer/usr/bin:/mnt/opt/privateer/usr/sbin:/mnt/sbin:/mnt/bin:/mnt/usr/bin:/mnt/usr/sbin:/mnt/bin:/sbin:/usr/sbin:/bin:/usr/bin
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ export DISTROOT=/mnt/opt/privateer
+ libPATH=/mnt/opt/privateer/usr/so
+ pidof exeDSP
+ samyGOso -p 67 -l /mnt/opt/privateer/usr/so/libChannelInfo.so
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/so/libChannelInfo.so' resident: '0'
Succeeded.
+ sleep 1
root@tv:/mnt #
ChannelInfo works after manuel but not auto start..
TV: UE46Es6340
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by zoelechat »

mmmh eveything seems fine, it should work :)
I do NOT receive any PM. Please use forum.
stony2k
SamyGO Project Donor
Posts: 6
Joined: Sat Mar 07, 2015 6:04 pm

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by stony2k »

But it doesn't. CHMOD is 0755. I have another script 99_99_RecFromSat.init and it starts correcly. There must ne something that prevents ChannelInfo from starting. Is there a init.d log or something?
TV: UE46Es6340
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by zoelechat »

Yes, you can check http://YOUR_TV_IP:1080/cgi-bin/test.cgi but not sure it will be of any help.
I do NOT receive any PM. Please use forum.
stony2k
SamyGO Project Donor
Posts: 6
Joined: Sat Mar 07, 2015 6:04 pm

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by stony2k »

says only
/mnt/etc/init.d/99_99_ChannInfoON.init start stop

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

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by zoelechat »

What if your try to start script from there (by clicking on start)?

You can also check if you have any lib log after startup (and before any manual try)

Code: Select all

cat /dtv/cinfo.log
I do NOT receive any PM. Please use forum.
stony2k
SamyGO Project Donor
Posts: 6
Joined: Sat Mar 07, 2015 6:04 pm

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by stony2k »

cat /dtv/cinfo.log doen't work:

Code: Select all

root@tv:/mnt # cat /dtv/cinfo.log
cat: can't open '/dtv/cinfo.log': No such file or directory
Strange it worked one time. No startup seems to be broken for 99_99_ChannInfoON.init and 99_99_RecFromSat.init. What could it be that the 2 scripts (dont't know if more startup script won't load) are affected?

Edit:
Git some information from web menu. The files are existing with 0755 (I can open and edit them). Why does SamyGO doesn't find them? Oo

Code: Select all

/mnt/etc/init.d/99_99_ChannInfoON.init start stop
Status:
/dtv/cgi-bin/test.cgi: line 20: /mnt/etc/init.d/99_99_ChannInfoON.init: not found

/mnt/etc/init.d/99_99_RecFromSat.init start stop
Status:
/dtv/cgi-bin/test.cgi: line 20: /mnt/etc/init.d/99_99_RecFromSat.init: not found
Edit 2:
Seems Winscp makes the files for SamyGo unreadable if edited with the build in texteditor. Edited 99_99_ChannInfoON.init with absoulute paths with Notepad++ and UNIX line markes. Then I shut down my TV and unpluged it from the power source, waited some minutes and restarted it again. Now, finally i seems to work :) Thanks for you help!

edited 99_99_ChannInfoON.init:
SpoilerShow
#!/bin/sh
#
# ? Copyright 1996-2013, SamyGO
#
#
. /dtv/SGO.env

#libPATH=/mnt/opt/privateer/usr/so

case $1 in
start)
samyGOso -p `pidof exeDSP` -l /mnt/opt/privateer/usr/so/libChannelInfo.so
sleep 1
#Code for exeDSP crash protection
#while [ "$( ps -A | grep -c 'exeDSP')" -gt 0 ] ; do
# sleep 60
#done
#mv $0 $0.dis
;;
status)
;;
*)
echo "Usage: $0 {start|stop|status}" 1>&2
exit 0
;;
esac
TV: UE46Es6340
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by zoelechat »

stony2k wrote:Seems Winscp makes the files for SamyGo unreadable if edited with the build in texteditor. Edited 99_99_ChannInfoON.init with absoulute paths with Notepad++ and UNIX line markes.
Told you ;) . Btw, $SYSROOT exists on your TV, you just just need to source /dtv/SGO.env as it's done in every script. So no need for absolute paths, provided scripts are always meant to work "as is"...
Anyway glad it works now :)
I do NOT receive any PM. Please use forum.
orlinm
SamyGO Project Donor
Posts: 36
Joined: Mon Feb 03, 2014 7:41 am

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Post by orlinm »

Not work to me.
I put it in /mdt_down/so
and when I manually started with ./samyGOso -p $(pidof exeTV || pidof exeDSP) -l /mtd_down/so/libChannelInfo.so
i receive in /dtw/cinfo log

Code: Select all

SamyGO ChannelInfo patch D/E/F v0.3.1 - (c) bugficks 2013
Searching for 4 cmp instructions.
Sym not found: _ZN14CViewerManager17ShowChannelBannerEbi
I tried it on UE40F7000 with oscam started if it does matter
UE40C6000
UE40F7000

Post Reply

Return to “[F] Software”