1c742af04SHans Petter Selasky.\" 2c742af04SHans Petter Selasky.\" Copyright (c) 2014 Hans Petter Selasky 3c742af04SHans Petter Selasky.\" All rights reserved. 4c742af04SHans Petter Selasky.\" 5c742af04SHans Petter Selasky.\" Redistribution and use in source and binary forms, with or without 6c742af04SHans Petter Selasky.\" modification, are permitted provided that the following conditions 7c742af04SHans Petter Selasky.\" are met: 8c742af04SHans Petter Selasky.\" 1. Redistributions of source code must retain the above copyright 9c742af04SHans Petter Selasky.\" notice, this list of conditions and the following disclaimer. 10c742af04SHans Petter Selasky.\" 2. Redistributions in binary form must reproduce the above copyright 11c742af04SHans Petter Selasky.\" notice, this list of conditions and the following disclaimer in the 12c742af04SHans Petter Selasky.\" documentation and/or other materials provided with the distribution. 13c742af04SHans Petter Selasky.\" 14f1261466SEd Maste.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15f1261466SEd Maste.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16f1261466SEd Maste.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17f1261466SEd Maste.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18f1261466SEd Maste.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19f1261466SEd Maste.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20f1261466SEd Maste.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21f1261466SEd Maste.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22f1261466SEd Maste.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23f1261466SEd Maste.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24f1261466SEd Maste.\" SUCH DAMAGE. 25c742af04SHans Petter Selasky.\" 26c742af04SHans Petter Selasky.\" $FreeBSD$ 27c742af04SHans Petter Selasky.\" 28*4f4acb65SEdward Tomasz Napierala.Dd April 26, 2017 29c742af04SHans Petter Selasky.Dt UMOSCOM 4 30c742af04SHans Petter Selasky.Os 31c742af04SHans Petter Selasky.Sh NAME 32c742af04SHans Petter Selasky.Nm umoscom 33c742af04SHans Petter Selasky.Nd USB support for serial adapters based on chips made by MOSCHIP 34c742af04SHans Petter Selasky.Sh SYNOPSIS 35c742af04SHans Petter SelaskyTo compile this driver into the kernel, 36c742af04SHans Petter Selaskyplace the following lines in your 37c742af04SHans Petter Selaskykernel configuration file: 38c742af04SHans Petter Selasky.Bd -ragged -offset indent 39c742af04SHans Petter Selasky.Cd "device usb" 40c742af04SHans Petter Selasky.Cd "device ucom" 41c742af04SHans Petter Selasky.Cd "device umoscom" 42c742af04SHans Petter Selasky.Ed 43c742af04SHans Petter Selasky.Pp 44c742af04SHans Petter SelaskyAlternatively, to load the driver as a 45c742af04SHans Petter Selaskymodule at boot time, place the following line in 46c742af04SHans Petter Selasky.Xr loader.conf 5 : 47c742af04SHans Petter Selasky.Bd -literal -offset indent 48c742af04SHans Petter Selaskyumoscom_load="YES" 49c742af04SHans Petter Selasky.Ed 50c742af04SHans Petter Selasky.Sh DESCRIPTION 51c742af04SHans Petter SelaskyThe 52c742af04SHans Petter Selasky.Nm 53c742af04SHans Petter Selaskydriver provides support for various serial adapters based on chips from MOSCHIP. 54c742af04SHans Petter Selasky.Pp 55c742af04SHans Petter SelaskyThe device is accessed through the 56c742af04SHans Petter Selasky.Xr ucom 4 57c742af04SHans Petter Selaskydriver which makes it behave like a 58c742af04SHans Petter Selasky.Xr tty 4 . 59*4f4acb65SEdward Tomasz Napierala.Sh FILES 60*4f4acb65SEdward Tomasz Napierala.Bl -tag -width "/dev/ttyU?.init" -compact 61*4f4acb65SEdward Tomasz Napierala.It Pa /dev/ttyU? 62*4f4acb65SEdward Tomasz Napieralafor callin ports 63*4f4acb65SEdward Tomasz Napierala.It Pa /dev/ttyU?.init 64*4f4acb65SEdward Tomasz Napierala.It Pa /dev/ttyU?.lock 65*4f4acb65SEdward Tomasz Napieralacorresponding callin initial-state and lock-state devices 66*4f4acb65SEdward Tomasz Napierala.Pp 67*4f4acb65SEdward Tomasz Napierala.It Pa /dev/cuaU? 68*4f4acb65SEdward Tomasz Napieralafor callout ports 69*4f4acb65SEdward Tomasz Napierala.It Pa /dev/cuaU?.init 70*4f4acb65SEdward Tomasz Napierala.It Pa /dev/cuaU?.lock 71*4f4acb65SEdward Tomasz Napieralacorresponding callout initial-state and lock-state devices 72*4f4acb65SEdward Tomasz Napierala.El 73c742af04SHans Petter Selasky.Sh SEE ALSO 74c742af04SHans Petter Selasky.Xr tty 4 , 75c742af04SHans Petter Selasky.Xr ucom 4 , 76c742af04SHans Petter Selasky.Xr usb 4 77c742af04SHans Petter Selasky.Sh HISTORY 78c742af04SHans Petter SelaskyThe 79c742af04SHans Petter Selasky.Nm 80c742af04SHans Petter Selaskydriver appeared in OpenBSD and was ported to FreeBSD. 81