2002-04-19 18:18:11 +00:00
|
|
|
.\" $NetBSD: umodem.4,v 1.6 2001/09/11 23:18:55 wiz 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.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2002-05-30 12:59:52 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2017-04-26 19:51:10 +00:00
|
|
|
.Dd April 26, 2017
|
2002-04-19 18:18:11 +00:00
|
|
|
.Dt UMODEM 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm umodem
|
2018-04-26 17:34:53 +00:00
|
|
|
.Nd USB Communication Device Class serial (CDC ACM) driver
|
2002-04-19 18:18:11 +00:00
|
|
|
.Sh SYNOPSIS
|
2006-11-22 21:30:02 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
2011-11-20 12:18:21 +00:00
|
|
|
.Cd "device usb"
|
|
|
|
.Cd "device ucom"
|
2004-06-24 05:09:15 +00:00
|
|
|
.Cd "device umodem"
|
2006-11-22 21:30:02 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
umodem_load="YES"
|
|
|
|
.Ed
|
2002-04-19 18:18:11 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2018-04-26 17:34:53 +00:00
|
|
|
driver provides support for USB modems and serial devices that
|
|
|
|
implement the Communication Device Class Abstract Control Model (CDC ACM).
|
2018-04-26 17:36:48 +00:00
|
|
|
It also provides device-side CDC ACM support.
|
2018-04-26 17:34:53 +00:00
|
|
|
Supported modems are basically standard serial line modems, but they are
|
2002-05-30 12:59:52 +00:00
|
|
|
accessed via USB instead.
|
|
|
|
They support a regular AT command set.
|
2002-04-19 18:18:11 +00:00
|
|
|
The commands can either be multiplexed with the data stream
|
2002-05-30 12:59:52 +00:00
|
|
|
or handled through separate pipes.
|
|
|
|
In the latter case the AT
|
2004-09-03 23:53:02 +00:00
|
|
|
commands have to be given on a device separate from the data device.
|
2002-04-19 18:18:11 +00:00
|
|
|
.Pp
|
|
|
|
The device is accessed through the
|
|
|
|
.Xr ucom 4
|
|
|
|
driver which makes it behave like a
|
|
|
|
.Xr tty 4 .
|
2004-08-19 21:37:32 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
Devices supported by the
|
|
|
|
.Nm
|
|
|
|
driver include:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
3Com 5605
|
|
|
|
.It
|
2006-06-18 17:46:40 +00:00
|
|
|
Curitel PC5740 Wireless Modem
|
|
|
|
.It
|
2007-08-21 13:20:13 +00:00
|
|
|
Kyocera AH-K3001V Mobile Phone(WILLCOM)
|
|
|
|
.It
|
|
|
|
Kyocera WX320K Mobile Phone(WILLCOM)
|
|
|
|
.It
|
2004-08-19 21:37:32 +00:00
|
|
|
Metricom Ricochet GS USB wireless modem
|
|
|
|
.It
|
2006-06-18 17:46:40 +00:00
|
|
|
Sierra MC5720 Wireless Modem
|
|
|
|
.It
|
2004-08-19 21:37:32 +00:00
|
|
|
Yamaha Broadband Wireless Router RTW65b
|
2005-08-18 13:04:13 +00:00
|
|
|
.It
|
2005-08-18 15:05:28 +00:00
|
|
|
ELSA MicroLink 56k USB modem
|
2008-10-22 21:46:59 +00:00
|
|
|
.It
|
|
|
|
Sony Ericsson W810i phone
|
2012-08-06 08:59:39 +00:00
|
|
|
.It
|
|
|
|
Sonim XP5300 Force
|
2004-08-19 21:37:32 +00:00
|
|
|
.El
|
2017-04-26 19:51:10 +00:00
|
|
|
.Sh FILES
|
2017-05-09 08:36:09 +00:00
|
|
|
.Bl -tag -width "/dev/ttyU*.init" -compact
|
|
|
|
.It Pa /dev/ttyU*
|
2017-04-26 19:51:10 +00:00
|
|
|
for callin ports
|
2017-05-09 08:36:09 +00:00
|
|
|
.It Pa /dev/ttyU*.init
|
|
|
|
.It Pa /dev/ttyU*.lock
|
2017-04-26 19:51:10 +00:00
|
|
|
corresponding callin initial-state and lock-state devices
|
|
|
|
.Pp
|
2017-05-09 08:36:09 +00:00
|
|
|
.It Pa /dev/cuaU*
|
2017-04-26 19:51:10 +00:00
|
|
|
for callout ports
|
2017-05-09 08:36:09 +00:00
|
|
|
.It Pa /dev/cuaU*.init
|
|
|
|
.It Pa /dev/cuaU*.lock
|
2017-04-26 19:51:10 +00:00
|
|
|
corresponding callout initial-state and lock-state devices
|
|
|
|
.El
|
2002-04-19 18:18:11 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr tty 4 ,
|
|
|
|
.Xr ucom 4 ,
|
|
|
|
.Xr usb 4
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver
|
|
|
|
appeared in
|
|
|
|
.Nx 1.5 .
|
|
|
|
This manual page was adopted from
|
|
|
|
.Nx
|
2002-05-30 12:59:52 +00:00
|
|
|
by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Tom Rhodes Aq Mt trhodes@FreeBSD.org
|
2002-04-19 18:18:11 +00:00
|
|
|
in April 2002.
|
|
|
|
.Sh BUGS
|
|
|
|
Only modems with multiplexed commands and data are supported
|
|
|
|
at the moment.
|