From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 16 17:50:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EBDB16A401 for ; Mon, 16 Apr 2007 17:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3F83513C489 for ; Mon, 16 Apr 2007 17:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GHo2kZ077525 for ; Mon, 16 Apr 2007 17:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GHo2Jm077524; Mon, 16 Apr 2007 17:50:02 GMT (envelope-from gnats) Resent-Date: Mon, 16 Apr 2007 17:50:02 GMT Resent-Message-Id: <200704161750.l3GHo2Jm077524@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simun Mikecin Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C08EB16A400 for ; Mon, 16 Apr 2007 17:48:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id AFFD913C4B0 for ; Mon, 16 Apr 2007 17:48:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l3GHmlaV047182 for ; Mon, 16 Apr 2007 17:48:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l3GHhjIX045627; Mon, 16 Apr 2007 17:43:45 GMT (envelope-from nobody) Message-Id: <200704161743.l3GHhjIX045627@www.freebsd.org> Date: Mon, 16 Apr 2007 17:43:45 GMT From: Simun Mikecin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/111710: [patch] [usb] add support for Option GlobeTrotter 3G+ X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 17:50:02 -0000 >Number: 111710 >Category: misc >Synopsis: [patch] [usb] add support for Option GlobeTrotter 3G+ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Apr 16 17:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Simun Mikecin >Release: 6.2-STABLE >Organization: >Environment: FreeBSD qosmio.home.hr 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Mar 15 19:38:43 CET 2007 root@qosmio.home.hr:/usr/obj/usr/src.6/sys/QOSMIO i386 >Description: This patch adds support for Option (http://www.option.com) series of USB modems that identify itself as "Option GlobeTrotter 3G+". I have seen a similar patch for OpenBSD. Tested using "Option GlobeSurfer Icon" (which by default shows as a mass storage device, and has to be switched first to a modem by sending switchover commands to the device (see icon_switch.c: http://www.google.hrsearch?hl=hr&q=icon_switch.c&btnG=Google+pretraga&meta=) and then attached by ubsa driver. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN old/ubsa.c new/ubsa.c --- old/ubsa.c Wed Feb 14 20:57:15 2007 +++ new/ubsa.c Mon Apr 16 18:20:33 2007 @@ -232,6 +232,8 @@ { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3G }, /* Option GlobeTrotter 3G QUAD */ { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUAD }, + /* Option GlobeTrotter 3G+ */ + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS }, /* Huawei Mobile */ { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, { 0, 0 } diff -urN old/usbdevs new/usbdevs --- old/usbdevs Wed Mar 14 05:31:53 2007 +++ new/usbdevs Mon Apr 16 18:19:26 2007 @@ -1686,6 +1686,7 @@ product OPTION VODAFONEMC3G 0x5000 Vodafone Mobile Connect 3G datacard product OPTION GT3G 0x6000 GlobeTrotter 3G datacard product OPTION GT3GQUAD 0x6300 GlobeTrotter 3G QUAD datacard +product OPTION GT3GPLUS 0x6600 GlobeTrotter 3G+ datacard /* VTech products */ product VTECH RT2570 0x3012 RT2570 >Release-Note: >Audit-Trail: >Unformatted: