[LinuxPPS] NTP not using PPS
Rodolfo Giometti
giometti at enneenne.com
Wed Oct 24 19:35:34 CEST 2007
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
More information about the LinuxPPS
mailing list