[LinuxPPS] kernel does not see PPS on serial port

Rodolfo Giometti giometti at enneenne.com
Fri Mar 7 12:46:48 CET 2008


On Fri, Mar 07, 2008 at 12:39:24PM +0100, LICHTENBERGER Janos wrote:
> 
> > 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.
> >
> 
> PPS is on DCD physically, I have checked it by scope many times, it is
> enabled by the setting on the card and I think ntpd has nothing GPS card
> setup. As I know well, it fetches the data coming through serial line,
> nothing else.

I'm sure this is ok.

> But ntpd is exactly the same on both kernel, I patched and compiled it

*This* could be the problem! Please, check if the driver supports the
alternate PPS source.

> when I compiled 2.6.15.7 and later I replaced the ntp binary on 2.6.24
> (the old kernel runs on a FC5, while the new is on a FC6). And that common
> ntpd binary works well with any other setup with both kernels. Thus I
> thought, not ntpd is wrong, what it says is correct: it does not see PPS
> on DCD pin.
> 
> 
> 
> > I suggest to contact the driver's author or check the driver's code!
> >
> 
> That would be difficult, because Rockwell stopped producing his GPS chip,
> I heard the license was sold to a Chinese company. But when it was in
> production, there was no support for ntpd at all.

So you have to hack the driver by yourself! :P

> >> ntpd[4454]: refclock_jupiter: time_pps_getcap failed: Socket operation
> >> on
> >> non-socket
> >> ntpd[4454]: ntpd exiting on signal 15
> >> >>>>>>>>>>
> >
> 
> Yes, I know...

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