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.\" 264f4acb65SEdward Tomasz Napierala.Dd April 26, 2017 27c742af04SHans Petter Selasky.Dt UMOSCOM 4 28c742af04SHans Petter Selasky.Os 29c742af04SHans Petter Selasky.Sh NAME 30c742af04SHans Petter Selasky.Nm umoscom 31c742af04SHans Petter Selasky.Nd USB support for serial adapters based on chips made by MOSCHIP 32c742af04SHans Petter Selasky.Sh SYNOPSIS 33c742af04SHans Petter SelaskyTo compile this driver into the kernel, 34c742af04SHans Petter Selaskyplace the following lines in your 35c742af04SHans Petter Selaskykernel configuration file: 36c742af04SHans Petter Selasky.Bd -ragged -offset indent 37c742af04SHans Petter Selasky.Cd "device usb" 38c742af04SHans Petter Selasky.Cd "device ucom" 39c742af04SHans Petter Selasky.Cd "device umoscom" 40c742af04SHans Petter Selasky.Ed 41c742af04SHans Petter Selasky.Pp 42c742af04SHans Petter SelaskyAlternatively, to load the driver as a 43c742af04SHans Petter Selaskymodule at boot time, place the following line in 44c742af04SHans Petter Selasky.Xr loader.conf 5 : 45c742af04SHans Petter Selasky.Bd -literal -offset indent 46c742af04SHans Petter Selaskyumoscom_load="YES" 47c742af04SHans Petter Selasky.Ed 48c742af04SHans Petter Selasky.Sh DESCRIPTION 49c742af04SHans Petter SelaskyThe 50c742af04SHans Petter Selasky.Nm 51c742af04SHans Petter Selaskydriver provides support for various serial adapters based on chips from MOSCHIP. 52c742af04SHans Petter Selasky.Pp 53c742af04SHans Petter SelaskyThe device is accessed through the 54c742af04SHans Petter Selasky.Xr ucom 4 55c742af04SHans Petter Selaskydriver which makes it behave like a 56c742af04SHans Petter Selasky.Xr tty 4 . 574f4acb65SEdward Tomasz Napierala.Sh FILES 58fa196deaSEdward Tomasz Napierala.Bl -tag -width "/dev/ttyU*.init" -compact 59fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU* 604f4acb65SEdward Tomasz Napieralafor callin ports 61fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.init 62fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.lock 634f4acb65SEdward Tomasz Napieralacorresponding callin initial-state and lock-state devices 644f4acb65SEdward Tomasz Napierala.Pp 65fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU* 664f4acb65SEdward Tomasz Napieralafor callout ports 67fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.init 68fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.lock 694f4acb65SEdward Tomasz Napieralacorresponding callout initial-state and lock-state devices 704f4acb65SEdward Tomasz Napierala.El 71c742af04SHans Petter Selasky.Sh SEE ALSO 72c742af04SHans Petter Selasky.Xr tty 4 , 73c742af04SHans Petter Selasky.Xr ucom 4 , 74c742af04SHans Petter Selasky.Xr usb 4 75c742af04SHans Petter Selasky.Sh HISTORY 76c742af04SHans Petter SelaskyThe 77c742af04SHans Petter Selasky.Nm 78*1adc28f5SChristian Bruefferdriver appeared in 79*1adc28f5SChristian Brueffer.Ox 80*1adc28f5SChristian Bruefferand was ported to 81*1adc28f5SChristian Brueffer.Fx . 82