[App] libSoftPowerOff K

Here are software that related with Samsung K series TVs.
Please don't create any new topic here unless you have software to post/release.

setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [App] libSoftPowerOff K

Post by setti »

I dont know, if the following happens because of libSoftPowerOff, but sometimes my TV just wakes up (sometimes in the middle of the night) with volume muted. I cant say when this happens. I would say one time in 3 days, but its not predictable.

Any one else?

I have KS7000 on FW 1165.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libSoftPowerOff K

Post by zoelechat »

It's probably related to soft-off state, not to lib itself since there's no case where display is switched apart of audio. Most common TV-wake-up-during-night reason is software update enabled in regular menu. If done disabled I've no other idea...
I do NOT receive any PM. Please use forum.
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [App] libSoftPowerOff K

Post by setti »

:roll: Oooops, automatic updates were turned on (router blocked all requests of course).
I will see, if it helps to turn them off.

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

Re: [App] libSoftPowerOff K

Post by zoelechat »

I've still got some doubt that it's sometimes auto reenabled despite user choice... In such case you can use libSTFU, undocumented but will systematically disable updates on injection. If you're not interested in other timing features, just use without args.
I do NOT receive any PM. Please use forum.
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [App] libSoftPowerOff K

Post by setti »

Just disabling auto update wasnt enough. This early morning TV started again automagically. I will try libSTFU with default lib args next. Thanks zoelechat.
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [App] libSoftPowerOff K

Post by setti »

libSTFU does not help too. 2 mornings in a row at 7am tv starts.
Nobody else have this problem?
asiersan
SamyGO Project Donor
Posts: 157
Joined: Fri May 09, 2014 1:30 am

Re: [App] libSoftPowerOff K

Post by asiersan »

i have same problem,only happens few times, there are two situations located:

1 when is a power cut, when power return it power on.

2 when is an internet cut, them if tv is in standby (Softpoweroff) tv returns on.
Samsung 55HU7500L
Samsung 40F6500
Samsung 32K5570SU
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [App] libSoftPowerOff K

Post by setti »

I finally found out, what was causing my restarts!
Its Oscam, better dvbcam...

11_Oscam.init by zoelechat contains a watchdog for dvbcam. So, whenever dvbcam exits, for whatever reason, it will be restarted by

Code: Select all

        while [ "$(pidof $CAM)" ] ; do
                [ ! "$(pidof dvbcam)" ] && $OSCAM_DIR/dvbcam 2>>$LOG
                sleep 1
        done&
When TV is "soft powered off" and dvbcam is started via "$OSCAM_DIR/dvbcam" (I tried it manually), the TV powers on.

Is there something we can do, to not power on TV when starting dvbcam?
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libSoftPowerOff K

Post by zoelechat »

Well, it just means that dvbcam still crashes from time to time, that's why such "watchdog" was there to restart it. I'd have thought several versions since then would have made it rock stable :)
I guess it could be possible to check power state through dbus or so, and add it as a condition for restart or not. Let me find the right way...
I do NOT receive any PM. Please use forum.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libSoftPowerOff K

Post by zoelechat »

Ok so, just replace that line:

Code: Select all

[ ! "$(pidof dvbcam)" ] && $OSCAM_DIR/dvbcam 2>>$LOG
by that (long!) one:

Code: Select all

[ ! "$(pidof dvbcam)" ] && [ "$(echo $(dbus-send --system --dest=org.tizen.system.deviced --type=method_call --print-reply=literal /Org/Tizen/System/DeviceD/Display org.tizen.system.deviced.display.GetState))" == "lcdon" ] && $OSCAM_DIR/dvbcam 2>>$LOG
dvbcam should then restart (if it's crashed) only once lcd is on. Side-effect: forget any *reliable* recording schedule of scrambled channel when in soft off state :geek:
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[K] Software”