xref: /freebsd/share/man/man4/umodem.4 (revision fa196dea221ece5efebff38017ac66220b46c2ce)
18b97f354STom Rhodes.\" $NetBSD: umodem.4,v 1.6 2001/09/11 23:18:55 wiz Exp $
28b97f354STom Rhodes.\"
38b97f354STom Rhodes.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
48b97f354STom Rhodes.\" All rights reserved.
58b97f354STom Rhodes.\"
68b97f354STom Rhodes.\" This code is derived from software contributed to The NetBSD Foundation
78b97f354STom Rhodes.\" by Lennart Augustsson.
88b97f354STom Rhodes.\"
98b97f354STom Rhodes.\" Redistribution and use in source and binary forms, with or without
108b97f354STom Rhodes.\" modification, are permitted provided that the following conditions
118b97f354STom Rhodes.\" are met:
128b97f354STom Rhodes.\" 1. Redistributions of source code must retain the above copyright
138b97f354STom Rhodes.\"    notice, this list of conditions and the following disclaimer.
148b97f354STom Rhodes.\" 2. Redistributions in binary form must reproduce the above copyright
158b97f354STom Rhodes.\"    notice, this list of conditions and the following disclaimer in the
168b97f354STom Rhodes.\"    documentation and/or other materials provided with the distribution.
178b97f354STom Rhodes.\"
188b97f354STom Rhodes.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
198b97f354STom Rhodes.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
208b97f354STom Rhodes.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
218b97f354STom Rhodes.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
228b97f354STom Rhodes.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
238b97f354STom Rhodes.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
248b97f354STom Rhodes.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
258b97f354STom Rhodes.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
268b97f354STom Rhodes.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
278b97f354STom Rhodes.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
288b97f354STom Rhodes.\" POSSIBILITY OF SUCH DAMAGE.
298b97f354STom Rhodes.\"
30706b6f9fSRuslan Ermilov.\" $FreeBSD$
31706b6f9fSRuslan Ermilov.\"
324f4acb65SEdward Tomasz Napierala.Dd April 26, 2017
338b97f354STom Rhodes.Dt UMODEM 4
348b97f354STom Rhodes.Os
358b97f354STom Rhodes.Sh NAME
368b97f354STom Rhodes.Nm umodem
378b97f354STom Rhodes.Nd USB modem support
388b97f354STom Rhodes.Sh SYNOPSIS
390a771a3bSChristian BruefferTo compile this driver into the kernel,
400a771a3bSChristian Bruefferplace the following lines in your
410a771a3bSChristian Bruefferkernel configuration file:
420a771a3bSChristian Brueffer.Bd -ragged -offset indent
4399fc5899SMartin Wilke.Cd "device usb"
4499fc5899SMartin Wilke.Cd "device ucom"
45fc1a4ecfSWarner Losh.Cd "device umodem"
460a771a3bSChristian Brueffer.Ed
470a771a3bSChristian Brueffer.Pp
480a771a3bSChristian BruefferAlternatively, to load the driver as a
490a771a3bSChristian Brueffermodule at boot time, place the following line in
500a771a3bSChristian Brueffer.Xr loader.conf 5 :
510a771a3bSChristian Brueffer.Bd -literal -offset indent
520a771a3bSChristian Bruefferumodem_load="YES"
530a771a3bSChristian Brueffer.Ed
548b97f354STom Rhodes.Sh DESCRIPTION
558b97f354STom RhodesThe
568b97f354STom Rhodes.Nm
578b97f354STom Rhodesdriver provides support for USB modems in the Communication
588b97f354STom RhodesDevice Class using the Abstract Control Model.
598b97f354STom RhodesThese modems are basically standard serial line modems, but they are
60706b6f9fSRuslan Ermilovaccessed via USB instead.
61706b6f9fSRuslan ErmilovThey support a regular AT command set.
628b97f354STom RhodesThe commands can either be multiplexed with the data stream
63706b6f9fSRuslan Ermilovor handled through separate pipes.
64706b6f9fSRuslan ErmilovIn the latter case the AT
6500bf32b0SChristian Brueffercommands have to be given on a device separate from the data device.
668b97f354STom Rhodes.Pp
678b97f354STom RhodesThe device is accessed through the
688b97f354STom Rhodes.Xr ucom 4
698b97f354STom Rhodesdriver which makes it behave like a
708b97f354STom Rhodes.Xr tty 4 .
711e4b1b9cSSimon L. B. Nielsen.Sh HARDWARE
721e4b1b9cSSimon L. B. NielsenDevices supported by the
731e4b1b9cSSimon L. B. Nielsen.Nm
741e4b1b9cSSimon L. B. Nielsendriver include:
751e4b1b9cSSimon L. B. Nielsen.Pp
761e4b1b9cSSimon L. B. Nielsen.Bl -bullet -compact
771e4b1b9cSSimon L. B. Nielsen.It
781e4b1b9cSSimon L. B. Nielsen3Com 5605
791e4b1b9cSSimon L. B. Nielsen.It
809e270de5SAlexander LeidingerCuritel PC5740 Wireless Modem
819e270de5SAlexander Leidinger.It
82ea486abeSMIHIRA Sanpei YoshiroKyocera AH-K3001V Mobile Phone(WILLCOM)
83ea486abeSMIHIRA Sanpei Yoshiro.It
84ea486abeSMIHIRA Sanpei YoshiroKyocera WX320K Mobile Phone(WILLCOM)
85ea486abeSMIHIRA Sanpei Yoshiro.It
861e4b1b9cSSimon L. B. NielsenMetricom Ricochet GS USB wireless modem
871e4b1b9cSSimon L. B. Nielsen.It
889e270de5SAlexander LeidingerSierra MC5720 Wireless Modem
899e270de5SAlexander Leidinger.It
901e4b1b9cSSimon L. B. NielsenYamaha Broadband Wireless Router RTW65b
91d5648a65SGiorgos Keramidas.It
927bdc0bbaSGiorgos KeramidasELSA MicroLink 56k USB modem
93e4bb8c64SNick Hibma.It
94e4bb8c64SNick HibmaSony Ericsson W810i phone
9532fe943cSGleb Smirnoff.It
9632fe943cSGleb SmirnoffSonim XP5300 Force
971e4b1b9cSSimon L. B. Nielsen.El
984f4acb65SEdward Tomasz Napierala.Sh FILES
99*fa196deaSEdward Tomasz Napierala.Bl -tag -width "/dev/ttyU*.init" -compact
100*fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*
1014f4acb65SEdward Tomasz Napieralafor callin ports
102*fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.init
103*fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.lock
1044f4acb65SEdward Tomasz Napieralacorresponding callin initial-state and lock-state devices
1054f4acb65SEdward Tomasz Napierala.Pp
106*fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*
1074f4acb65SEdward Tomasz Napieralafor callout ports
108*fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.init
109*fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.lock
1104f4acb65SEdward Tomasz Napieralacorresponding callout initial-state and lock-state devices
1114f4acb65SEdward Tomasz Napierala.El
1128b97f354STom Rhodes.Sh SEE ALSO
1138b97f354STom Rhodes.Xr tty 4 ,
1148b97f354STom Rhodes.Xr ucom 4 ,
1158b97f354STom Rhodes.Xr usb 4
1168b97f354STom Rhodes.Sh HISTORY
1178b97f354STom RhodesThe
1188b97f354STom Rhodes.Nm
1198b97f354STom Rhodesdriver
1208b97f354STom Rhodesappeared in
1218b97f354STom Rhodes.Nx 1.5 .
1228b97f354STom RhodesThis manual page was adopted from
1238b97f354STom Rhodes.Nx
124706b6f9fSRuslan Ermilovby
1256c899950SBaptiste Daroussin.An Tom Rhodes Aq Mt trhodes@FreeBSD.org
1268b97f354STom Rhodesin April 2002.
1278b97f354STom Rhodes.Sh BUGS
1288b97f354STom RhodesOnly modems with multiplexed commands and data are supported
1298b97f354STom Rhodesat the moment.
130