ntpd w/ --enable-early-droproot

Achim Gratz Stromeko at nexgo.de
Sun Nov 27 10:20:39 UTC 2016


Hal Murray writes:
> There is another worm in this area.  The PPS stuff for serial ports in Linux 
> needs some magic like:
>   ldattach 18 /dev/ttyS6
> Does anybody have a udev recipe to set that up?

--8<---------------cut here---------------start------------->8---
KERNEL=="pps0" SYMLINK+="gpspps1" GROUP="ntp"
KERNEL=="ttyAMA0" RUN+="/bin/setserial /dev/%k low_latency" RUN+="/bin/stty -F /dev/%k 115200" SYMLINK+="navspark-%n" SYMLINK+="gps1" GROUP="ntp"
--8<---------------cut here---------------end--------------->8---

You'd add another RUN+="" command to the rule setting up the serial
device.  It doesn't matter if you write that as multiple lines or in a
single line as the example above.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada



More information about the devel mailing list