[LinuxPPS] 2.6.22.1 x86_64 + ntp-4.2.4p3 + gpsclock

Rodolfo Giometti giometti at enneenne.com
Sat Aug 4 14:11:02 CEST 2007


On Fri, Aug 03, 2007 at 10:35:35AM -0700, Nikos Mouat wrote:
>
> Hi,
>   I'm trying to get LinuxPPS working under:
>
> Linux rapture 2.6.22.1nikm #2 SMP Thu Aug 2 15:57:09 PDT 2007 x86_64 x86_64 
> x86_64 GNU/Linux
>
> and ntpd version ntp-4.2.4p3.
>
> I believe that the LinuxPPS part is working correctly:
>
>
> [nikm at rapture ntp-4.2.4p3]# dmesg | grep -i pps
> pps_core: LinuxPPS API ver. 2 registered
> pps_core: Software ver. 4.0.0-rc4 - Copyright 2005-2007 Rodolfo Giometti 
> <giometti at linux.it>
> serial_core: PPS source #0 "/dev/ttyS1" added to the system
> [nikm at rapture ntp-4.2.4p3]# /usr/src/linux/Documentation/pps/ppstest
> found PPS source #0 "serial1" on "/dev/ttyS1"
> ok, found 1 source(s), now start fetching data...
> source 0 - assert 1186160423.988829939, sequence: 579 - clear  
> 1186161732.483758486, sequence: 581
> source 0 - assert 1186161732.983746594, sequence: 580 - clear  
> 1186161732.483758486, sequence: 581
> source 0 - assert 1186161732.983746594, sequence: 580 - clear  
> 1186161733.483746714, sequence: 582
> source 0 - assert 1186161733.983744040, sequence: 581 - clear  
> 1186161733.483746714, sequence: 582
> source 0 - assert 1186161733.983744040, sequence: 581 - clear  
> 1186161734.483747233, sequence: 583
> ^C
> [nikm at rapture ntp-4.2.4p3]#

Yes, this shows you that yout PPS source is functional.

> however I'm not having much luck getting ntpd to 'see' the PPS signal. 
> Here's the log from ntpd:
>
> ntpd[31018]: refclock_nmea: time_pps_create failed: Connection refused

That sounds strange... did you compile NTPD using the header file
Documentation/pps/timepps.h?

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