[LinuxPPS] Any Updates on that issue [PATCHv3 12/16] ntp: add hardpps implementation
Alexander Gordeev
lasaine at lvk.cs.msu.su
Fri Oct 8 16:30:03 CEST 2010
Hi Udo,
Sorry, I'm very much overloaded currently...
В Fri, 08 Oct 2010 16:21:56 +0200
Udo van den Heuvel <udovdh at xs4all.nl> пишет:
> On 2010-10-08 14:48, Udo van den Heuvel wrote:
> > Error in the patch?
>
> Yes.
> I put printk's in ntp.c:
>
> static inline void pps_dec_valid(void)
> {
> if (pps_valid > 0)
> { pps_valid--; printk(KERN_NOTICE "Clock: valid: %d\n",
> pps_valid); }
> else {
> time_status &= ~(STA_PPSSIGNAL | STA_PPSJITTER |
> STA_PPSWANDER | STA_PPSERROR);
> pps_clear();
> printk(KERN_NOTICE "Clock: pps_valid is 0\n"); /*Udo */
> }
> }
>
>
> and also in hardpps() there.
>
> ppsvalid remains 0. hardpps() is not run.
> Isn't flag3 set to 1 enough?
Please check that /usr/include/linux/pps.h and /usr/include/timepps.h
both have all necessary stuff to enable kernel consumer.
--
Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20101008/109d48d5/attachment.pgp
More information about the LinuxPPS
mailing list