ucom — USB tty support
To compile this driver into the kernel, place the following line in your kernel configuration file:
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
The ucom driver attaches to USB modems, serial ports, and other devices that need to look like a tty. The ucom driver shows a behavior like a tty(4). This means that normal programs such as tip(1) or ppp(8) can be used to access the device.
Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0.
When set to 1, the ucom driver will mark terminals as console devices when operating in device mode. Default is 1.
Enables and configure PPS capture mode as described below.
Pulse Per Second (PPS) Timing Interface
The ucom driver can capture PPS timing information as defined in RFC 2783. The API, accessed via ioctl(2), is available on the tty device. To use the PPS capture feature with ntpd(8), symlink the tty device to /dev/pps0.
Capture disabled (default).
Capture pulses on the CTS line.
Capture pulses on the DCD line.
for callin ports
corresponding callin initial-state and lock-state devices
for callout ports
corresponding callout initial-state and lock-state devices
The ucom driver was adopted from NetBSD in March of 2002. This manual page was adopted from NetBSD by Tom Rhodes <trhodes [AT] FreeBSD.org> in April 2002.
Prior to FreeBSD 6.0 ucom created /dev/ucom? rather than the uniform device names created today. Old scripts must be adjusted accordingly.
BSD April 25, 2018 BSD