1.\" $NetBSD: uchcom.4,v 1.1 2007/09/03 18:02:17 tshiozak Exp $ 2.\" $DragonFly: src/share/man/man4/uchcom.4,v 1.1 2007/11/07 09:07:44 hasso Exp $ 3.\" 4.\" Copyright (c) 2007 The NetBSD Foundation, Inc. 5.\" All rights reserved. 6.\" 7.\" This code is derived from software contributed to The NetBSD Foundation 8.\" by Takuya SHIOZAKI (tshiozak@netbsd.org). 9.\" 10.\" Redistribution and use in source and binary forms, with or without 11.\" modification, are permitted provided that the following conditions 12.\" are met: 13.\" 1. Redistributions of source code must retain the above copyright 14.\" notice, this list of conditions and the following disclaimer. 15.\" 2. Redistributions in binary form must reproduce the above copyright 16.\" notice, this list of conditions and the following disclaimer in the 17.\" documentation and/or other materials provided with the distribution. 18.\" 3. All advertising materials mentioning features or use of this software 19.\" must display the following acknowledgement: 20.\" This product includes software developed by the NetBSD 21.\" Foundation, Inc. and its contributors. 22.\" 4. Neither the name of The NetBSD Foundation nor the names of its 23.\" contributors may be used to endorse or promote products derived 24.\" from this software without specific prior written permission. 25.\" 26.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 27.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 28.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 30.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36.\" POSSIBILITY OF SUCH DAMAGE. 37.\" 38.Dd November 11, 2007 39.Dt UCHCOM 4 40.Os 41.Sh NAME 42.Nm uchcom 43.Nd USB support for WinChipHead CH341/CH340 serial adapters driver 44.Sh SYNOPSIS 45To compile this driver into the kernel, 46place the following lines in your 47kernel configuration file: 48.Bd -ragged -offset indent 49.Cd "device uchcom" 50.Cd "device ucom" 51.Ed 52.Pp 53Alternatively, to load the driver as a 54module at boot time, place the following line in 55.Xr loader.conf 5 : 56.Bd -literal -offset indent 57uchcom_load="YES" 58.Ed 59.Sh DESCRIPTION 60The 61.Nm 62driver provides support for the WinChipHead CH341/CH340 USB-to-RS-232 63Bridge chip. 64.Pp 65The device is accessed through the 66.Xr ucom 4 67driver which makes it behave like a 68.Xr tty 4 . 69.Sh SEE ALSO 70.Xr tty 4 , 71.Xr ucom 4 , 72.Xr usb 4 73.Sh HISTORY 74The 75.Nm 76driver 77appeared in 78.Nx 795.0 and was imported into 80.Dx 1.11 . 81.Sh BUGS 82Actually, this chip seems unable to drive other than 8 data bits and 831 stop bit line. 84