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 28To compile this driver into the kernel, 29place the following lines in your 30kernel configuration file: 31.Bd -ragged -offset indent 32.Cd "device u3g" 33.Cd "device ucom" 34.Ed 35.Pp 36Alternatively, to load the driver as a 37module at boot time, place the following line in 38.Xr loader.conf 5 : 39.Bd -literal -offset indent 40u3g_load="YES" 41.Ed 42.Sh DESCRIPTION 43The 44.Nm 45driver provides support for the multiple USB-to-serial interfaces exposed by 46many 3G USB/PCCard modems. 47.Pp 48The device is accessed through the 49.Xr ucom 4 50driver which makes it behave like a 51.Xr tty 4 . 52.Sh HARDWARE 53The 54.Nm 55driver supports the following adapters: 56.Pp 57.Bl -bullet -compact 58.It 59Option Globetrotter 3G Fusion (only 3G part, not WLAN) 60.It 61Option Globetrotter 3G Fusion Quad (only 3G part, not WLAN) 62.It 63Option Globetrotter 3G Quad 64.It 65Option Globetrotter 3G 66.It 67Vodafone Mobile Connect Card 3G 68.It 69Qualcomm Inc. CDMA MSM 70.It 71Huawei E220 (E270?) 72.It 73Huawei Mobile 74.It 75Novatal MC950D 76.It 77Sierra cards 78.El 79.Pp 80See 81.Pa /sys/dev/u3g.c 82for the complete list of supported cards for each vendor 83mentioned above. 84.Pp 85The supported 3G cards provide the necessary modem port for ppp, 86pppd, or mpd connections as well as extra ports (depending on the specific 87device) to provide other functions (diagnostic port, SIM toolkit port). 88.Pp 89In some of these devices a mass storage device supported by the 90.Xr umass 4 91driver is present which contains Windows and Mac OS X drivers. 92This device is 93hidden, unless the machine was booted in verbose mode (see 94.Xr boot 8 ) . 95To temporarily unhide the device, set 96.Va debug.bootverbose 97to 1 using 98.Xr sysctl 8 99and replug the device. 100The 101.Xr u3gstub 4 102device will attach temporarily and detach within seconds. 103.Sh SEE ALSO 104.Xr tty 4 , 105.Xr ucom 4 , 106.Xr usb 4 107.Sh HISTORY 108The 109.Nm 110driver appeared in 111.Fx 8.0 , 112is based on the 113.Xr uark 4 114driver, and written by 115.An Andrea Guzzo Aq aguzzo@anywi.com 116in September 2008. 117.Sh AUTHORS 118The 119.Nm 120driver was written by 121.An Andrea Guzzo Aq aguzzo@anywi.com 122and 123.An Nick Hibma Aq n_hibma@freebsd.org . 124Hardware for testing was provided by AnyWi Technologies, Leiden, NL. 125