Help needed: can't make extension to autostart

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

User avatar
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Help needed: can't make extension to autostart

Post by arris69 » Tue May 31, 2011 9:26 pm

vipsaran wrote:Buhahahahahahahahaha, I can't believe it -- IT WORKS!!11!eleven :D


All I needed, apparently, was to spend 10 hours fiddling with scripts and to write a forum post so I can get an "inspiration" just after I have submitted the post :x
,,,
btw. if you call

Code: Select all

/mtd_tlib/GGame/SamyGO/rcSGO &
you don't need any custom script look into SamyGO/etc/init.d/
and read here: http://wiki.samygo.tv/index.php?title=S ... sions_Pack

arris

User avatar
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Help needed: can't make extension to autostart --> solved :)

Post by arris69 » Wed Jun 01, 2011 9:27 pm

vipsaran wrote:Another problem:
Having multiple loaders added to "libraries" variable (as described), no library is actually loaded :(

/mtd_tlib/GGame/SamyGO/etc/init.d/90_90_loadGameMains.init:

Code: Select all

libraries="/mtd_tlib/GGame/Remote/loader.so /mtd_tlib/GGame/ChannelInfo/loader.so /mtd_tlib/GGame/PVRplus/loader.so"
It works just fine if only (any) one of loader libraries is set. E.g.:

Code: Select all

libraries="/mtd_tlib/GGame/Remote/loader.so"
I've tried semicolon, semicolon and comma instead of space, but then no library was loaded...

Please help.
you edited the file with notepad++?

arris

User avatar
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Help needed: can't make extension to autostart

Post by arris69 » Wed Jun 01, 2011 9:37 pm

vipsaran wrote:...
I have read that already.
The only points touching the topic of adding other extensions to autostart are these:
90_90_injectso.init.dis
loads other samygo stuff http://forum.samygo.tv/viewtopic.php?f=5&t=594&start=0 read the whole thread!

90_90_loadGameMains.init.dis
loads other samygo stuff http://forum.samygo.tv/viewtopic.php?f=5&t=594&start=0 read the whole thread!
And that link has no mention about 90_90_loadGameMains or 90_90_injectso.
in this threads is the discusion how the stuff works, for usage and configuration is a description in the script(s) (with samples)
Thanks for the hint, tho.
The 90_90_loadGameMains.init looks just like the gdbtrick.sh.
I'll enable it (by removing the .dis extension) and configure it, but I believe it won't work without the SGO.env modification that I've done.
Will let you know...
better you don't mess around with SGO.env (it's dynamic generated). better update the scripts from svn

Edit: works via 90_90_loadGameMains.init (of course). Even without modification of rcSGO (to add "export MALLOC_CHECK_=0").

Suggestion: update the wiki link to point to relevant information (e.g. extracted from relevant .init comments)...
the correct wiki page is http://wiki.samygo.tv/index.php?title=S ... sions_Pack

hth
arris

User avatar
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Help needed: can't make extension to autostart --> solved :)

Post by arris69 » Thu Jun 02, 2011 8:55 am

vipsaran wrote: The 90_90_loadGameMains.init I only edited (on TV via telnet) with vi.
pls. try to start it from ssh session with command:

Code: Select all

sh -x <pathtosamygodir>/SamyGO/etc/init.d/90_90_loadGameMains.init  start
and post output

thnx
arris

Post Reply

Return to “[B] Support”