2008-10-09 21:25:01 +00:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2008 AnyWi Technologies
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
2008-10-29 16:17:34 +00:00
|
|
|
.\" This code is derived from uark.c
|
2008-10-09 21:25:01 +00:00
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2013-11-26 09:14:39 +00:00
|
|
|
.Dd November 26, 2013
|
2008-10-09 21:25:01 +00:00
|
|
|
.Dt U3G 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm u3g
|
|
|
|
.Nd USB support for 3G datacards
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
2011-11-20 12:18:21 +00:00
|
|
|
.Cd "device usb"
|
|
|
|
.Cd "device ucom"
|
2008-10-09 21:25:01 +00:00
|
|
|
.Cd "device u3g"
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
u3g_load="YES"
|
|
|
|
.Ed
|
2013-11-26 09:14:39 +00:00
|
|
|
.Pp
|
|
|
|
If neither of the above is done, the driver will automatically be loaded
|
|
|
|
by devd(8) when the device is connected.
|
2008-10-09 21:25:01 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver provides support for the multiple USB-to-serial interfaces exposed by
|
2008-10-29 18:49:37 +00:00
|
|
|
many 3G USB/PCCard modems.
|
2008-10-09 21:25:01 +00:00
|
|
|
.Pp
|
|
|
|
The device is accessed through the
|
|
|
|
.Xr ucom 4
|
|
|
|
driver which makes it behave like a
|
|
|
|
.Xr tty 4 .
|
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following adapters:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
2009-02-13 20:09:11 +00:00
|
|
|
Option GT 3G Fusion, GT Fusion Quad, etc. (only 3G part, not WLAN)
|
2008-10-09 21:25:01 +00:00
|
|
|
.It
|
2009-02-13 20:09:11 +00:00
|
|
|
Option GT 3G, GT 3G Quad, etc.
|
2008-10-09 21:25:01 +00:00
|
|
|
.It
|
|
|
|
Vodafone Mobile Connect Card 3G
|
|
|
|
.It
|
2012-03-08 07:22:41 +00:00
|
|
|
Vodafone Mobile Broadband K3772-Z
|
|
|
|
.It
|
2008-10-13 20:43:08 +00:00
|
|
|
Qualcomm Inc. CDMA MSM
|
|
|
|
.It
|
2009-07-30 00:15:17 +00:00
|
|
|
Huawei B190, E180v, E220 ('<Huawei Mobile>')
|
2008-10-09 21:25:01 +00:00
|
|
|
.It
|
2009-05-02 11:59:56 +00:00
|
|
|
Novatel U740, MC950D, X950D, etc.
|
2008-10-13 20:43:08 +00:00
|
|
|
.It
|
2009-02-13 20:09:11 +00:00
|
|
|
Sierra MC875U, MC8775U, etc.
|
2008-10-09 21:25:01 +00:00
|
|
|
.El
|
2008-10-29 16:17:34 +00:00
|
|
|
.Pp
|
2009-02-13 20:09:11 +00:00
|
|
|
(See
|
2009-05-02 11:59:56 +00:00
|
|
|
.Pa /sys/dev/usb/serial/u3g.c
|
2008-10-29 18:49:37 +00:00
|
|
|
for the complete list of supported cards for each vendor
|
2009-02-13 20:09:11 +00:00
|
|
|
mentioned above.)
|
2008-10-09 21:25:01 +00:00
|
|
|
.Pp
|
2009-12-28 09:32:45 +00:00
|
|
|
The supported 3G cards provide the necessary modem port for ppp, or mpd
|
2009-02-13 20:09:11 +00:00
|
|
|
connections as well as extra ports (depending on the specific device) to
|
|
|
|
provide other functions (additional command port, diagnostic port, SIM toolkit
|
|
|
|
port).
|
2008-10-15 21:47:01 +00:00
|
|
|
.Pp
|
2008-10-29 16:17:34 +00:00
|
|
|
In some of these devices a mass storage device supported by the
|
2008-10-15 21:47:01 +00:00
|
|
|
.Xr umass 4
|
2008-10-29 18:49:37 +00:00
|
|
|
driver is present which contains Windows and Mac OS X drivers.
|
2009-02-13 20:09:11 +00:00
|
|
|
The device starts up in disk mode (TruInstall, ZeroCD, etc.) and requires
|
2016-06-08 08:50:35 +00:00
|
|
|
additional commands to switch it to modem mode.
|
|
|
|
If your device is not switching automatically, please try to add quirks.
|
|
|
|
See
|
2012-02-09 04:37:30 +00:00
|
|
|
.Xr usbconfig 8
|
2010-11-10 23:45:44 +00:00
|
|
|
and
|
|
|
|
.Xr usb_quirk 4 .
|
2008-10-09 21:25:01 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr tty 4 ,
|
|
|
|
.Xr ucom 4 ,
|
2010-11-10 23:45:44 +00:00
|
|
|
.Xr usb 4 ,
|
|
|
|
.Xr usb_quirk 4 ,
|
2013-11-26 09:14:39 +00:00
|
|
|
.Xr devd 8 ,
|
2012-02-09 04:37:30 +00:00
|
|
|
.Xr usbconfig 8
|
2008-10-09 21:25:01 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
2008-10-29 18:49:37 +00:00
|
|
|
driver appeared in
|
2009-04-23 08:37:56 +00:00
|
|
|
.Fx 7.2 ,
|
2008-10-29 18:49:37 +00:00
|
|
|
is based on the
|
|
|
|
.Xr uark 4
|
|
|
|
driver, and written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Andrea Guzzo Aq Mt aguzzo@anywi.com
|
2008-10-09 21:25:01 +00:00
|
|
|
in September 2008.
|
|
|
|
.Sh AUTHORS
|
2014-06-26 21:46:14 +00:00
|
|
|
.An -nosplit
|
2008-10-09 21:25:01 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Andrea Guzzo Aq Mt aguzzo@anywi.com
|
2008-10-15 21:47:01 +00:00
|
|
|
and
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Nick Hibma Aq Mt n_hibma@FreeBSD.org .
|
2008-10-29 18:49:37 +00:00
|
|
|
Hardware for testing was provided by AnyWi Technologies, Leiden, NL.
|
2013-11-26 19:51:53 +00:00
|
|
|
.Sh BUGS
|
|
|
|
The automatic mode switch from disk mode to modem mode does not work unless
|
|
|
|
the driver is either built into the kernel or loaded before the device is
|
|
|
|
connected.
|