$NetBSD: ucom.4,v 1.9 2002/03/22 00:39:40 augustss Exp $ Copyright (c) 1999 The NetBSD Foundation, Inc. All rights reserved. This code is derived from software contributed to The NetBSD Foundation by Lennart Augustsson. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. ...
NAMEucom - USB tty support
SYNOPSISTo 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.conf5:
DESCRIPTIONThe sysctl Cm net.inet.tcp.syncookies driver attaches to USB modems, serial ports, and other devices that need to look like a tty. The sysctl Cm net.inet.tcp.syncookies 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.
Pulse Per Second (PPS) Timing InterfaceThe sysctl Cm net.inet.tcp.syncookies 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.
The hw.usb.ucom.pps_mode sysctl configures the PPS capture mode. It can be set in loader.conf5 or sysctl.conf5. The following capture modes are available:
- Capture disabled (default).
- Capture pulses on the CTS line.
- Capture pulses on the DCD line.