P Nelson wrote: 
> Is any one else having the problem with the clock losing time on the
> Touch when running TinyLMS?  After about a week, the clock will be about
> five minutes slow.  I have to connect the mysqbox.com to reset the time
> and then reconnect to TinyLMS to fix the time.
> 
> It is like TinyLMS is not checking a world clock website.
> 
> Anyone have a solution, besides running LMS on another computer?  
> 
> Thank you.
> 
> Paul

There are several threads about this subject here. The gist is that LMS
is designed to keep time from the computer it is running on. With
TinyLMS that is linux running on the touch. Linux  keeps time using a
software clock running on the processor, it is not very acccurate. This
clock gets updated when the touch connects to another LMS server. It
could be mysqueezebox.com or another LMS on your LAN. 

There is a "Real Time Clock" (RTC) in the touch hardware which is way
more accurate, but by default the software clock ignores it. It's not
too hard to add the linux commands that sync the software clock to the 
RTC every so often (say once an hour), but the Touch does not have any
way to automatically do this, you have to login and  setup  some
scripts. There is a caveat, the  RTC is NOT battery backed up, so every
time it boots it goes back to January 1 1970. 

Another option is to add an NTP client to the Touch which will go out
over  the internet every so often and grab the time. IF your touch is
routinely connected  to the internet this is probably  the  best
solution. There is a thread here about how to do this. 

http://forums.slimdevices.com/showthread.php?87588-NTP-on-the-Touch

Read the whole thread. The very last post mentons that there is already
an NTP client in the latest Touch firmware, but it is not turned on by
default. You will need to follow the instructions for editing the rcS
file to automatically start the NTP client at boot time. 

One very important fact not mentioned in this thread, after editing the
rcS  file type:

sync

This flushes the memory buffer to the flash, if you don't do this the
changes you made will be lost when you pull the plug on the Touch. 

Once you have NTP running you should not have any problems with losing
time.

John S.


------------------------------------------------------------------------
JohnSwenson's Profile: http://forums.slimdevices.com/member.php?userid=5974
View this thread: http://forums.slimdevices.com/showthread.php?t=98974

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to