1.\" $NetBSD: ucom.4,v 1.26 2016/09/29 11:38:43 wiz Exp $ 2.\" 3.\" Copyright (c) 1999 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Lennart Augustsson. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" POSSIBILITY OF SUCH DAMAGE. 29.\" 30.Dd September 29, 2016 31.Dt UCOM 4 32.Os 33.Sh NAME 34.Nm ucom 35.Nd USB tty support 36.Sh SYNOPSIS 37.Cd "ucom* at u3g?" 38.Cd "ucom* at uark?" 39.Cd "ucom* at ubsa?" 40.Cd "ucom* at uchcom?" 41.Cd "ucom* at uftdi?" 42.Cd "ucom* at ugensa?" 43.Cd "ucom* at uhmodem?" 44.Cd "ucom* at uipaq?" 45.Cd "ucom* at ukyopon?" 46.Cd "ucom* at umcs? portno ?" 47.Cd "ucom* at umct?" 48.Cd "ucom* at umodem?" 49.Cd "ucom* at uplcom?" 50.Cd "ucom* at uslsa?" 51.Cd "ucom* at uvisor? portno ?" 52.Cd "ucom* at uvscom?" 53.Sh DESCRIPTION 54The 55.Nm 56driver attaches to USB modems, serial ports, and other devices that need 57to look like a tty. 58The 59.Nm 60driver shows a behaviour like a 61.Xr tty 4 . 62This means that normal programs such as 63.Xr tip 1 64or 65.Xr pppd 8 66can be used to access the device. 67.Pp 68The 69.Va portno 70locator can be used to decide which port to use for device that have 71multiple external ports. 72.Pp 73Note that while 74.Nm 75supports the (undocumented) pulse-per-second API normally used on 76conventional serial ports, USB serial devices typically have a varying 77latency around 1 ms due to the USB frame structure. 78.Pp 79The ttyXX devices are traditional dial-in devices; the dtyXX devices 80are used for dial-out. 81(See 82.Xr tty 4 . ) 83.Sh FILES 84.Bl -tag -width Pa 85.It Pa /dev/dtyU? 86.It Pa /dev/ttyU? 87.El 88.Sh SEE ALSO 89.Xr tty 4 , 90.Xr u3g 4 , 91.Xr ubsa 4 , 92.Xr uchcom 4 , 93.Xr uftdi 4 , 94.Xr ugensa 4 , 95.Xr uhmodem 4 , 96.Xr uipaq 4 , 97.Xr ukyopon 4 , 98.Xr umct 4 , 99.Xr umodem 4 , 100.Xr uplcom 4 , 101.Xr usb 4 , 102.Xr uslsa 4 , 103.Xr uvisor 4 , 104.Xr uvscom 4 105.Sh HISTORY 106The 107.Nm 108driver 109appeared in 110.Nx 1.5 . 111