2 .\" Copyright (c) 2008 AnyWi Technologies
3 .\" All rights reserved.
5 .\" This code is derived from uark.c
7 .\" Permission to use, copy, modify, and distribute this software for any
8 .\" purpose with or without fee is hereby granted, provided that the above
9 .\" copyright notice and this permission notice appear in all copies.
11 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
26 .Nd USB support for 3G and 4G datacards
28 To compile this driver into the kernel,
29 place the following lines in your
30 kernel configuration file:
31 .Bd -ragged -offset indent
37 Alternatively, to load the driver as a
38 module at boot time, place the following line in
40 .Bd -literal -offset indent
44 If neither of the above is done, the driver will automatically be loaded
45 by devd(8) when the device is connected.
49 driver provides support for the multiple USB-to-serial interfaces exposed by
50 many 3G USB/PCCard modems.
52 The device is accessed through the
54 driver which makes it behave like a
59 driver supports the following adapters:
63 Option GT 3G Fusion, GT Fusion Quad, etc. (only 3G part, not WLAN)
65 Option GT 3G, GT 3G Quad, etc.
67 Vodafone Mobile Connect Card 3G
69 Vodafone Mobile Broadband K3772-Z
71 Qualcomm Inc. CDMA MSM
73 Qualcomm Inc. GOBI 1000, 2000 and 3000 devices with MDM1000 or MDM2000 chipsets
75 QUECTEL EC25, EM05, EM12-G, EP06-E.
77 Quectel EM160R (see CAVEATS)
79 Huawei B190, E180v, E220, E3372, E3372v153, E5573Cs322, ('<Huawei Mobile>')
81 Novatel U740, MC950D, X950D, etc.
83 Sierra MC875U, MC8775U, etc.
89 .Pa /sys/dev/usb/serial/u3g.c
90 for the complete list of supported cards for each vendor
93 The supported 3G cards provide the necessary modem port for ppp, or mpd
94 connections as well as extra ports (depending on the specific device) to
95 provide other functions (additional command port, diagnostic port, SIM toolkit
98 In some of these devices a mass storage device supported by the
100 driver is present which contains Windows and Mac OS X drivers.
101 The device starts up in disk mode (TruInstall, ZeroCD, etc.) and requires
102 additional commands to switch it to modem mode.
103 If your device is not switching automatically, please try to add quirks.
109 .Bl -tag -width "/dev/ttyU*.*.init" -compact
112 .It Pa /dev/ttyU*.*.init
113 .It Pa /dev/ttyU*.*.lock
114 corresponding callin initial-state and lock-state devices
118 .It Pa /dev/cuaU*.*.init
119 .It Pa /dev/cuaU*.*.lock
120 corresponding callout initial-state and lock-state devices
123 Connect to the Internet using the default configuration:
124 .Bd -literal -offset indent
142 driver, and written by
143 .An Andrea Guzzo Aq Mt aguzzo@anywi.com
149 driver was written by
150 .An Andrea Guzzo Aq Mt aguzzo@anywi.com
152 .An Nick Hibma Aq Mt n_hibma@FreeBSD.org .
153 Hardware for testing was provided by AnyWi Technologies, Leiden, NL.
155 The Quectel EM160R is not officially supported in PPP mode.
156 In order to use it in PPP mode, the ctsrts option needs to be turned off,
157 for example, by adding:
160 .Pa /etc/ppp/ppp.conf
161 in the correct section.
163 The automatic mode switch from disk mode to modem mode does not work unless
164 the driver is either built into the kernel or loaded before the device is
167 The GOBI-based devices require the gobi loader available from the
168 .Pa sysutils/gobi_loader