I purchased an inexpensive USB GPS receiver to test with time keeping on
my OpenBSD 6.5 box. It's a "u-blox" supported by the nmea driver. 

Following the man pages for ldattach it says: 

"Specifies the name of the serial line. device should be a string of the
form "cuaXX" or "/dev/cuaXX". 

cua(4) [1] devices should be used when ldattach is started from the
command line; when started using init(8) [2], tty(4) [3] devices should
be used." 

However, if I use ttyU0 as the device in /etc/ttys I never get the
hw.sensors.nmea0 tree created. If I manually start ldattach with cuaU0
or put cuaU0 in /etc/ttys everything behaves as expected. 

Is this a documentation issue, hardware issue, something else? I have
confirmed the same behavior on 2 servers (one current and one 6.5). 

Even with this hiccup the process has been incredibly easy and smooth.
I'm constantly impressed with the work put into the OS and associated
tools. 

Thanks 

Scott 

Links:
------
[1] https://man.openbsd.org/cua.4
[2] https://man.openbsd.org/init.8
[3] https://man.openbsd.org/tty.4

Reply via email to