Date: Tue, 25 Aug 2009 15:19:39 GMT From: mike tancsa <mike@sentex.ca> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/138172: Additional dev id for u3g (Option mini PCIe) Message-ID: <200908251519.n7PFJdZw076530@www.freebsd.org> Resent-Message-ID: <200908251520.n7PFK1QC004639@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138172 >Category: usb >Synopsis: Additional dev id for u3g (Option mini PCIe) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 25 15:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: mike tancsa >Release: 7.x >Organization: sentex communications >Environment: 7.2-STABLE #0: Mon Jul 27 11:34:30 EDT 2009 >Description: Add support for the Option mini pci express GPRS/HSPDA 3g modem via the u3g driver ati3 Manufacturer: Option N.V. Model: GTM378 Revision: 1.12.4SHd (Date: Aug 01 2007, Time: 14:34:05) This is used in http://www.pcengines.ch/alix3d2.htm >How-To-Repeat: Apply the patch below, otherwise its not recognized. Following PPP config works with Rogers Wireless (Canada) pppgprs: set device /dev/cuaU0.0 set speed 115200 set timeout 0 set authname MOM set authkey hi set dial "ABORT BUSY TIMEOUT 2 \ \"\" \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"internet.com\\\" OK \ AT+CGACT? OK-AT-OK \ AT+CNUM OK \ AT+COPS? OK \ ATD*99# CONNECT" set crtscts on disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo nat enable yes enable dns resolv writable set dns 208.67.220.220 208.67.222.222 # openDNS set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR # See ppp.link* >Fix: --- usbdevs.prev 2009-08-25 10:36:01.000000000 -0400 +++ usbdevs 2009-08-25 10:37:06.000000000 -0400 @@ -1917,6 +1917,7 @@ 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 /* OQO */ product OQO WIFI01 0x0002 model 01 WiFi interface # diff -u u3g.c.prev u3g.c --- u3g.c.prev 2009-08-25 10:37:13.000000000 -0400 +++ u3g.c 2009-08-25 10:37:35.000000000 -0400 @@ -134,6 +134,7 @@ {{ 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_VODAFONEMC3G }, U3GSP_UMTS, U3GINIT_NONE }, /* OEM: Qualcomm, Inc. */ {{ USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_ZTE_STOR }, U3GSP_CDMA, U3GINIT_ZTESTOR }, dmesg now shows ucom0: <Option N.V. Globetrotter HSDPA 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: Endpoint 2 of 3 ucom0: port=0 iface=0 in=0x82 out=0x2 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 2 ucom0: Endpoint 1 of 2 ucom0: port=2 iface=2 in=0x85 out=0x5 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 HSDPA Modem(0x6901), 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908251519.n7PFJdZw076530>