the kernel doesn't recognize Option GlobeSurfer 3G+ ICON device

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

the kernel doesn't recognize Option GlobeSurfer 3G+ ICON device

Victor Meghesan
X-sendbug-version: 3.97

>Submitter-Id:  net
>Originator:    Victor Meghesan
>Organization:
net
>Synopsis:      USB support for Option GlobeSurfer 3G+ ICON device
>Severity:      non-critical
>Priority:      low
>Category:      kernel
>Class:         change-request
>Release:       4.0-stable
>Environment:
       
        System      : OpenBSD 4.0
        Architecture: OpenBSD.i386
        Machine     : i386

>Description:

With the default kernel /bsd from OpenBSD 4.0 the external
USB Option GlobeTrotter 3G+ ICON device is not recognized properly.

Here is the "before" full output of 'usbdevs -v -d'

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
  uhub0
 port 1 powered
 port 2 addr 2: full speed, power 500 mA, config 1, GlobeTrotter 3G+
Module(0x6600), Option N.V.(0x0af0), rev 0.01
   ugen0

Here are the "before" significant output lines from 'dmesg'

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
...
ugen0 at uhub0 port 2
ugen0: Option N.V. GlobeTrotter 3G+ Module, rev 1.10/0.01, addr 2
....

>How-To-Repeat:

Just attach the device.

>Fix:

After applying the patch (see diff below) and rebuilding the GENERIC kernel
the device is properly recognized and can be used as a 'ppp mobile' modem

Here is the "after" full output of 'usbdevs -v -d'

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
  uhub0
 port 1 powered
 port 2 addr 2: full speed, power 500 mA, config 1, GlobeTrotter 3G+
Module(0x6600), Option N.V.(0x0af0), rev 0.01
   ubsa0

Here are the "after" significant output lines from 'dmesg'

OpenBSD 4.0 (GENERIC) #0: Sun Feb 18 12:11:17 EET 2007
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
...
ubsa0 at uhub0 port 2
ubsa0: Option N.V. GlobeTrotter 3G+ Module, rev 1.10/0.01, addr 2
ucom0 at ubsa0
...

Here is the output of 'cu -l /dev/cuaU0'

Connected
ati0
Manufacturer: Option N.V.
Model: GlobeSurfer ICON
Revision: 3.20.0Wd (Date: Oct 17 2006, Time: 13:17:59)

OK
~
[EOT]


Here is the output of 'diff -aur ./sys/dev/usb/ /usr/src/sys/dev/usb/'

diff -aur ./sys/dev/usb/ubsa.c /usr/src/sys/dev/usb/ubsa.c
--- ./sys/dev/usb/ubsa.c        Wed Aug 16 02:57:10 2006
+++ /usr/src/sys/dev/usb/ubsa.c Sun Feb 18 11:46:55 2007
@@ -237,6 +237,8 @@
        { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GFUSION },
        /* Option GlobeTrotter 3G QUAD */
        { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUAD },
+       /* Option GlobeTrotter 3G QUAD PLUS */
+       { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUADPLUS },
 };
 #define ubsa_lookup(v, p) usb_lookup(ubsa_devs, v, p)
 
diff -aur ./sys/dev/usb/usbdevs /usr/src/sys/dev/usb/usbdevs
--- ./sys/dev/usb/usbdevs       Sat Sep 16 23:59:19 2006
+++ /usr/src/sys/dev/usb/usbdevs        Sun Feb 18 11:45:09 2007
@@ -2141,6 +2141,7 @@
 product OPTION VODAFONEMC3G    0x5000  Vodafone Mobile Connect 3G
 product OPTION GT3GFUSION      0x6000  GlobeTrotter 3G FUSION
 product OPTION GT3GQUAD                0x6300  GlobeTrotter 3G QUAD
+product OPTION GT3GQUADPLUS    0x6600  GlobeTrotter 3G QUAD PLUS
 
 /* Wacom products */
 product WACOM CT0405U          0x0000  CT-0405-U Tablet
diff -aur ./sys/dev/usb/usbdevs.h /usr/src/sys/dev/usb/usbdevs.h
--- ./sys/dev/usb/usbdevs.h     Sat Sep 16 23:59:19 2006
+++ /usr/src/sys/dev/usb/usbdevs.h      Sun Feb 18 11:42:33 2007
@@ -2148,6 +2148,7 @@
 #define        USB_PRODUCT_OPTION_VODAFONEMC3G 0x5000          /* Vodafone
Mobile Connect 3G */
 #define        USB_PRODUCT_OPTION_GT3GFUSION   0x6000          /*
GlobeTrotter 3G FUSION */
 #define        USB_PRODUCT_OPTION_GT3GQUAD     0x6300          /*
GlobeTrotter 3G QUAD */
+#define        USB_PRODUCT_OPTION_GT3GQUADPLUS 0x6600          /*
GlobeTrotter 3G QUAD PLUS */
 
 /* Wacom products */
 #define        USB_PRODUCT_WACOM_CT0405U       0x0000          /*
CT-0405-U Tablet */
diff -aur ./sys/dev/usb/usbdevs_data.h /usr/src/sys/dev/usb/usbdevs_data.h
--- ./sys/dev/usb/usbdevs_data.h        Sat Sep 16 23:59:19 2006
+++ /usr/src/sys/dev/usb/usbdevs_data.h Sun Feb 18 11:43:37 2007
@@ -4227,6 +4227,10 @@
            "GlobeTrotter 3G QUAD",
        },
        {
+           USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUADPLUS,
+           "GlobeTrotter 3G QUAD PLUS",
+       },
+       {
            USB_VENDOR_WACOM, USB_PRODUCT_WACOM_CT0405U,
            "CT-0405-U Tablet",
        },

-- Victor



 
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com

Reply | Threaded
Open this post in threaded view
|

Re: the kernel doesn't recognize Option GlobeSurfer 3G+ ICON device

Felix Kronlage-2
On Tue, Feb 20, 2007 at 07:57:42PM -0800, Victor Meghesan wrote:

> >Synopsis:      USB support for Option GlobeSurfer 3G+ ICON device
> >Severity:      non-critical
[...]
> After applying the patch (see diff below) and rebuilding the GENERIC kernel
> the device is properly recognized and can be used as a 'ppp mobile' modem

thanks for the diff. I just applied the change.

felix