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.\" 304f4acb65SEdward Tomasz Napierala.Dd April 26, 2017 318b97f354STom Rhodes.Dt UMODEM 4 328b97f354STom Rhodes.Os 338b97f354STom Rhodes.Sh NAME 348b97f354STom Rhodes.Nm umodem 35163de4a1SEdward Tomasz Napierala.Nd USB Communication Device Class serial (CDC ACM) driver 368b97f354STom Rhodes.Sh SYNOPSIS 370a771a3bSChristian BruefferTo compile this driver into the kernel, 380a771a3bSChristian Bruefferplace the following lines in your 390a771a3bSChristian Bruefferkernel configuration file: 400a771a3bSChristian Brueffer.Bd -ragged -offset indent 4199fc5899SMartin Wilke.Cd "device usb" 4299fc5899SMartin Wilke.Cd "device ucom" 43fc1a4ecfSWarner Losh.Cd "device umodem" 440a771a3bSChristian Brueffer.Ed 450a771a3bSChristian Brueffer.Pp 460a771a3bSChristian BruefferAlternatively, to load the driver as a 470a771a3bSChristian Brueffermodule at boot time, place the following line in 480a771a3bSChristian Brueffer.Xr loader.conf 5 : 490a771a3bSChristian Brueffer.Bd -literal -offset indent 500a771a3bSChristian Bruefferumodem_load="YES" 510a771a3bSChristian Brueffer.Ed 528b97f354STom Rhodes.Sh DESCRIPTION 538b97f354STom RhodesThe 548b97f354STom Rhodes.Nm 55163de4a1SEdward Tomasz Napieraladriver provides support for USB modems and serial devices that 56163de4a1SEdward Tomasz Napieralaimplement the Communication Device Class Abstract Control Model (CDC ACM). 57*ecf3a39eSEdward Tomasz NapieralaIt also provides device-side CDC ACM support. 58163de4a1SEdward Tomasz NapieralaSupported modems are basically standard serial line modems, but they are 59706b6f9fSRuslan Ermilovaccessed via USB instead. 60706b6f9fSRuslan ErmilovThey support a regular AT command set. 618b97f354STom RhodesThe commands can either be multiplexed with the data stream 62706b6f9fSRuslan Ermilovor handled through separate pipes. 63706b6f9fSRuslan ErmilovIn the latter case the AT 6400bf32b0SChristian Brueffercommands have to be given on a device separate from the data device. 658b97f354STom Rhodes.Pp 668b97f354STom RhodesThe device is accessed through the 678b97f354STom Rhodes.Xr ucom 4 688b97f354STom Rhodesdriver which makes it behave like a 698b97f354STom Rhodes.Xr tty 4 . 701e4b1b9cSSimon L. B. Nielsen.Sh HARDWARE 711e4b1b9cSSimon L. B. NielsenDevices supported by the 721e4b1b9cSSimon L. B. Nielsen.Nm 731e4b1b9cSSimon L. B. Nielsendriver include: 741e4b1b9cSSimon L. B. Nielsen.Pp 751e4b1b9cSSimon L. B. Nielsen.Bl -bullet -compact 761e4b1b9cSSimon L. B. Nielsen.It 771e4b1b9cSSimon L. B. Nielsen3Com 5605 781e4b1b9cSSimon L. B. Nielsen.It 799e270de5SAlexander LeidingerCuritel PC5740 Wireless Modem 809e270de5SAlexander Leidinger.It 81ea486abeSMIHIRA Sanpei YoshiroKyocera AH-K3001V Mobile Phone(WILLCOM) 82ea486abeSMIHIRA Sanpei Yoshiro.It 83ea486abeSMIHIRA Sanpei YoshiroKyocera WX320K Mobile Phone(WILLCOM) 84ea486abeSMIHIRA Sanpei Yoshiro.It 851e4b1b9cSSimon L. B. NielsenMetricom Ricochet GS USB wireless modem 861e4b1b9cSSimon L. B. Nielsen.It 879e270de5SAlexander LeidingerSierra MC5720 Wireless Modem 889e270de5SAlexander Leidinger.It 891e4b1b9cSSimon L. B. NielsenYamaha Broadband Wireless Router RTW65b 90d5648a65SGiorgos Keramidas.It 917bdc0bbaSGiorgos KeramidasELSA MicroLink 56k USB modem 92e4bb8c64SNick Hibma.It 93e4bb8c64SNick HibmaSony Ericsson W810i phone 9432fe943cSGleb Smirnoff.It 9532fe943cSGleb SmirnoffSonim XP5300 Force 961e4b1b9cSSimon L. B. Nielsen.El 974f4acb65SEdward Tomasz Napierala.Sh FILES 98fa196deaSEdward Tomasz Napierala.Bl -tag -width "/dev/ttyU*.init" -compact 99fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU* 1004f4acb65SEdward Tomasz Napieralafor callin ports 101fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.init 102fa196deaSEdward Tomasz Napierala.It Pa /dev/ttyU*.lock 1034f4acb65SEdward Tomasz Napieralacorresponding callin initial-state and lock-state devices 1044f4acb65SEdward Tomasz Napierala.Pp 105fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU* 1064f4acb65SEdward Tomasz Napieralafor callout ports 107fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.init 108fa196deaSEdward Tomasz Napierala.It Pa /dev/cuaU*.lock 1094f4acb65SEdward Tomasz Napieralacorresponding callout initial-state and lock-state devices 1104f4acb65SEdward Tomasz Napierala.El 1118b97f354STom Rhodes.Sh SEE ALSO 1128b97f354STom Rhodes.Xr tty 4 , 1138b97f354STom Rhodes.Xr ucom 4 , 1148b97f354STom Rhodes.Xr usb 4 1158b97f354STom Rhodes.Sh HISTORY 1168b97f354STom RhodesThe 1178b97f354STom Rhodes.Nm 1188b97f354STom Rhodesdriver 1198b97f354STom Rhodesappeared in 1208b97f354STom Rhodes.Nx 1.5 . 1218b97f354STom RhodesThis manual page was adopted from 1228b97f354STom Rhodes.Nx 123706b6f9fSRuslan Ermilovby 1246c899950SBaptiste Daroussin.An Tom Rhodes Aq Mt trhodes@FreeBSD.org 1258b97f354STom Rhodesin April 2002. 1268b97f354STom Rhodes.Sh BUGS 1278b97f354STom RhodesOnly modems with multiplexed commands and data are supported 1288b97f354STom Rhodesat the moment. 129