Copyright (c) 2008 AnyWi Technologies All rights reserved. This code is derived from uark.c 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...
NAMEu3g - USB support for 3G datacards
SYNOPSISTo compile this driver into the kernel, place the following lines in your kernel configuration file:
device usb device ucom device u3g
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
If neither of the above is done, the driver will automatically be loaded by devd(8) when the device is connected.
DESCRIPTIONThe sysctl Cm net.inet.tcp.syncookies driver provides support for the multiple USB-to-serial interfaces exposed by many 3G USB/PCCard modems.
HARDWAREThe sysctl Cm net.inet.tcp.syncookies driver supports the following adapters:
- Option GT 3G Fusion, GT Fusion Quad, etc. (only 3G part, not WLAN)
- Option GT 3G, GT 3G Quad, etc.
- Vodafone Mobile Connect Card 3G
- Vodafone Mobile Broadband K3772-Z
- Qualcomm Inc. CDMA MSM
- Huawei B190, E180v, E220 ('<Huawei Mobile>')
- Novatel U740, MC950D, X950D, etc.
- Sierra MC875U, MC8775U, etc.
(See /sys/dev/usb/serial/u3g.c for the complete list of supported cards for each vendor mentioned above.)
The supported 3G cards provide the necessary modem port for ppp, or mpd connections as well as extra ports (depending on the specific device) to provide other functions (additional command port, diagnostic port, SIM toolkit port).
In some of these devices a mass storage device supported by the umass(4) driver is present which contains Windows and Mac OS X drivers. The device starts up in disk mode (TruInstall, ZeroCD, etc.) and requires additional commands to switch it to modem mode. If your device is not switching automatically, please try to add quirks. See usbconfig(8) and usb_quirk4.