Having Trouble with ln40b650

Here for general support for B series TVs, request and problem solve area.

bdan629
Posts: 7
Joined: Sat Jun 01, 2013 7:59 pm

Re: Having Trouble with ln40b650

Post by bdan629 »

juuso wrote:Script is on wiki is ok. But your problem could be text editor you`re using to edit your scripts.

btw, you can debug script from console, just call it like

Code: Select all

sh -x /mtd_rwarea/SamyGO.sh
and give here the output...
alright I am just trying to run a simple script on startup. The script looks like this:

Code: Select all

#!/bin/sh
#SamyGo Extensions
/mtd_tlib/GGame/SamyGO/rcSGO &
exit
Basically I just want it to run SamyGO All extensions on startup. I have copied the SamyGO extensions folder to mtd_tlib\GGame\ as the path designates

debugging the script as you suggested with -sh -x /mtd_rwarea/SamyGO.sh yields this output. I know why it fails at the telnet bind because I already have telnet enabled. But the problem is when I restart the TV, telnet is not automatically enabled....I still have to run telnetenabler out of the content library......

Code: Select all

# sh -x /mtd_rwarea/SamyGO.sh
+ /mtd_tlib/GGame/SamyGO/rcSGO
+
: not found/SamyGO.sh: /mtd_rwarea/SamyGO.sh: 3:
+ exit
# mount: Mounting devpts on /dev/pts failed: Device or resource busy
telnetd: bind: Address already in use
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Having Trouble with ln40b650

Post by juusso »

and what says...

Code: Select all

sh -x /mtd_tlib/GGame/SamyGO/rcSGO
and your SamyGO.sh should look like:

Code: Select all

#!/bin/sh
#====================================================================
# Enable Telnetd
#====================================================================
if [ `cat /proc/mounts | grep -c "/dev/pts"` -lt "1" ] ; then
        echo "telnetd Enabled"
             mount -t devpts devpts /dev/pts
             telnetd
     else
        echo "/dev/pts is mounted"
fi

sleep 10
#SamyGo Extensions
if [ -f /mtd_tlib/GGame/SamyGO/rcSGO ]; then
sh +x /mtd_tlib/GGame/SamyGO/rcSGO /mtd_tlib/GGame/SamyGO > /dtv/rcSGO_out 2>&1 &
else
echo "no Extensions found"
fi
:)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
Pitou
Posts: 3
Joined: Wed Jan 08, 2014 7:06 pm

Re: Having Trouble with ln40b650

Post by Pitou »

Hello,

One of my friend owns the same TV as you.

We tried the method mentioned and we're stuck at the account creation. We changed the country for S. America, Chili... When TV reboots, we have to accept 2-3 terms/agreements and then we get an error message, "Database access error" or something similar, then we get "Connecting" or "Starting" but then nothing happens. When we change back to country to USA, it asks again for agreements and re-download all widgets and all is fine. We tried twice and no luck.

Any idea?

Thank you.

Pitou!

Post Reply

Return to “[B] Support”