[Voyage-linux] Time/Date Issues
Robert Rawlins - Think Blue
(spam-protected)
Wed May 9 19:10:36 HKT 2007
Thank you guys for your suggestion.
I'm looking at a Mini-PCI GPS solution at the moment to see if things will work out for me that way, It's something I've been thinking about for unit positioning anyway so could be a nice benefit.
The unit might go for a few weeks without an internet connection but if it were to draft by a minute or two that wouldn’t be the absolute end of the world. I'd love it if I can just connect an inline battery for the CMOS chip to keep it alive. I've spoken to my PCB manufacturer this morning in the hope that they'll be able to come up with something to sit on the board and keep the clock alive.
Mike, do you have any more details on the battery connection that is available, I'm sure that's going to be the simplest solution for the moment to save me writing something that'll work with GPS.
Thanks again chaps,
Rob
-----Original Message-----
From: Kim-man 'Punky' TSE [mailto:punkytse at punknix.com]
Sent: 09 May 2007 11:43
To: Robert Rawlins - Think Blue
Cc: 'Mike O'Connor'; voyage-linux at voyage.hk
Subject: Re: [Voyage-linux] Time/Date Issues
Hi Robert,
I used ntp time sync in my server (this server that powers this mailing
list) that points to a GPS ntp time sync source (stratum 1). So I know
that GPS can be used for the time sync.
I think a small GPS device with serial (rs232) or USB line should do the
job. But you will need some hacking:
Just got this one from google, very interesting: http://time.qnan.org/
I never had GPS experience, but I know someone (and met him last week)
in the list that is very experience in electronic/radio communications.
Punky
Robert Rawlins - Think Blue wrote:
> Thanks Punky,
>
> The problem is that we're likely to have some units that never connect to the net, they'll spend most of their lives offline, so I need it to keep the date or time. I've just spoken to my WRAP supplier and he seems to think that there IS some kind internal clock on the wrap boards but he didn’t really know much about it.
>
> If there is another solution out there, like some form of GPS mini-pci card then I could probably work with that, I don’t mind the added expense, I'm just keen to get a working solution.
>
> Thanks again for your suggestions guys, have you worked with the GPS stuff before at all Punky?
>
> Thanks chaps,
>
> Rob
>
> -----Original Message-----
> From: Kim-man 'Punky' TSE [mailto:punkytse at punknix.com]
> Sent: 09 May 2007 11:20
> To: Robert Rawlins - Think Blue
> Cc: 'Mike O'Connor'; voyage-linux at voyage.hk
> Subject: Re: [Voyage-linux] Time/Date Issues
>
> Hi Robert,
>
> Set up ntpdate in cron job and run it every 10 min. Eventually, if
> internet connection comes up, it should be able to sync. With wrap
> board, it is hardly to sync the clock without the net.
>
> May be another way is to use GPS time sync?
>
> Punky
>
> Robert Rawlins - Think Blue wrote:
>
>> Bugger :-D
>>
>> I'm using a WRAP2.E so I'm guessing that's not going to happen. What a nightmare this is going to turn into hehe.
>>
>> Thanks Mike,
>>
>> Rob
>>
>> -----Original Message-----
>> From: Mike O'Connor [mailto:mike at pineview.net]
>> Sent: 09 May 2007 10:55
>> To: Robert Rawlins - Think Blue
>> Cc: voyage-linux at voyage.hk
>> Subject: Re: [Voyage-linux] Time/Date Issues
>>
>> Hi Robert
>>
>> You will need to get a board which has a battery for the clock.
>>
>> Mike
>>
>> Robert Rawlins - Think Blue wrote:
>>
>>
>>> Hello Guys,
>>>
>>>
>>>
>>> I’ve used ‘date –s’ command to set a date and time on my voyage
>>> system, but when the box boots up without an internet connection it
>>> goes back to 31/12/1999. This is an embedded system that will quite
>>> often boot without a net connection, so i really need to get this
>>> sorted, does anyone know the best way to set the date/time and have it
>>> keep it regardless of being connected to the net or not?
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> Rob
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>
>>>
>>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>
>
>
--
Regards,
Punky
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.3.1 is released!
Store - New Senao NMP-8601 and NMP-8602 (100mW) in stock!
- New low price for Senao NMP-8602 Plus (400mW)!
More information about the Voyage-linux
mailing list