>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 [EMAIL PROTECTED]:/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:
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to