gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] date issue gpsd / raspberry pi


From: Alexander Stielau
Subject: Re: [gpsd-users] date issue gpsd / raspberry pi
Date: Mon, 10 Jun 2013 23:23:00 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi, talking with myself...

Found a solution. 

The raspberrypi has no rtc.
If set the system date hard to this year (e.g. date -s "2013-06-10") and
the gpsd is started after that, it gets the right time.
I put it into the gpsd startscript.

Aeks

Am Mo, Jun 10, 2013 at 03:17:28 +0200 schrieb Alexander Stielau:
> I checked the same device on other arch (i386), no problem with the date.
> Found reports in the net with a similar problem on arm arch:
> http://v2.blogdoch.net/2013/04/24/wusel-000552/
> 
> Also 1993 was the year with the gps week rollover.
> 
> some ideas anyone?
> 
> 
> Am Mo, Jun 10, 2013 at 12:18:13 +0200 schrieb Alexander Stielau:
> > Hi,
> > 
> > i have a strange behaviour with a new build gpsd application on a
> > raspberry pi with sirfIII chipset (Navilock usb)
> > 
> > * Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l 
> > GNU/Linux
> > * gpsd, gpsd-clients 3.6-4 (from raspbian.org packages)
> > * gpsd config (/etc/defaults/gpsd
> >   START_DAEMON="true"
> >   GPSD_OPTIONS="-n"
> >   DEVICES="/dev/ttyUSB0"
> >   USBAUTO="true"
> >   GPSD_SOCKET="/var/run/gpsd.sock"
> > * loaded modules usbserial, pl2303
> > 
> > gpsd is working, and running on /dev/ttyUSB0; got a gps fix but the time is 
> > really wrong... I do not understand, why and how to debug that.
> > 
> > {"class":"TPV","tag":"MID2","device":"/dev/ttyUSB0","mode":3,"time":"1993-10-25T09:45:37.000Z","ept":0.005,"lat":5
> > 3.557053675,"lon":9.925919621,"alt":55.225,"epx":10.803,"epy":11.938,"epv":35.729,"track":17.7708,"speed":0.494,"c
> > limb":-0.814,"eps":23.88}
> > 
> > Todo is *not* the 25th of October in 1993 :-)
> > 
> > Yesterday i got a correct time for a short time, while i took the
> > receiver of an on again and it settled on a new tty (/dev/ttyUSB1), 
> > but i could not reproduce this and i am not sure about a connection
> > between this things.
> > 
> > What can i do to understand the problem?
> > Aleks
> > -- 
> > Remember! Everytime You say "Web 2.0" God kills a Startup!    
> > 
> > http://oerks.de/blog
> 
> -- 
> Remember! Everytime You say "Web 2.0" God kills a Startup!    
> 
> http://oerks.de/blog

-- 
Remember! Everytime You say "Web 2.0" God kills a Startup!    

http://oerks.de/blog



reply via email to

[Prev in Thread] Current Thread [Next in Thread]