[Soekris] FreeBSD 7.3, net4501, ntpd gpsd?

2010-10-01 Thread Goran Sandin
Hi,

I have problem with the NMEA output from my GPS. The time stamp changes from 
around 1 to 2 seconds delay which means that the PPS signal is not used. Very 
few hits on Google suggest that this is normal. However the ones I do find 
suggest that NMEA can't be used just because what I see, that sometimes a time 
stamp is missing.

I now want to try to use the binary mode of the GPS (a Rockwell Jupiter TU30-
D140-221).


I have these two lines in /etc/ntp.conf (plus many more):

server 127.127.31.0 prefer
fudge 127.127.31.0 time1 0.4

When I start ntpd I get these two comments in /var/log/messages:
refclock_newpeer: clock type 31 invalid
configuration of 127.127.31.0 failed

I can't figure out why? Is it some option I should have used when I compiled 
the ntpd?


# gpsd -l
n   Generic NMEA
Delorme EarthMate (pre-2003, Zodiac chipset)
Furuno Electric GH-79L4
c   MTK-3301
AIVDM
n   b   oncore binary
n   b   SiRF binary
n   b   SuperStarII binary
b   Zodiac binary
Garmin Simple Text

The Zodiac binary in the list made me think that gpsd should work, but it 
doesn't either.

There isn't any output if I try 'cgps'.

If I connect the GPS output to a terminal window, I do get garbage printed. 
If I check the output with a hex-editor, it looks like I do get Message 
header, word 1 and 2 as per the specification of the GPS so I think that the 
output from the GPS reach my soekris in the right way.

Anyone having any suggestions?

Thanks,
Göran
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD 7.3, net4501, ntpd gpsd?

2010-10-01 Thread Jan Ceuleers
On 01/10/10 20:49, Goran Sandin wrote:
 I have problem with the NMEA output from my GPS.

Goran,

I suggest you ask your question on news:comp.protocols.time.ntp

Jan
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech