> Hi, > using gpsfs i get the correct position > from an NMEA gps device (Haicom 204); but > aux/timesync -G > resets the clock to 19:xx 31 December 1969. > The valid nanoseconds value in > /n/gps/time > is a 10-digit number. Converted to > seconds it's about 20 seconds after the > start of the epoch. > All other time values are zero. > Anyone had the same problem? > > Best regards, > > Matthias
Why not cat /n/gps/time This prints three numbers, the time in seconds since the epoch, the GPS time in nanoseconds since the epoch and the local time in nanoseconds since the epoch (the local time at which the GPS time was received). The difference between the 2nd and 3rd number measures how far your local clock is off. Without running timesync, try to see if the numbers make sense. Sape