How does your new stuff handle multiple instances of a refclock type? For a test case, I suggest a USB driver in addition to a HAT. Try both NMEA/PPS as well as both SHM and various combinations.
The JSON driver uses the high bit of the unit to enable/disable the PPS. The NMEA and HP drivers use the mode/ttl slot to select the baud rate. There are probably others that do something similar. As long as you are changing things, you might as well clean up how the baud rate gets passed in. It needs that before it opens the /dev/tty. The old fudge stuff is too late. (Or was at one point.) -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel