[LinuxPPS] ntpd
Folkert van Heusden
folkert at vanheusden.com
Thu Aug 3 11:14:43 CEST 2006
> > > keetweej:/usr/src/linuxpps-current# test/ppstest 1
> > > found PPS source #1 "pps_8250_1" on "/dev/ttyS1"
> > > nothing!
> > When the NTPD starts what does it say about _which_ PPS source it
> > uses? I refere to this line of code:
> > msyslog(LOG_INFO, "refclock: found PPS source #%d \"%s\" on \"%s\"", fd, path, id);
> It doesn't say anything like that altough I did integrate Udo's patch.
> Udo: do you see logging like that when you start ntpd?
Oh hold on: there's a bug in the patch. After some hacking I do get
output:
Aug 3 11:11:36 keetweej ntpd[15870]: refclock: found PPS source #0 "/dev/ttyS0" on "pps_8250_0"
Aug 3 11:11:36 keetweej ntpd[15870]: refclock_nmea: time_pps_kcbind failed: Operation not supported
BUT: the output is INCORRECT. My GPS is connected to /dev/ttyS1(!).
also the test/ppstest 1 doesn't emit anything at all (apart of the
banners of course).
Folkert van Heusden
--
www.vanheusden.com/recoverdm/ - got an unreadable cd with scratches?
recoverdm might help you recovering data
--------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
More information about the LinuxPPS
mailing list