Page 1 of 1

Re: time synchronization in samygo

Posted: Mon May 02, 2011 8:56 am
by juusso
The problem is, that NTP synchronizes only system time (linux) and exeDSP time remains not affected. This is on B series, i think, still remains on C series too.
I can quote geo650, who helped me with ntpclient for B series:
Paste this to your autostart script (SamyGO.sh or whatever):

Code: Select all

    # example NTP server from Poland (change this if you want)
    SERVER="193.110.137.171"

    # we must wait for internet
    sleep 10
    # synchronize now
    /path/to/your/binary/ntpclient -s -h $SERVER -p 123

Re: time synchronization in samygo

Posted: Tue May 03, 2011 7:34 am
by juusso
wortex wrote:Well, the system time sync works ok through ntpclient and through rtime
I see only rdata on my BusyBox v1.17.2, but it works as well as ntpclient....
Need to do something with exeDSP time. Any idea or information ?
Nothing to be done. Just if you find some function in exeDSP code that makes time sync and if you find a way how to affect it to read unix time, might then you get success....
possibly syncing time before exeDSP will solve this, but we can't, cause for now we can't modify init scripts...
As i said, exeDSP does not read time values from system. At least on B series.