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 37163de4a1SEdward Tomasz Napierala.Nd USB Communication Device Class serial (CDC ACM) driver 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 57163de4a1SEdward Tomasz Napieraladriver provides support for USB modems and serial devices that 58163de4a1SEdward Tomasz Napieralaimplement the Communication Device Class Abstract Control Model (CDC ACM). 59*ecf3a39eSEdward Tomasz NapieralaIt also provides device-side CDC ACM support. 60163de4a1SEdward Tomasz NapieralaSupported modems are basically standard serial line modems, but they are 61706b6f9fSRuslan Ermilovaccessed via USB instead. 62706b6f9fSRuslan ErmilovThey support a regular AT command set. 638b97f354STom RhodesThe commands can either be multiplexed with the data stream 64706b6f9fSRuslan Ermilovor handled through separate pipes. 65706b6f9fSRuslan ErmilovIn the latter case the AT 6600bf32b0SChristian Brueffercommands have to be given on a device separate from the data device. 678b97f354STom Rhodes.Pp 688b97f354STom RhodesThe device is accessed through the 698b97f354STom Rhodes.Xr ucom 4 708b97f354STom Rhodesdriver which makes it behave like a 718b97f354STom Rhodes.Xr tty 4 . 721e4b1b9cSSimon L. B. Nielsen.Sh HARDWARE 731e4b1b9cSSimon L. B. NielsenDevices supported by the 741e4b1b9cSSimon L. B. Nielsen.Nm 751e4b1b9cSSimon L. B. Nielsendriver include: 761e4b1b9cSSimon L. B. Nielsen.Pp 771e4b1b9cSSimon L. B. Nielsen.Bl -bullet -compact 781e4b1b9cSSimon L. B. Nielsen.It 791e4b1b9cSSimon L. B. Nielsen3Com 5605 801e4b1b9cSSimon L. B. Nielsen.It 819e270de5SAlexander LeidingerCuritel PC5740 Wireless Modem 829e270de5SAlexander Leidinger.It 83ea486abeSMIHIRA Sanpei YoshiroKyocera AH-K3001V Mobile Phone(WILLCOM) 84ea486abeSMIHIRA Sanpei Yoshiro.It 85ea486abeSMIHIRA Sanpei YoshiroKyocera WX320K Mobile Phone(WILLCOM) 86ea486abeSMIHIRA Sanpei Yoshiro.It 871e4b1b9cSSimon L. B. NielsenMetricom Ricochet GS USB wireless modem 881e4b1b9cSSimon L. B. Nielsen.It 899e270de5SAlexander LeidingerSierra MC5720 Wireless Modem 909e270de5SAlexander Leidinger.It 911e4b1b9cSSimon L. B. NielsenYamaha Broadband Wireless Router RTW65b 92d5648a65SGiorgos Keramidas.It 937bdc0bbaSGiorgos KeramidasELSA MicroLink 56k USB modem 94e4bb8c64SNick Hibma.It 95e4bb8c64SNick HibmaSony Ericsson W810i phone 9632fe943cSGleb Smirnoff.It 9732fe943cSGleb SmirnoffSonim XP5300 Force 981e4b1b9cSSimon L. B. Nielsen.El 994f4acb65SEdward Tomasz Napierala.Sh FILES 100fa196deaSEdward Tomasz Napierala.Bl -tag -width "/dev/ttyU*.init" -compact 101fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU* 1024f4acb65SEdward Tomasz Napieralafor callin ports 103fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.init 104fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.lock 1054f4acb65SEdward Tomasz Napieralacorresponding callin initial-state and lock-state devices 1064f4acb65SEdward Tomasz Napierala.Pp 107fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU* 1084f4acb65SEdward Tomasz Napieralafor callout ports 109fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.init 110fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.lock 1114f4acb65SEdward Tomasz Napieralacorresponding callout initial-state and lock-state devices 1124f4acb65SEdward Tomasz Napierala.El 1138b97f354STom Rhodes.Sh SEE ALSO 1148b97f354STom Rhodes.Xr tty 4 , 1158b97f354STom Rhodes.Xr ucom 4 , 1168b97f354STom Rhodes.Xr usb 4 1178b97f354STom Rhodes.Sh HISTORY 1188b97f354STom RhodesThe 1198b97f354STom Rhodes.Nm 1208b97f354STom Rhodesdriver 1218b97f354STom Rhodesappeared in 1228b97f354STom Rhodes.Nx 1.5 . 1238b97f354STom RhodesThis manual page was adopted from 1248b97f354STom Rhodes.Nx 125706b6f9fSRuslan Ermilovby 1266c899950SBaptiste Daroussin.An Tom Rhodes Aq Mt trhodes@FreeBSD.org 1278b97f354STom Rhodesin April 2002. 1288b97f354STom Rhodes.Sh BUGS 1298b97f354STom RhodesOnly modems with multiplexed commands and data are supported 1308b97f354STom Rhodesat the moment. 131