[time-nuts] Z3805A as source for NTPd?

David Gravereaux davygrvy at pobox.com
Wed Sep 30 21:04:20 UTC 2015


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
$

-- 
davygrvy at pobox.com:~$ make war
make: *** No rule to make target `war'.  Stop.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://febo.com/pipermail/time-nuts_lists.febo.com/attachments/20150930/f43fab19/attachment.sig>


More information about the Time-nuts_lists.febo.com mailing list