$OpenBSD: umsm.4,v 1.97 2024/05/23 08:06:22 kevlo Exp $

Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

.Dd $Mdocdate: May 18 2021 $ .Dt UMSM 4 .Os .Sh NAME .Nm umsm .Nd Qualcomm MSM modem device .Sh SYNOPSIS .Cd "umsm* at uhub?" .Cd "ucom* at umsm?" .Sh DESCRIPTION The .Nm driver supports Qualcomm MSM modem adapters. The MSM chipset is found in EVDO, UMTS and LTE capable modems. Typically these are CardBus and PCI Express Mini Cards that incorporate a USB controller with the actual device attached to it.

p The following devices are known to work with the .Nm driver: l -column "Medion Mobile S4012 (Huawei E1550 OEM)" "Bus" -offset 6n t Em Device Ta Em Bus t Li "AirPrime PC5220" Ta "CardBus" t Li "Alcatel One Touch X060" Ta "USB" t Li "Alcatel One Touch X200" Ta "USB" t Li "Alcatel One Touch X210" Ta "USB" t Li "Alcatel One Touch X220" Ta "USB" t Li "AnyDATA ADU-500A" Ta "USB" t Li "AnyDATA ADU-E100H" Ta "USB" t Li "AnyDATA A2502" Ta "USB" t Li "C-motech CNU 680" Ta "USB" t Li "Emobile D01HW (Huawei OEM)" Ta "USB" t Li "Emobile D02HW (Huawei OEM)" Ta "USB" t Li "Emobile D12HW (Huawei OEM)" Ta "USB" t Li "Emobile D22HW (Huawei OEM)" Ta "USB" t Li "Emobile D31HW (Huawei OEM)" Ta "USB" t Li "Emobile H12HW (Huawei OEM)" Ta "USB" t Li "Emobile D21LC (longcheer OEM)" Ta "USB" t Li "Huawei Mobile E156G" Ta "USB" t Li "Huawei Mobile E160E" Ta "USB" t Li "Huawei Mobile E161" Ta "USB" t Li "Huawei Mobile E160g" Ta "USB" t Li "Huawei Mobile E1692" Ta "USB" t Li "Huawei Mobile E172" Ta "USB" t Li "Huawei Mobile E173" Ta "USB" t Li "Huawei Mobile E173s" Ta "USB" t Li "Huawei Mobile E180" Ta "USB" t Li "Huawei Mobile E181" Ta "USB" t Li "Huawei Mobile E182" Ta "USB" t Li "Huawei Mobile E220" Ta "USB" t Li "Huawei Mobile E303" Ta "USB" t Li "Huawei Mobile E352" Ta "USB" t Li "Huawei Mobile E353" Ta "USB" t Li "Huawei Mobile E392" Ta "USB" t Li "Huawei Mobile E510" Ta "USB" t Li "Huawei Mobile E1550" Ta "USB" t Li "Huawei Mobile E1750" Ta "USB" t Li "Huawei Mobile E1752" Ta "USB" t Li "Huawei Mobile E1820" Ta "USB" t Li "Huawei Mobile E3372" Ta "USB" t Li "Huawei Mobile EM770W" Ta "PCI Express Mini Card" t Li "Huawei Mobile K4510" Ta "USB" t Li "Huawei Mobile K4511" Ta "USB" t Li "Huawei Mobile Connect E169g" Ta "USB" t Li "Huawei Mobile Connect E618" Ta "USB" t Li "Huawei Mobile Connect E620" Ta "USB" t Li "IIJMobile 120FU (ZTE OEM)" Ta "USB" t Li "Kyocera KPC650" Ta "CardBus" t Li "Medion Mobile S4012 (Huawei E1550 OEM)" Ta "USB" t Li "Medion Mobile S4222 (MediaTek OEM)" Ta "USB" t Li "Novatel Wireless ES620" Ta "USB" t Li "Novatel Wireless Ovation U727" Ta "USB" t Li "Novatel Wireless U760" Ta "USB" t Li "NTT DoCoMo A2502" Ta "USB" t Li "ONDA Communication H600" Ta "CardBus" t Li "ONDA Communication MSA110UP" Ta "USB" t Li "Option GlobeSurfer iCON 7.2" Ta "USB" t Li "Option GlobeTrotter 3G+" Ta "CardBus" t Li "Option GlobeTrotter 3G Quad" Ta "CardBus" t Li "Option GlobeTrotter 3G Quad Plus" Ta "CardBus" t Li "Option GlobeTrotter GT Fusion" Ta "CardBus" t Li "Option GlobeTrotter GT Max" Ta "CardBus" t Li "Option GlobeTrotter HSDPA" Ta "USB" t Li "Option iCON 225" Ta "USB" t Li "Option iCON 505" Ta "USB" t Li "Option GlobeTrotter HSUPA 380E" Ta "PCI Express Mini Card" t Li "Quectel EC25" Ta "PCI Express Mini Card" t Li "Quectel EM060K" Ta "M.2" t Li "Sierra Wireless MC8755" Ta "PCI Express Mini Card" t Li "Sierra Wireless MC8775" Ta "PCI Express Mini Card" t Li "Sierra Wireless MC8790" Ta "PCI Express Mini Card" t Li "Sierra Wireless AirCard 580" Ta "CardBus" t Li "Sierra Wireless AirCard 875" Ta "CardBus" t Li "Sierra Wireless AirCard 881" Ta "CardBus" t Li "Sierra Wireless AirCard 881U" Ta "USB" t Li "Sierra Wireless Inc. USB 305" Ta "USB" t Li "Simcom SIM7600E" Ta "PCI Express Mini Card" t Li "Softbank C01SW (Sierra OEM)" Ta "USB" t Li "Toshiba 3G HSDPA MiniCard" Ta "PCI Express Mini Card" t Li "Vodafone Mobile Connect 3G" Ta "CardBus" t Li "Vodafone Mobile Broadband K3765" Ta "USB" t Li "Vodafone Mobile Broadband K3772" Ta "USB" t Li "ZTE AC2746" Ta "USB" t Li "ZTE MF112" Ta "USB" t Li "ZTE MF190" Ta "USB" t Li "ZTE MF633" Ta "USB" t Li "ZTE MF637" Ta "USB" .El

p Devices suspected of being compatible are: l -column "Option GlobeTrotter HSDPA ICON225" "Bus" -offset 6n t Em Device Ta Em Bus t Li "Dell W5500" Ta "PCI Express Mini Card" t Li "Huawei E270+" Ta "USB" t Li "Huawei E1690" Ta "USB" t Li "Huawei E1762" Ta "USB" t Li "Novatel Wireless ExpressCard" Ta "ExpressCard" t Li "Novatel Wireless Merlin V620" Ta "CardBus" t Li "Novatel Wireless Merlin V740" Ta "CardBus" t Li "Novatel Wireless Merlin X950D" Ta "ExpressCard" t Li "Novatel Wireless MC950D" Ta "USB" t Li "Novatel Wireless S720" Ta "CardBus" t Li "Novatel Wireless U720" Ta "USB" t Li "Novatel Wireless U740" Ta "CardBus" t Li "Novatel Wireless U870" Ta "CardBus" t Li "Novatel Wireless V720" Ta "CardBus" t Li "Novatel Wireless X950D" Ta "ExpressCard" t Li "Novatel Wireless XU870 HSDPA" Ta "ExpressCard" t Li "Sierra Wireless AirCard 595" Ta "CardBus" t Li "Sierra Wireless AirCard 597E" Ta "CardBus" t Li "Sierra Wireless AirCard 880" Ta "CardBus" t Li "Sierra Wireless AirCard 880E" Ta "ExpressCard" t Li "Sierra Wireless AirCard 880U" Ta "USB" t Li "Sierra Wireless AirCard 881E" Ta "ExpressCard" t Li "Sierra Wireless AirCard 885U" Ta "USB" t Li "Sierra Wireless C597" Ta "USB" t Li "Sierra Wireless EM5625" Ta "USB" t Li "Sierra Wireless MC5720" Ta "PCI Express Mini Card" t Li "Sierra Wireless MC5725" Ta "PCI Express Mini Card" t Li "Sierra Wireless MC8765" Ta "PCI Express Mini Card" t Li "Sierra Wireless MC8780" Ta "PCI Express Mini Card" t Li "Sierra Wireless MC8781" Ta "PCI Express Mini Card" .El

p Some modems have multiple serial ports, however almost all modems have only one effective serial port for PPP connections. For example, the Huawei E220 has two serial ports, but only the first port can be used to make connections; the second one is for management. The Option GlobeTrotter HSDPA/HSUPA modems have three serial ports, but only the last port can be used to make PPP connections. The Medion Mobile S4222 has four serial ports, but only the first port can be used to make connections.

p Some modems require multi-link PPP operation. For example, the Huawei E1550 has four serial ports. When initiating a connection, the control commands have to be issued on the third port, and after that the actual PPP connection comes up on the first port. The function of the second and fourth ports is unknown. .Sh EXAMPLES An example demand dial configuration for Cingular Wireless using .Xr pppd 8 :

p

a /etc/ppp/cingular-chat : d -literal -offset indent TIMEOUT 10 REPORT CONNECT ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR '' ATZ OK AT&F OK AT+CGDCONT=1,"IP","isp.cingular" OK ATD*99***1# CONNECT .Ed

p

a /etc/ppp/peers/ac875 : d -literal -offset indent cuaU0 115200 debug noauth nocrtscts :10.254.254.1 ipcp-accept-remote defaultroute user isp@cingulargprs.com demand active-filter 'not udp port 123' persist idle 600 connect "/usr/sbin/chat -v -f /etc/ppp/cingular-chat" .Ed

p

a /etc/ppp/chap-secrets : d -literal -offset indent # Secrets for authentication using CHAP # client server secret IP addresses isp@cingulargprs.com * CINGULAR1 .Ed

p .Xr pppd 8 is then started using:

p .Dl # pppd call ac875 .Sh SEE ALSO .Xr ucom 4 , .Xr uhub 4 , .Xr usb 4 , .Xr pppd 8 .Sh HISTORY The .Nm device driver first appeared in .Ox 4.0 . .Sh AUTHORS .An -nosplit The .Nm driver was written by .An Jonathan Gray Aq Mt jsg@openbsd.org and .An Yojiro UO Aq Mt yuo@nui.org . .Sh CAVEATS For Verizon Wireless (and possibly other services), cards require a one-time activation before they will work; .Nm does not currently support this.

p The additional IEEE 802.11 wireless chipset found in the Option GlobeTrotter GT FUSION is not yet supported.