Langue: en

Autres versions - même langue

Version: 300157 (debian - 07/07/09)

Section: 4 (Pilotes et protocoles réseau)

BSD mandoc


u3g - USB support for 3G datacards


To compile this driver into the kernel, place the following lines in your kernel configuration file:
device u3g device ucom

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:



The driver provides support for the multiple USB-to-serial interfaces exposed by many 3G USB/PCCard modems.

The device is accessed through the ucom(4) driver which makes it behave like a tty(4).


The driver supports the following adapters:

(See /sys/dev/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, pppd, 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.

The u3gstub(4) device will attach temporarily to a 3G device with a mass storage device and force it to switch to modem mode, The attach and detach of u3gstub and any driver disk device present on the 3G device is is hidden, unless the machine was booted in verbose mode (see boot(8)). To temporarily unhide the device, set debug.bootverbose to 1 using sysctl(8) and replug the device.


tty(4), ucom(4), usb(4)


The driver appeared in Fx 7.2 , is based on the uark(4) driver, and written by An Andrea Guzzo Aq aguzzo@anywi.com in September 2008.


The driver was written by An Andrea Guzzo Aq aguzzo@anywi.com and An Nick Hibma Aq n_hibma@freebsd.org . Hardware for testing was provided by AnyWi Technologies, Leiden, NL.