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(See /sys/dev/u3g.c for the complete list of supported cards for each vendor 80mentioned above). 81.Pp 82The supported 3G cards provide the necessary modem port for ppp, 83pppd, or mpd connections as well as extra ports (depending on the specific 84device) to provide other functions (diagnostic port, SIM toolkit port) 85.Pp 86In some of these devices a mass storage device supported by the 87.Xr umass 4 88driver is present which contains Windows and Mac OSX drivers. This device is 89hidden, unless the machine was booted in verbose (see 90.Xr boot 8 ). 91.Sh SEE ALSO 92.Xr tty 4 , 93.Xr ucom 4 , 94.Xr usb 4 , 95.Sh HISTORY 96The 97.Nm 98driver 99appeared in 100.Fx 8.0 , 101is based on the uark driver, and written by 102.An Andrea Guzzo Aq aguzzo@anywi.com 103in September 2008. 104.Sh AUTHORS 105The 106.Nm 107driver was written by 108.An Andrea Guzzo Aq aguzzo@anywi.com 109and 110.An Nick Hibma Aq n_hibma@freebsd.org . 111Hardware for testing provided by AnyWi Technologies, Leiden, NL. 112