usb/138172: Additional dev id for u3g (Option mini PCIe)
Hans Petter Selasky
hselasky at c2i.net
Tue Sep 1 15:55:34 UTC 2009
On Tuesday 01 September 2009 17:40:07 Mike Tancsa wrote:
> The following reply was made to PR usb/138172; it has been noted by GNATS.
>
> From: Mike Tancsa <mike at sentex.net>
> To: bug-followup at FreeBSD.org, mike at sentex.ca
> Cc:
> Subject: Re: usb/138172: Additional dev id for u3g (Option mini PCIe)
> Date: Tue, 01 Sep 2009 10:52:00 -0400
>
> Here is an additional device ID for an Option 380 PCIe. The U760 is
> also in the diff below (http://www.freebsd.org/cgi/query-pr.cgi?pr=138138)
>
> ---Mike
>
> --- /tmp/usbdevs 2009-09-01 10:36:23.000000000 -0400
> +++ usbdevs 2009-09-01 10:25:53.000000000 -0400
> @@ -1917,6 +1917,8 @@
> product OPTION GTICON322 0xd033 GlobeTrotter Icon322 storage
> product OPTION GTMAX36 0x6701 GlobeTrotter Max 3.6 Modem
> product OPTION GTMAXHSUPA 0x7001 GlobeTrotter HSUPA
> +product OPTION GTMAXHSUPAE 0x6901 GlobeTrotter HSUPA PCIe
> +product OPTION GTMAX380HSUPAE 0x7211 GlobeTrotter 380HSUPA PCIe
>
> /* OQO */
> product OQO WIFI01 0x0002 model 01 WiFi interface
>
>
>
> --- /tmp/u3g-orig.c 2009-09-01 10:37:15.000000000 -0400
> +++ u3g.c 2009-09-01 10:38:24.000000000 -0400
> @@ -16,7 +16,7 @@
> * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
> OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
> - * $FreeBSD: src/sys/dev/usb/u3g.c,v 1.24.2.5 2009/08/13 07:19:43
> n_hibma Exp $
> + * $FreeBSD: src/sys/dev/usb/u3g.c,v 1.24.2.4 2009/07/09 15:29:26
> n_hibma Exp $
> */
>
> /*
> @@ -134,6 +134,8 @@
> {{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS
> }, U3GSP_UMTS, U3GINIT_NONE },
> {{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAX36
> }, U3GSP_HSDPA, U3GINIT_NONE },
> {{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAXHSUPA
> }, U3GSP_HSDPA, U3GINIT_NONE },
> + {{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAXHSUPAE
> }, U3GSP_HSDPA, U3GINIT_NONE },
> + {{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAX380HSUPAE
> }, U3GSP_HSDPA, U3GINIT_NONE },
> {{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_VODAFONEMC3G
> }, U3GSP_UMTS, U3GINIT_NONE },
> /* OEM: Qualcomm, Inc. */
> {{ USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_ZTE_STOR
> }, U3GSP_CDMA, U3GINIT_ZTESTOR },
> @@ -144,6 +146,7 @@
> {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220
> }, U3GSP_HSPA, U3GINIT_HUAWEI },
> /* OEM: Novatel */
> {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_CDMA_MODEM
> }, U3GSP_CDMA, U3GINIT_EJECT },
> + {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U760
> }, U3GSP_CDMA, U3GINIT_EJECT },
> {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_ES620
> }, U3GSP_UMTS, U3GINIT_EJECT }, // XXX
> {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MC950D
> }, U3GSP_HSUPA, U3GINIT_EJECT },
> {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U720
> }, U3GSP_UMTS, U3GINIT_EJECT }, // XXX
>
>
> # cu -l /dev/cuaU0.2
> Connected
> ati
> Manufacturer: Option N.V.
> Model: GTM380
> Revision: 2.12.0Hd (Date: May 27 2008, Time: 11:19:10)
>
> OK
>
> ucom0: <Option N.V. Globetrotter HSUPA Modem, class 255/255, rev
> 1.10/0.00, addr 2> on uhub0
> ucom0: Interface 0 of 3, not in use
> ucom0: Endpoint 0 of 3
> ucom0: Endpoint 1 of 3
> ucom0: port=0 iface=0 in=0x83 out=0x3
> ucom0: Endpoint 2 of 3
> ucom0: Interface 1 of 3, not in use
> ucom0: Endpoint 0 of 2
> ucom0: Endpoint 1 of 2
> ucom0: port=1 iface=1 in=0x84 out=0x4
> ucom0: Interface 2 of 3, not in use
> ucom0: Endpoint 0 of 3
> ucom0: Endpoint 1 of 3
> ucom0: Endpoint 2 of 3
> ucom0: port=2 iface=2 in=0x82 out=0x2
> ucom0: configured 3 serial ports (U0.%d)
>
>
> # usbdevs -v
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
> AMD(0x0000), rev 1.00
> port 1 powered
> port 2 addr 2: full speed, power 500 mA, config 1, Globetrotter
> HSUPA Modem(0x7211), Option N.V.(0x0af0), rev 0.00
> port 3 powered
> port 4 powered
> Controller /dev/usb1:
> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
> AMD(0x0000), rev 1.00
> port 1 powered
> port 2 powered
> port 3 powered
> port 4 powered
>
> The only odd quirk of this one is that cuaU0.0, cuaU0.1 do not work.
> Everything needs to be done through .2 ?
>
>
> ---Mike
>
>
Does your patch apply to 8+9-current ?
--HPS
More information about the freebsd-usb
mailing list