[LinuxPPS] ntpd
Rodolfo Giometti
giometti at linux.it
Thu Aug 3 17:42:18 CEST 2006
On Thu, Aug 03, 2006 at 05:33:16PM +0200, Folkert van Heusden wrote:
>
> Aug 3 17:31:17 keetweej kernel: [43017402.680000] drivers/pps/pps.c: New message from PID 23930 (flags 0)
> Aug 3 17:31:17 keetweej kernel: [43017402.680000] drivers/pps/pps.c: PPS_FETCH: source 7
> Aug 3 17:31:18 keetweej kernel: [43017403.680000] drivers/pps/pps.c: New message from PID 23930 (flags 0)
> Aug 3 17:31:18 keetweej kernel: [43017403.680000] drivers/pps/pps.c: PPS_FETCH: source 7
> Aug 3 17:31:19 keetweej kernel: [43017404.680000] drivers/pps/pps.c: New message from PID 23930 (flags 0)
> Aug 3 17:31:19 keetweej kernel: [43017404.680000] drivers/pps/pps.c: PPS_FETCH: source 7
> Aug 3 17:31:20 keetweej kernel: [43017405.680000] drivers/pps/pps.c: New message from PID 23930 (flags 0)
> Aug 3 17:31:20 keetweej kernel: [43017405.680000] drivers/pps/pps.c: PPS_FETCH: source 7
>
> keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/07/*
> 1154612886.4319000 #16733
> 1154612885.204319000 #16729
> keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/07/*
> 1154612886.4319000 #16733
> 1154612885.204319000 #16729
> keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/07/*
> 1154612886.4319000 #16733
> 1154612885.204319000 #16729
> keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/07/*
> 1154612886.4319000 #16733
> 1154612885.204319000 #16729
> keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/07/*
> 1154612886.4319000 #16733
> 1154612885.204319000 #16729
> keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/07/*
> 1154612886.4319000 #16733
> 1154612885.204319000 #16729
Each time you read "/proc/pps/07/*" you get the same output? No
changes? If so this means that your GPS antenna is stopped PPS pulse
generation.
> /proc/pps/X/*
> where X < 7 are all 0 and stay 0
> so I changed ntpd to:
> time_pps_findsource(7, path, 40, id, 40);
Good choice! Verify that PPS source #7 is connect with the right
serial port.
> IMPORTANT:
> if I have time_pps_findsource(1, path, 40, id, 40);, /proc/pps/01/assert and clear STAY 0!!
I don't understand what do you mean. Why you should use PPS source #1
when your device is connected with #7?
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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060803/cf02d227/attachment.pgp
More information about the LinuxPPS
mailing list