[LinuxPPS] kernel does not see PPS on serial port

Rodolfo Giometti giometti at enneenne.com
Fri Mar 7 12:22:24 CET 2008


On Fri, Mar 07, 2008 at 12:08:55PM +0100, LICHTENBERGER Janos wrote:
> 
> >
> > Mmm... if I well understand your PPS antennea, which returns both GPS
> > data and PPS signal, is connected with /dev/ttyS0 and NTPD opens such
> > port for both features.
> >
> 
> Yes, indeed, this is the case
> 
> > Can ypu please post the NTPD messages when it tries to open the serial
> > port and the PPS source?
> >
> 
> >>>>>>>>>>>
> logging to file /var/log/ntp/ntp.log
> ntpd[4454]: ntpd 4.2.0a at 1.1199-r Sat May 13 14:08:35 CEST 2006 (1)
> ntpd[4454]: precision = 1.000 usec                                        
>             ntpd[4454]: Listening on interface wildcard, 0.0.0.0#123
> ntpd[4454]: Listening on interface wildcard, ::#123
> ntpd[4454]: Listening on interface lo, 127.0.0.1#123
> ntpd[4454]: Listening on interface eth0, 157.181.171.195#123
> ntpd[4454]: kernel time sync status 0040
> ntpd[4454]: refclock_jupiter: no available PPS source in the system

This is not good... I suspect that your NTPD driver for
refclock_jupiter doesn't see any PPS source in the system and doesn't
program the GPS antenna in order to generate PPS event.

I suggest to contact the driver's author or check the driver's code!

> ntpd[4454]: refclock_jupiter: time_pps_getcap failed: Socket operation on
> non-socket
> ntpd[4454]: ntpd exiting on signal 15
> >>>>>>>>>>

Here your NTPD stops working...

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