]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - share/man/man4/u3g.4
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / share / man / man4 / u3g.4
1 .\"
2 .\" Copyright (c) 2008 AnyWi Technologies
3 .\" All rights reserved.
4 .\"
5 .\" This code is derived from uark.c
6 .\"
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.
10 .\"
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.
18 .\"
19 .\" $FreeBSD$
20 .\"
21 .Dd October 7, 2008
22 .Dt U3G 4
23 .Os
24 .Sh NAME
25 .Nm u3g
26 .Nd USB support for 3G datacards
27 .Sh SYNOPSIS
28 To compile this driver into the kernel,
29 place the following lines in your
30 kernel configuration file:
31 .Bd -ragged -offset indent
32 .Cd "device u3g"
33 .Cd "device ucom"
34 .Ed
35 .Pp
36 Alternatively, to load the driver as a
37 module at boot time, place the following line in
38 .Xr loader.conf 5 :
39 .Bd -literal -offset indent
40 u3g_load="YES"
41 .Ed
42 .Sh DESCRIPTION
43 The
44 .Nm
45 driver provides support for the multiple USB-to-serial interfaces exposed by
46 many 3G USB/PCCard modems.
47 .Pp
48 The device is accessed through the
49 .Xr ucom 4
50 driver which makes it behave like a
51 .Xr tty 4 .
52 .Sh HARDWARE
53 The
54 .Nm
55 driver supports the following adapters:
56 .Pp
57 .Bl -bullet -compact
58 .It
59 Option GT 3G Fusion, GT Fusion Quad, etc. (only 3G part, not WLAN)
60 .It
61 Option GT 3G, GT 3G Quad, etc.
62 .It
63 Vodafone Mobile Connect Card 3G
64 .It
65 Qualcomm Inc. CDMA MSM
66 .It
67 Huawei B190, E180v, E220 ('<Huawei Mobile>')
68 .It
69 Novatel U740, MC950D, X950D, etc.
70 .It
71 Sierra MC875U, MC8775U, etc.
72 .El
73 .Pp
74 (See
75 .Pa /sys/dev/usb/serial/u3g.c
76 for the complete list of supported cards for each vendor
77 mentioned above.)
78 .Pp
79 The supported 3G cards provide the necessary modem port for ppp, pppd, or mpd
80 connections as well as extra ports (depending on the specific device) to
81 provide other functions (additional command port, diagnostic port, SIM toolkit
82 port).
83 .Pp
84 In some of these devices a mass storage device supported by the
85 .Xr umass 4
86 driver is present which contains Windows and Mac OS X drivers.
87 The device starts up in disk mode (TruInstall, ZeroCD, etc.) and requires
88 additional commands to switch it to modem mode.
89 .Pp
90 The
91 .Xr u3gstub 4
92 device will attach temporarily to a 3G device with a mass storage device and
93 force it to switch to modem mode,
94 The attach and detach of
95 .Xr u3gstub
96 and any driver disk device present on the 3G device is is hidden, unless the
97 machine was booted in verbose mode (see
98 .Xr boot 8 ) .
99 To temporarily unhide the device, set
100 .Va debug.bootverbose
101 to 1 using
102 .Xr sysctl 8
103 and replug the device.
104 .Sh SEE ALSO
105 .Xr tty 4 ,
106 .Xr ucom 4 ,
107 .Xr usb 4
108 .Sh HISTORY
109 The
110 .Nm
111 driver appeared in
112 .Fx 7.2 ,
113 is based on the
114 .Xr uark 4
115 driver, and written by
116 .An Andrea Guzzo Aq aguzzo@anywi.com
117 in September 2008.
118 .Sh AUTHORS
119 The
120 .Nm
121 driver was written by
122 .An Andrea Guzzo Aq aguzzo@anywi.com
123 and
124 .An Nick Hibma Aq n_hibma@freebsd.org .
125 Hardware for testing was provided by AnyWi Technologies, Leiden, NL.