> > I verified that in the shared memory segment, the 'valid' flag gets > > set by the time-source and reset by chrony. I also added a printf in > > shm_poll just before the last return statement of that function, and > > that printf gets triggered. So chrony *does* poll and processed. I also > > added printfs to RCL_AddSample and none of the return 0's are run. > > Can you compile chrony with the --enable-debug option, run chronyd > with -d -d and see what debug messages you get for the refclock?
Aaah! I did not now you could increase the debugging with that! And now I know what it is what is going wrong: a few days ago I did a "this can only improve things" improvement to my gpio -> shm thing, which actually broke it :-) (f.w.i.w.: what I used returned CLOCK_MONOTIC (kernel timestamp, seconds since bootup) instead of something useable). So many thanks. regards -- To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-users-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.