On 09/30/2015 11:16 AM, David Gravereaux wrote: > Hi, > > I started going through the docs and got a bit confused regarding > [ldattach] for creating a PPS source. > > http://www.manualpages.de/OpenBSD/OpenBSD-5.0/man8/ldattach.8.html
^-- Oops, old man page not current to the 3.19.x kernel I'm using. $ sudo ldattach -d -s 9600 -n -8 -1 pps /dev/ttyUSB0 ldattach:opened /dev/ttyUSB0 ldattach:set to raw 9600 8n1: cflag=0xcbd ldattach:line discipline set to 18 Ok, got that and it created a PPS device. $ ls /dev/pps* /dev/pps0 But I think the PPS driver is looking at Carrier Detect to flash rather than the data that it doesn't understand anyways? $ sudo ppswatch /dev/pps0 trying PPS source "/dev/pps0" found PPS source "/dev/pps0" time_pps_fetch() error -1 (Connection timed out) time_pps_fetch() error -1 (Connection timed out) time_pps_fetch() error -1 (Connection timed out) time_pps_fetch() error -1 (Connection timed out) time_pps_fetch() error -1 (Connection timed out) time_pps_fetch() error -1 (Connection timed out) time_pps_fetch() error -1 (Connection timed out) ^C Total number of PPS signals: 0 Maximum divergence: 0 $ -- [email protected]:~$ make war make: *** No rule to make target `war'. Stop.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
