[LinuxPPS] NTP not using PPS

susmi sarah george sarah_13 at rediffmail.com
Wed Oct 24 20:20:14 CEST 2007


I tried the foll.

ln -s /dev/ttyS3 /dev/gps3 

and in the ntp.conf as...

server 127.127.20.3 mode 1 prefer minpoll 4
fudge 127.127.20.3 flag3 1 flag2 0 time1 0.0

minicom is working on the serial port with the gps

...but log messages not showing anything about PPS




On Wed, 24 Oct 2007 Rodolfo Giometti wrote :
>On Wed, Oct 24, 2007 at 05:02:44PM -0000, susmi sarah george wrote:
> >
> >    hi,
> >
> >    Thanks for reply,
> >
> >    my serial port is      : ttyS3
> >    my LinuxPPS Source is  : pps3
> >    i have done in this way,
>
>Ok.
>
> >    ln -s /dev/ttyS3 /dev/gps0
>
>Not wrong, but you should do:
>
>    ln -s /dev/ttyS3 /dev/gps3
>
> >    ln -s /dev/pps3 /dev/pps0
>
>Wrong! Remove the link.
>
> >    my ntp.conf file :
> >
> >    # time synchronization with our time source, but do not
> >    # permit the source to query or modify the service on this system.
> >
> >    restrict default nomodify notrap noquery
> >
> >    restrict 127.0.0.1
> >
> >    #enable stats
> >    #statsdir /var/log
> >    #statistics loopstats
> >    logconfig = all
> >
> >    enable stats monitor pps
> >
> >    # --- OUR TIMESERVERS -----
> >
> >    #NMEA + PPS
> >    server 127.127.20.0 mode 1 prefer minpoll 4
> >    fudge 127.127.20.0 flag3 1 flag2 0 time1 0.0
>
>I'm not refclock guru (maybe Udo can help you) but I suppose you
>should use:
>
>    server 127.127.20.3 mode 1 prefer minpoll 4
>    fudge 127.127.20.3 flag3 1 flag2 0 time1 0.0
>
>so NMEA refclock should try to open /dev/gps3 and /dev/pps3...
>
>Ciao,
>
>Rodolfo
>
>--
>
>GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
>Linux Device Driver                             giometti at gnudd.com
>Embedded Systems                     		giometti at linux.it
>UNIX programming                     phone:     +39 349 2432127


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20071024/ed474121/attachment.htm


More information about the LinuxPPS mailing list