I will be generous and trust your skillssmart_lover wrote: 3600 is millisecond or second?!


I will be generous and trust your skillssmart_lover wrote: 3600 is millisecond or second?!
Okeey! I already knew the answer, but I thought with myself 1 hour!?! why!?sectroyer wrote:I will be generous and trust your skillssmart_lover wrote: 3600 is millisecond or second?!I think you can test it yourself
Humor?smart_lover wrote:Okeey! I already knew the answer, but I thought with myself 1 hour!?! why!?
Try lower values until you find the "magic" one, should be much less than 90sec imhosmart_lover wrote:By the way I use 'sleep 90' and all things seems to be ok now and my Widget no longer exit unexpectedly.
Yeah!zoelechat wrote: Humor?![]()
I need reliability(because there is no operator in front of TV and all operations will take place remotely), So I think a sleep between 70 to 90 seconds is enough. Actually I don't want to power off TV for long time and want to use libSofpoweroff instead!zoelechat wrote:Try lower values until you find the "magic" one, should be much less than 90sec imho
smart_lover wrote:Code: Select all
samyGOrc -p $(pidof exeTV || pidof exeDSP) 1 152
Yes! It was for the time that I planned to not to use 'micom reboot'. But with your help I used 'sync' and everything backed to normal!zoelechat wrote:I already noticed you use SoftPowerOffsmart_lover wrote:Code: Select all
samyGOrc -p $(pidof exeTV || pidof exeDSP) 1 152
Code: Select all
samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libRunWidget.so ID:MyWidgetId
Code: Select all
samyGOrc -p $(pidof exeTV || pidof exeDSP) 45
Code: Select all
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
usage: samyGOso [-p PID | -n procname | -A | -T | -D ] [-B ] {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]
Well that simply means TV is already crashed, you have to find if either it's samyGOso, samyGOrc, some lib, or your widget that crashes itsmart_lover wrote:Code: Select all
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015 usage: samyGOso [-p PID | -n procname | -A | -T | -D ] [-B ] {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]
Code: Select all
pidof exeTV
pidof exeAPP
Looks like normal behavior of crashed TVsmart_lover wrote:Note 2: When I hit power button (I use libSoftPowerOff) TV will not power off and after some try,TV power it off actually(As there is no libSofPowerOff) and after that I lost my root(when I power on TV).Why?!!
Yes, both of them return no PID!zoelechat wrote: At this point you might check:One or both should show no PID, which means TV "suicided" process(es) to "protect the innocent".Code: Select all
pidof exeTV pidof exeAPP
![]()
Yes I use.zoelechat wrote: Btw, are you using recommended version of samyGOrc (v1.0), not sure that's the one included by default, being known to crash some TVs (for example mine) when you send an odd number of keys.
Why I lost my root and have to run SamyGo widget to root my TV again after this kind of crash!? Is there a way to prevent root access after some kind of TV crashes?zoelechat wrote: Looks like normal behavior of crashed TV![]()
Where I can continue this conversation?zoelechat wrote: ps: beware of offtopic...
Try then to repeat them at different times to get closer and find WHAT crashes TV.smart_lover wrote:Yes, both of them return no PID!
You're allowed to create a topic in support section for examplesmart_lover wrote:Where I can continue this conversation?