<div dir='auto'><div><div>On Dec 5, 2024 11:18, Folkert van Heusden via users <users@ntpsec.org> wrote:</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hello,
<br>

<br>
Trying to add multiple PPS sources in ntpsec:
<br>

<br>
refclock PPS /dev/pps0 refid GPS
<br>
refclock PPS /dev/pps1 refid PPS
<br>
refclock PPS /dev/pps2 refid PPS
<br>
pool time.intranet.vanheusden.com prefer iburst
<br>
server ntp.vsl.nl prefer
<br>
pool ntp.time.nl
<br>

<br>
To my surprise, two are ignored (not sure which!):</p></blockquote></div></div></div><div dir="auto">:::snip:::</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Is that expected behaviour?
<br>

<br>
This is with ntpsec 1.2.2+dfsg1-1+deb12u1 on a raspberry pi 4B.<br></p></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
</p>
</blockquote></div>I think it is undefined behavior, given that they are all competing for the unit 0 slot.</div><div class="gmail_extra" dir="auto"><br>Please use something closer to the following lines.</div><div class="gmail_extra" dir="auto"><br>refclock pps unit 0 ppspath /dev/pps0 refclock GPS<br>refclock pps unit 1 ppspath /dev/pps1 refclock PPS1<br>refclock pps unit 2 ppspath /dev/pps2 refclock PPS2<div dir="auto"><br>Determining which device was selected could be done using the peers and rv commands of ntpq.</div></div></div></div>