Re: Use gps for clock correction

2008-08-17 Thread Peter Nijs
That works, thanks!

Op Friday 15 August 2008 13:59:17 schreef vale:
 gpssight can do that:

 opkg install
 http://projects.openmoko.org/frs/download.php/227/gpssight_0.8.4_freerunner
.armv4t.ipk




signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-17 Thread Peter Nijs
I've put this solution in the wiki.

http://wiki.openmoko.org/wiki/Setting_Date_and_Time#Setting_the_date.2Ftime_automatically_with_gps

Peter

Op Friday 15 August 2008 13:59:17 schreef vale:
 gpssight can do that:

 opkg install
 http://projects.openmoko.org/frs/download.php/227/gpssight_0.8.4_freerunner
.armv4t.ipk




signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-15 Thread vale

gpssight can do that:

opkg install
http://projects.openmoko.org/frs/download.php/227/gpssight_0.8.4_freerunner.armv4t.ipk
-- 
View this message in context: 
http://n2.nabble.com/Use-gps-for-clock-correction-tp724037p726075.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-15 Thread Harald Koenig
On Aug 14, Russell Sears wrote:

  GPS would be perfect for updating time, cause the time sent is more 
  exact then the times, you can get by any other way. What about ntpd, can 
  it handle gps-data?
 
 http://time.qnan.org/

ntp has full gps/nmea support, even with PPS:

http://www.eecis.udel.edu/~mills/ntp/html/drivers/driver20.html
http://www.eecis.udel.edu/~mills/ntp/html/refclock.html

 Does the FR have access to the PPS signal from the GPS chip?  That might 

if not, please add that feature request for GTA03++ !

is there a chance to solder a wire from ublox to some free digital input line
which can trigger an interrupt (serial handshake line or similar) for gta02 ?
having PPS would be really nice...

 I wonder how hard it would be to add GSM time broadcast support to NTP...

I've been told that time quality of GSM is (or at least has been?) _very_ bad,
(errors from seconds to minutes, at least on germany) ?!?  
not exactly what you'd expect as time source for ntp then ;-)


Harald
-- 
I hope to die  ___   _
before I *have* to use Microsoft Word.,   0--,|/OOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \ O|//
   \/\/\/\/\/\/\/\/\/
Harald Koenig   //  / \\  \
[EMAIL PROTECTED] ^   ^

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Use gps for clock correction

2008-08-14 Thread Peter Nijs
Is there a way to use the clock of the gps to correct the hardware clock of 
the neo? A button sync hw clock in agpsui would be nice. Maybe later it 
could be a daemon (like ntpd) that does this as soon as the gps chip knows 
the gps time.

Peter


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-14 Thread Daniel Willmann
On Thu, 14 Aug 2008 14:58:21 +0200
Peter Nijs [EMAIL PROTECTED] wrote:

 Is there a way to use the clock of the gps to correct the hardware
 clock of the neo? A button sync hw clock in agpsui would be nice.
 Maybe later it could be a daemon (like ntpd) that does this as soon
 as the gps chip knows the gps time.

Yeah, it's a nice idea. It is actually on my todo list for fso milestone
3.

Regards,
Daniel Willmann


signature.asc
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-14 Thread Matt


Daniel Willmann wrote:
 On Thu, 14 Aug 2008 14:58:21 +0200
 Peter Nijs [EMAIL PROTECTED] wrote:

   
 Is there a way to use the clock of the gps to correct the hardware
 clock of the neo? A button sync hw clock in agpsui would be nice.
 Maybe later it could be a daemon (like ntpd) that does this as soon
 as the gps chip knows the gps time.
 

 Yeah, it's a nice idea. It is actually on my todo list for fso milestone
 3.

 Regards,
 Daniel Willmann
   

Isn't time available via GSM broadcasts?

~ Matt

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-14 Thread Stefan Schmidt
Hello.

On Thu, 2008-08-14 at 23:48, Matt wrote:
 
 Isn't time available via GSM broadcasts?

Sometimes. There is a standard for it, but not all operators have it enabled for
it. AFAIK no german provider has it for example.

If anyone have a provider which has this feature enabled and like to develop a
patch just let us know.

regards
Stefan Schmidt


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-14 Thread Federico Lorenzi
The GPS can be used for both time and time zone...

On 8/14/08, Stefan Schmidt [EMAIL PROTECTED] wrote:
 Hello.

 On Thu, 2008-08-14 at 23:48, Matt wrote:

 Isn't time available via GSM broadcasts?

 Sometimes. There is a standard for it, but not all operators have it enabled
 for
 it. AFAIK no german provider has it for example.

 If anyone have a provider which has this feature enabled and like to develop
 a
 patch just let us know.

 regards
 Stefan Schmidt


-- 
Sent from Gmail for mobile | mobile.google.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-14 Thread Bastian Muck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
GPS would be perfect for updating time, cause the time sent is more 
exact then the times, you can get by any other way. What about ntpd, can 
it handle gps-data?

Stefan Schmidt schrieb:
| Hello.
|
| On Thu, 2008-08-14 at 23:48, Matt wrote:
| Isn't time available via GSM broadcasts?
|
| Sometimes. There is a standard for it, but not all operators have it 
enabled for
| it. AFAIK no german provider has it for example.
|
| If anyone have a provider which has this feature enabled and like to 
develop a
| patch just let us know.
|
| regards
| Stefan Schmidt
|
| -
|
| ___
| Openmoko community mailing list
| community@lists.openmoko.org
| http://lists.openmoko.org/mailman/listinfo/community

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIpGaalYiDScJJ+7QRAgABAJ9jko8GgpSnzfOTB1QC+YpvMM93RQCgqqlz
vwBgaWoy3jGHUYWp2nf/2UA=
=kwjj
-END PGP SIGNATURE-


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-14 Thread Stefan Schmidt
Hello.

On Thu, 2008-08-14 at 18:31, Federico Lorenzi wrote:
 The GPS can be used for both time and time zone...

[Snip full quoted text]

That is also a planned. :)

Daniel has this still on his todo list, but is busy with PDU handling. As far as
I know some community developer volunteered to work on it. Always nice to see
this.

We will include it in the next milestone when it is ready in time.

regards
Stefan Schmidt


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Use gps for clock correction

2008-08-14 Thread Russell Sears
Bastian Muck wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
  
 GPS would be perfect for updating time, cause the time sent is more 
 exact then the times, you can get by any other way. What about ntpd, can 
 it handle gps-data?
 

Yes, with some work:

http://time.qnan.org/

Does the FR have access to the PPS signal from the GPS chip?  That might 
get it down to tens of microseconds of clock jitter.  :)  It looks like 
gpsd should work as well.  Plus, ntp can fall back on NTP over 
GPRS/wifi/usb if it's been a while since the last GPS connection.  It 
can also set the hardware clock skew so it drifts fewer minutes per day 
when there's no network or sky.

I wonder how hard it would be to add GSM time broadcast support to NTP...

-Rusty

 Stefan Schmidt schrieb:
 | Hello.
 |
 | On Thu, 2008-08-14 at 23:48, Matt wrote:
 | Isn't time available via GSM broadcasts?
 |
 | Sometimes. There is a standard for it, but not all operators have it 
 enabled for
 | it. AFAIK no german provider has it for example.
 |
 | If anyone have a provider which has this feature enabled and like to 
 develop a
 | patch just let us know.
 |
 | regards
 | Stefan Schmidt
 |
 | -
 |
 | ___
 | Openmoko community mailing list
 | community@lists.openmoko.org
 | http://lists.openmoko.org/mailman/listinfo/community
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
  
 iD8DBQFIpGaalYiDScJJ+7QRAgABAJ9jko8GgpSnzfOTB1QC+YpvMM93RQCgqqlz
 vwBgaWoy3jGHUYWp2nf/2UA=
 =kwjj
 -END PGP SIGNATURE-
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community