[LinuxPPS] PLL sensitivity
Udo van den Heuvel
udovdh at xs4all.nl
Wed Nov 19 16:36:43 CET 2008
Remco den Besten wrote:
> Sorry to have started this thread ;-)
>
> Being not a hard core programmer myself, I looked into the PPSkit-2.1.7
> 'sources/patch'
> from Ulrich.
>
> Wouldn't it be an idea to port parts of his PLL code to Linux 2.6 ?
Over there I only see this function for kcbind?
+/* specify kernel consumer */
+static __inline int time_pps_kcbind(pps_handle_t handle,
+ const int kernel_consumer,
+ const int edge, const int tsformat)
+{
+ int error;
+ struct pps_bind_args arg;
+
+ arg.tsformat = tsformat;
+ arg.edge = edge;
+ arg.consumer = kernel_consumer;
+ error = ioctl(handle, PPS_IOC_KC_BIND, &arg);
+ return(error);
+}
And of course the function in serial.c dat mentions KC_BIND.
Is that right?
Could we cook up a patch to LinuxPPS just for fun?
More information about the LinuxPPS
mailing list