Niptok / tdt-amiko

Automatically exported from code.google.com/p/tdt-amiko
1 stars 0 forks source link

Time wrong on VFD - not resetting to match time on-screen #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Once the box is booted, the display resets to 00:00 and counts upwards.  
With the HDMU Image, if correctly resets itself to us the time from the Skin / 
Channel on-screen
2.
3.

What is the expected output? What do you see instead?
I need the on-screen time to be replicated onto the VFD

What version of the product are you using? On what operating system?
Amiko Alien2 (7162 based) running the latest 31-03-2013 image

Please provide any additional information below.
All of the HDMU images reset the VFD the second the on-screen time is learned 
from the on-screen displayed channel

Original issue reported on code.google.com by cormac.c...@gmail.com on 5 Apr 2013 at 9:15

GoogleCodeExporter commented 8 years ago
Может по русски ?

Original comment by alexeytech on 5 Apr 2013 at 4:04

GoogleCodeExporter commented 8 years ago
Sorry, close case.  When I returned home, the clock was correct

К сожалению, близкий случай.  Когда я 
вернулся домой, на часах было правильное

Original comment by cormac.c...@gmail.com on 5 Apr 2013 at 7:50

GoogleCodeExporter commented 8 years ago
Is time on vfd wrong only at boot ? does it update when some channel starts?

Original comment by alexeytech on 6 Apr 2013 at 1:44

GoogleCodeExporter commented 8 years ago
Yes, time wrong at boot but this is the same for all images.  It looks like it 
took a long time to get the time but now it works after just a few seconds.

I have rebooted many times now and everything still working great.

Sorry again for the scare :)

Regards
C

Original comment by cormac.c...@gmail.com on 7 Apr 2013 at 10:10

GoogleCodeExporter commented 8 years ago
Can I close this ?

Original comment by alexeytech on 8 Apr 2013 at 4:22

GoogleCodeExporter commented 8 years ago
Close

Original comment by cormac.c...@gmail.com on 8 Apr 2013 at 3:44

GoogleCodeExporter commented 8 years ago
Ok

Original comment by alexeytech on 10 Apr 2013 at 4:41

GoogleCodeExporter commented 8 years ago
Actually, there IS a problem with this.  More and more times, I notice the 
clock has obviously reset back to Zero and is counting since the last reset or 
reboot.  Local time is now 23:30 but the VFD says 05:20 so it's been on for 
over 5 hours and still not updated it's time to the correct time.

Cormac

Original comment by cormac.c...@gmail.com on 1 May 2013 at 10:35

GoogleCodeExporter commented 8 years ago
Are you using latest image ?

http://code.google.com/p/tdt-amiko/downloads/list

Original comment by alexeytech on 2 May 2013 at 7:29

GoogleCodeExporter commented 8 years ago
Yes, I use that one.  How is it supposed to get the time ?  The PLi-HD skin 
gets the time immediately when the box starts.  When I awake this morning, the 
time was finally correct.

However, I have a new solution which maybe you could implement to next Image ??

Add to crontab -e

0 * * * * /usr/sbin/ntpd -d -p europe.pool.ntp.org -q

Original comment by cormac.c...@gmail.com on 2 May 2013 at 6:47

GoogleCodeExporter commented 8 years ago
OK, still struggling.  My son reset the box at about 15:30.  The box display 
says 05:27 but I did the following

spark7162:~# date
Thu May  2 21:01:58 IST 2013

So the box has the correct time details - the problem is just with the VFD

Original comment by cormac.c...@gmail.com on 2 May 2013 at 8:06

GoogleCodeExporter commented 8 years ago
Sucess finally ........ BUT ........

To make the clock on the VFD to change, I needed to put the box into Standby.  
The second I did this, the time changed to the correct current time.

Original comment by cormac.c...@gmail.com on 2 May 2013 at 9:03

GoogleCodeExporter commented 8 years ago
I checked the file vdstandby.cfg in /etc/ and I see

DISPLAY=TRUE
#Custom output, only available if in standby
#without using parameter -a and -d
DISPLAYCUSTOM=    %H:%M:%S

So we need to trigger the same thing after the box startup

Original comment by cormac.c...@gmail.com on 3 May 2013 at 8:06

GoogleCodeExporter commented 8 years ago
Ok I think we need to improve vfd plugin.
opened again.

Original comment by alexeytech on 3 May 2013 at 9:27

GoogleCodeExporter commented 8 years ago
Maybe it just needs to send the TIME to the VFD at more times - or maybe add a 
script to crontab to execute after boot and then maybe every hour ?

Original comment by cormac.c...@gmail.com on 3 May 2013 at 4:42

GoogleCodeExporter commented 8 years ago
while time of the display is updated after restart and stanby

Original comment by schpunti...@gmail.com on 9 Nov 2013 at 7:21