scheduled recording not working UE32D6500

Here for general support for D series TVs, request and problem solve area.
Post Reply

dankobum
SamyGO Project Donor
Posts: 7
Joined: Thu Jan 09, 2014 10:49 pm

scheduled recording not working UE32D6500

Post by dankobum »

I have a UE32D6500 and can record on an NFS share with WLAN.

But when a program to record a movie the TV does not record it.

It only does record it, when the TV is running a few minutes before the recording and a pop-up-windows occurs, where I confirm the recording. When I switch off the TV after that confirmation, it records.

But when this pop-up-windows did not occur the TV does not record.

Here is the pop-up-window (translated this means "scheduled recorder reminder"):
SpoilerShow
Image
And here is the complete screen::
SpoilerShow
Image
Does anyone know how to get the TV record also without occurring this pup-up-windows and confirming this pop-up-window?
dankobum
SamyGO Project Donor
Posts: 7
Joined: Thu Jan 09, 2014 10:49 pm

Re: scheduled recording not working UE32D6500

Post by dankobum »

I found the reason for the problem.

Let's say I program a recording for 15:15 . Then at about 15:12 the TV is reachable with ping, before it is not, because it is sleeping. But on wakeup with black display he does not start

/dtv/usb/sda1/SamyGO/rcSGO

which is needed for recording on nfs share with WLAN.

I have enabled starting SamyGO on startup, when switching the TV on, with Smart-HUB Ticker-Autostart. But for scheduled recording SamyGO is not executed.

How can I make the TV also starting SamyGO when waking up for a scheduled recording?
dankobum
SamyGO Project Donor
Posts: 7
Joined: Thu Jan 09, 2014 10:49 pm

Re: scheduled recording not working UE32D6500

Post by dankobum »

I could solve the problem and I have a working schedule of recording waking up from standby and recording on NFS shares with WLAN. In Germany it is now 4:30 in the morning, so only a short report, what I did:


- starting samygo at startup not with Smart-HUB Ticker-Autostart but with special /mtd_rwarea/start.sh file ( I do not understand why this is necessary, but with normal Smart-HUB Ticker-Autostart it does not work.)

- modifying rcSGO with this lines (the needed files I have stored on my usb stick, I took them with ftp from an older run):

Code: Select all

...

eval $S_SCRIPT

cp /dtv/usb/sda1/SamyGO/RR_files/reminder.dat /mtd_rwarea
cp /dtv/usb/sda1/SamyGO/RR_files/reminder.datb /mtd_rwarea
touch /mtd_rwarea/reminder.dat
touch /mtd_rwarea/reminder.datb

With this modifications I solved my problem. If anyone is interested I could explain in more detail tomorrow. Is anyone interested?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: scheduled recording not working UE32D6500

Post by juusso »

yes, sure, interested :-)
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
dankobum
SamyGO Project Donor
Posts: 7
Joined: Thu Jan 09, 2014 10:49 pm

starting samygo at startup not with Smart-HUB Ticker-Autosta

Post by dankobum »

*very dangerous stuff, easy brick on any typo*


Here is the report of the first part I have done: starting samygo at startup not with Smart-HUB Ticker-Autost

- I have the SamyGO scripts on my usb-stick on /dtv/usb/sda1/SamyGO and I do not have a working editor on the TV, I do not know why, so I always get and put files with ftp. Take care: a wrong start.sh may brick.

- disable SamyGO in Smart-HUB Ticker-Autostart

- start SamyGO

- enter the TV from Linux maschine with: nc 192.168.178.45 1023

- cd /mtd_exe

- cat rc.local

- from Linux maschine ftp on TV and get this rc.local

- on Linux maschine: head -11 rc.local
you should see this:

Code: Select all

#!/bin/sh

# FastLogo
#Run FastLogo 
source /mtd_exe/Fastlogo.sh

if [ -e /mtd_rwarea/start.sh ]; then
    echo "user start.sh found!"
    /mtd_rwarea/start.sh
else
- on Linux maschine: cp rc.local start.sh

- edit start.sh with:
delete:

Code: Select all

# FastLogo
#Run FastLogo 
source /mtd_exe/Fastlogo.sh

if [ -e /mtd_rwarea/start.sh ]; then
    echo "user start.sh found!"
    /mtd_rwarea/start.sh
else
add this at the end of the script before
./exeDSP and remove the fi at the end:

Code: Select all

#RR:
if [ -e /mtd_rwarea/samygo_autostart_after_sleep.sh ]; then
    /mtd_rwarea/samygo_autostart_after_sleep.sh &
fi
# end RR
- check, if it is OK :

diff rc.local start.sh

Code: Select all

3,10c3
< # FastLogo
< #Run FastLogo 
< source /mtd_exe/Fastlogo.sh
< 
< if [ -e /mtd_rwarea/start.sh ]; then
<     echo "user start.sh found!"
<     /mtd_rwarea/start.sh
< else
---
> 
55,56c48
< #LD_DEBUG=statistics LD_BIND_NOW=t /mtd_exe/exeDSP 
< ./exeDSP
---
> #LD_DEBUG=statistics LD_BIND_NOW=t /mtd_exe/exeDSP
57a50,52
> #RR:
> if [ -e /mtd_rwarea/samygo_autostart.sh ]; then
>     /mtd_rwarea/samygo_autostart.sh &
58a54,58
> # end RR
> 
> ./exeDSP
> 
> 

check again: tail -15 start.sh

Code: Select all

insmod samdrv.ko
#LD_DEBUG=statistics LD_BIND_NOW=t /mtd_exe/exeDSP

#RR:
if [ -e /mtd_rwarea/samygo_autostart.sh ]; then
    /mtd_rwarea/samygo_autostart.sh &
fi
# end RR

./exeDSP


- generate the file samygo_autostart.sh with this content (maybe start first with 5 min sleep and not with 1 min):

Code: Select all

#!/bin/sh

# 5 min this works, but is too long
# sleep 300

# 2 min this works, but try shorter
# sleep 120

# 1 min, let's try
sleep 60

if [ -e /dtv/usb/sda1/SamyGO/rcSGO ]; then
    /dtv/usb/sda1/SamyGO/rcSGO
fi


- with ftp put
start.sh to /mtd_rwarea
and
samygo_autostart.sh also to /mtd_rwarea

- from nc session still ongoing on TV check if
/mtd_rwarea/start.sh and /mtd_rwarea/samygo_autostart.sh are executable, if not, make them with
chmod 755 start.sh samygo_autostart.sh

- exit nc session

- switch TV off

- switch TV on

- verify, that samygo was autorun at startup of TV


Can anyone confirm this is working also on other D-models?


The main idea behind this is, to start

/mtd_rwarea/samygo_autostart.sh &

at boot with "&" behind. When the sleep is running in this script ./exeDSP has started normal mode of the TV and when the sleep is finished after 1 min samygo is started. Any comments on this?

Only with this autostart of samygo I could do the next step: solve the problem of not working scheduled recording on nfs-share with WLAN after wakeup from standby.
Last edited by dankobum on Mon Jan 13, 2014 11:49 am, edited 1 time in total.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: scheduled recording not working UE32D6500

Post by juusso »

Everything what you just did exists already. This is how hospitality mode hack works. :)

But thanks you explained. And mark this as *very dangerous stuff, easy brick on any typo"
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
dankobum
SamyGO Project Donor
Posts: 7
Joined: Thu Jan 09, 2014 10:49 pm

Re: scheduled recording not working UE32D6500

Post by dankobum »

Thank you for this information. I know that hospitality mode hack exists, but I did not know, how it works.

But the problem of

not working scheduled recording on nfs-share with WLAN after wakeup from standby

was not solved until now, or?
dankobum
SamyGO Project Donor
Posts: 7
Joined: Thu Jan 09, 2014 10:49 pm

works: scheduled recording on nfs-share with WLAN from stand

Post by dankobum »

I solved the problem of not working scheduled recording on nfs-share with WLAN after wakeup from standby. Here is what I did:



- first you have to enable starting samygo at startup not with Smart-HUB Ticker-Autostart but with start.sh as explained earlier here

- push "GUIDE" on the remote

- select a movie which starts in a few minutes for recording

- this pop-up should occur:
SpoilerShow
Image
- confirm pop-up with OK

- ftp to the TV and get
/mtd_rwarea/reminder.dat
and
/mtd_rwarea/reminder.datb

- check, if there is content in this files with cat, it is not important, what the content is, there only has to be content

- store this two files on the usb-stick with ftp e.g. at
/dtv/usb/sda1/SamyGO/RR_files/reminder.dat
and
/dtv/usb/sda1/SamyGO/RR_files/reminder.datb

- edit /dtv/usb/sda1/SamyGO/rcSGO and add this after eval $S_SCRIPT :

Code: Select all

cp /dtv/usb/sda1/SamyGO/RR_files/reminder.dat /mtd_rwarea
cp /dtv/usb/sda1/SamyGO/RR_files/reminder.datb /mtd_rwarea
touch /mtd_rwarea/reminder.dat
touch /mtd_rwarea/reminder.datb
- do not schedule a recording of a movie which starts in a few minutes, so that the pop-up occurs. If you do so, confirm the pop-up with OK.

- schedule a recording of a movie and turn the TV off

- 3 min before recording time the TV answers a ping

- check on your nfs directory if the movie is recorded correctly with ls -lrt

Any comments on this? Can anyone confirm this is also working with other D-models?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: scheduled recording not working UE32D6500

Post by juusso »

is the ntpclient script enabled? disable it. I noticed that running ntpclient does scheduled pvr recording impossible.
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

Post Reply

Return to “[D] Support”