From owner-freebsd-usb@FreeBSD.ORG Mon Sep 22 15:30:03 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31FB71065670 for ; Mon, 22 Sep 2008 15:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 098328FC25 for ; Mon, 22 Sep 2008 15:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8MFU2bD039172 for ; Mon, 22 Sep 2008 15:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8MFU24o039169; Mon, 22 Sep 2008 15:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 22 Sep 2008 15:30:02 GMT Resent-Message-Id: <200809221530.m8MFU24o039169@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gavin Atkinson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05F07106566B for ; Mon, 22 Sep 2008 15:24:11 +0000 (UTC) (envelope-from gavin@blade32.york.ac.uk) Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247]) by mx1.freebsd.org (Postfix) with ESMTP id 63DC48FC23 for ; Mon, 22 Sep 2008 15:24:10 +0000 (UTC) (envelope-from gavin@blade32.york.ac.uk) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id m8MErYCx014006 for ; Mon, 22 Sep 2008 15:53:34 +0100 (BST) Received: from blade32.york.ac.uk ([144.32.128.181]) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Khmn8-00055L-8F for FreeBSD-gnats-submit@freebsd.org; Mon, 22 Sep 2008 15:53:34 +0100 Received: from blade32.york.ac.uk (localhost [127.0.0.1]) by blade32.york.ac.uk (8.14.2/8.14.2) with ESMTP id m8MErX9a043746 for ; Mon, 22 Sep 2008 15:53:34 +0100 (BST) (envelope-from gavin@blade32.york.ac.uk) Received: (from root@localhost) by blade32.york.ac.uk (8.14.2/8.14.2/Submit) id m8MErXZe043745; Mon, 22 Sep 2008 15:53:33 +0100 (BST) (envelope-from gavin) Message-Id: <200809221453.m8MErXZe043745@blade32.york.ac.uk> Date: Mon, 22 Sep 2008 15:53:33 +0100 (BST) From: Gavin Atkinson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/127543: [patch] [ubsa] Support Option Globetrotter HSDPA modem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 15:30:03 -0000 >Number: 127543 >Category: usb >Synopsis: [patch] [ubsa] Support Option Globetrotter HSDPA modem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 22 15:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gavin Atkinson >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD blade32.york.ac.uk 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Mon Aug 18 14:12:25 BST 2008 root@blade32.york.ac.uk:/usr/obj/usr/src/sys/B32 amd64 >Description: Add support for the USB HSDPA modem found in the Sony VGN-TZ31WN laptop, amongst others. >How-To-Repeat: N/A >Fix: Note that I've taken the name "Scorpion" from the Linux driver, which also contains a multitude of other product IDs we may want to port across wholesale. Note also that this patch is against -HEAD but has actually only been tested against RELENG_7. I don't believe there are any changes between the two that would mean this didn't work on -HEAD, however. --- hsdpa.diff begins here --- Index: src/sys/dev/usb/ubsa.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/ubsa.c,v retrieving revision 1.40 diff -u -r1.40 ubsa.c --- src/sys/dev/usb/ubsa.c 14 Sep 2008 15:21:22 -0000 1.40 +++ src/sys/dev/usb/ubsa.c 22 Sep 2008 12:49:27 -0000 @@ -238,6 +238,8 @@ { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS }, /* Option GlobeTrotter Max 3.6 */ { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAX36 }, + /* Option GlobeTrotter HSDPA */ + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_SCORPION }, /* Huawei Mobile */ { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E270 }, Index: src/sys/dev/usb/usbdevs =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.372 diff -u -r1.372 usbdevs --- src/sys/dev/usb/usbdevs 19 Sep 2008 09:04:06 -0000 1.372 +++ src/sys/dev/usb/usbdevs 22 Sep 2008 12:49:27 -0000 @@ -1871,6 +1871,7 @@ product OPTION GT3GQUAD 0x6300 GlobeTrotter 3G QUAD datacard product OPTION GT3GPLUS 0x6600 GlobeTrotter 3G+ datacard product OPTION GTMAX36 0x6701 GlobeTrotter Max 3.6 Modem +product OPTION SCORPION 0x6901 GlobeTrotter HSDPA Modem /* OQO */ product OQO WIFI01 0x0002 model 01 WiFi interface --- hsdpa.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: