Monthly Archives: March 2016

Debugging why pps line discipline gets removed after 5 seconds

I got my udev rules all set up to use an NMEA GPS board which provides PPS with ntpd: SUBSYSTEM==”pps”, MODE=”0664″ GROUP=”dialout” KERNEL==”ttyS0″ SYMLINK+=”gps0″ KERNEL==”ttyS0″, RUN+=”/bin/setserial /dev/%k low_latency” KERNEL==”ttyS0″, RUN+=”/usr/sbin/ldattach pps /dev/%k” KERNEL==”pps0″ SYMLINK+=”gpspps0″ And it almost seems to work great: $ sudo udevadm trigger -y ttyS0 ; ls -l /dev/gps* lrwxrwxrwx 1 root root […]