summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ucom.4
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-05-24 01:09:51 +0000
committerian <ian@FreeBSD.org>2015-05-24 01:09:51 +0000
commit245fcec60ef813e639f1269e9a123b061778972a (patch)
tree558aebc2ea42b6f1257b5955c640b26a49e74257 /share/man/man4/ucom.4
parentb92e1caf1c5b2306f5e063f527bd371698b7d10f (diff)
downloadFreeBSD-src-245fcec60ef813e639f1269e9a123b061778972a.zip
FreeBSD-src-245fcec60ef813e639f1269e9a123b061778972a.tar.gz
MFC r280221:
Update ucom(4) with information about the new PPS capture abilities.
Diffstat (limited to 'share/man/man4/ucom.4')
-rw-r--r--share/man/man4/ucom.431
1 files changed, 27 insertions, 4 deletions
diff --git a/share/man/man4/ucom.4 b/share/man/man4/ucom.4
index 8898872..224359c 100644
--- a/share/man/man4/ucom.4
+++ b/share/man/man4/ucom.4
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 1, 2008
+.Dd March 11, 2015
.Dt UCOM 4
.Os
.Sh NAME
@@ -63,11 +63,34 @@ This means that normal programs such as
or
.Xr ppp 8
can be used to access the device.
+.Sh Pulse Per Second (PPS) Timing Interface
+The
+.Nm
+driver can capture PPS timing information as defined in RFC 2783.
+The API, accessed via
+.Xr ioctl 8 ,
+is available on the tty device.
+To use the PPS capture feature with
+.Xr ntpd 8 ,
+symlink the tty device to
+.Va /dev/pps0.
.Pp
The
-.Va portno
-locater can be used to decide which port to use for devices that have
-multiple external ports.
+.Va hw.usb.ucom.pps_mode
+sysctl configures the PPS capture mode.
+It can be set in
+.Xr loader.conf 5
+or
+.Xr sysctl.conf 5 .
+The following capture modes are available:
+.Bl -tag -compact -offset "mmmm" -width "mmmm"
+.It 0
+Capture disabled (default).
+.It 1
+Capture pulses on the CTS line.
+.It 2
+Capture pulses on the DCD line.
+.El
.Sh FILES
.Bl -tag -width ".Pa /dev/cuaU?"
.It Pa /dev/cuaU?
OpenPOWER on IntegriCloud