Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Sep 2009 16:40:25 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Hans Petter Selasky <hselasky@c2i.net>, freebsd-usb@freebsd.org
Subject:   Re: usb/138172: Additional dev id for u3g (Option mini PCIe)
Message-ID:  <200909012036.n81Kasgg015091@lava.sentex.ca>
In-Reply-To: <200909011755.47148.hselasky@c2i.net>
References:  <200909011540.n81Fe7ai036952@freefall.freebsd.org> <200909011755.47148.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:55 AM 9/1/2009, Hans Petter Selasky wrote:
>On Tuesday 01 September 2009 17:40:07 Mike Tancsa wrote:
> >
>
>Does your patch apply to 8+9-current ?


Here are the diffs for 8+9-current

I tested the Option mini-pci-express units. I dont have the novatel 
handy right now, but it should work

--- usbdevs.orig        2009-09-01 15:39:55.000000000 -0400
+++ usbdevs     2009-09-01 15:40:32.000000000 -0400
@@ -1930,6 +1930,8 @@
  product OPTION GTMAX36         0x6701  GlobeTrotter Max 3.6 Modem
  product OPTION GTHSDPA         0x6971  GlobeTrotter HSDPA
  product OPTION GTMAXHSUPA      0x7001  GlobeTrotter HSUPA
+product OPTION GTMAXHSUPAE      0x6901  GlobeTrotter HSUPA PCIe
+product OPTION GTMAX380HSUPAE   0x7211  GlobeTrotter 380HSUPA PCIe

  /* OQO */
  product OQO WIFI01             0x0002  model 01 WiFi interface

--- u3g.c.prev  2009-08-13 08:44:26.000000000 -0400
+++ u3g.c       2009-09-01 16:16:45.000000000 -0400
@@ -180,6 +180,8 @@
         U3G_DEV(OPTION, GTMAX36, 0),
         U3G_DEV(OPTION, GTHSDPA, 0),
         U3G_DEV(OPTION, GTMAXHSUPA, 0),
+       U3G_DEV(OPTION, GTMAXHSUPAE, 0),
+       U3G_DEV(OPTION, GTMAX380HSUPAE, 0),
         U3G_DEV(OPTION, VODAFONEMC3G, 0),
         /* OEM: Qualcomm, Inc. */
         U3G_DEV(QUALCOMMINC, ZTE_STOR, U3GFL_SCSI_EJECT),
@@ -204,6 +206,7 @@
         U3G_DEV(NOVATEL, X950D, 0),
         U3G_DEV(NOVATEL, XU870, 0),
         U3G_DEV(NOVATEL, ZEROCD, U3GFL_SCSI_EJECT),
+       U3G_DEV(NOVATEL, U760, U3GFL_SCSI_EJECT),
         U3G_DEV(DELL, U740, 0),
         /* OEM: Merlin */
         U3G_DEV(MERLIN, V620, 0),



alix# usbconfig show_ifdrv
ugen0.1: <OHCI root HUB AMD> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.1.0: uhub0: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1>
ugen1.1: <EHCI root HUB AMD> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen1.1.0: uhub1: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1>
ugen0.2: <Globetrotter HSUPA Modem Option N.V.> at usbus0, cfg=0 
md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.2.0: u3g0: <Data Interface>
alix#


ugen0.2: <Globetrotter HSUPA Modem Option N.V.> at usbus0, cfg=0 
md=HOST spd=FULL (12Mbps) pwr=ON

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0110
   bDeviceClass = 0x00ff
   bDeviceSubClass = 0x00ff
   bDeviceProtocol = 0x00ff
   bMaxPacketSize0 = 0x0040
   idVendor = 0x0af0
   idProduct = 0x7211
   bcdDevice = 0x0000
   iManufacturer = 0x0001  <Option N.V.>
   iProduct = 0x0002  <Globetrotter HSUPA Modem  >
   iSerialNumber = 0x0004  <Serial Number>
   bNumConfigurations = 0x0001




ugen0.2: <Globetrotter HSUPA Modem Option N.V.> at usbus0, cfg=0 
md=HOST spd=FULL (12Mbps) pwr=ON


  Configuration index 0

     bLength = 0x0009
     bDescriptorType = 0x0002
     wTotalLength = 0x005f
     bNumInterfaces = 0x0003
     bConfigurationValue = 0x0001
     iConfiguration = 0x0000  <no string>
     bmAttributes = 0x00a0
     bMaxPower = 0x00fa

     Interface 0
       bLength = 0x0009
       bDescriptorType = 0x0004
       bInterfaceNumber = 0x0000
       bAlternateSetting = 0x0000
       bNumEndpoints = 0x0003
       bInterfaceClass = 0x00ff
       bInterfaceSubClass = 0x00ff
       bInterfaceProtocol = 0x00ff
       iInterface = 0x0003  <Data Interface>

      Endpoint 0
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0083
         bmAttributes = 0x0002
         wMaxPacketSize = 0x0040
         bInterval = 0x0000
         bRefresh = 0x0000
         bSynchAddress = 0x0000

      Endpoint 1
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0003
         bmAttributes = 0x0002
         wMaxPacketSize = 0x0040
         bInterval = 0x0000
         bRefresh = 0x0000
         bSynchAddress = 0x0000

      Endpoint 2
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0085
         bmAttributes = 0x0003
         wMaxPacketSize = 0x0010
         bInterval = 0x0080
         bRefresh = 0x0000
         bSynchAddress = 0x0000

       Additional Descriptor

       bLength = 0x03
       bDescriptorType = 0x24
       bDescriptorSubType = 0x03
        RAW dump:
        0x00 | 0x03, 0x24, 0x03



     Interface 1
       bLength = 0x0009
       bDescriptorType = 0x0004
       bInterfaceNumber = 0x0001
       bAlternateSetting = 0x0000
       bNumEndpoints = 0x0002
       bInterfaceClass = 0x00ff
       bInterfaceSubClass = 0x00ff
       bInterfaceProtocol = 0x00ff
       iInterface = 0x0003  <Data Interface>

      Endpoint 0
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0084
         bmAttributes = 0x0002
         wMaxPacketSize = 0x0040
         bInterval = 0x0000
         bRefresh = 0x0000
         bSynchAddress = 0x0000

      Endpoint 1
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0004
         bmAttributes = 0x0002
         wMaxPacketSize = 0x0040
         bInterval = 0x0000
         bRefresh = 0x0000
         bSynchAddress = 0x0000


     Interface 2
       bLength = 0x0009
       bDescriptorType = 0x0004
       bInterfaceNumber = 0x0002
       bAlternateSetting = 0x0000
       bNumEndpoints = 0x0003
       bInterfaceClass = 0x00ff
       bInterfaceSubClass = 0x00ff
       bInterfaceProtocol = 0x00ff
       iInterface = 0x0003  <Data Interface>

      Endpoint 0
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0081
         bmAttributes = 0x0003
         wMaxPacketSize = 0x0010
         bInterval = 0x0080
         bRefresh = 0x0000
         bSynchAddress = 0x0000

      Endpoint 1
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0082
         bmAttributes = 0x0002
         wMaxPacketSize = 0x0040
         bInterval = 0x0000
         bRefresh = 0x0000
         bSynchAddress = 0x0000

      Endpoint 2
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0002
         bmAttributes = 0x0002
         wMaxPacketSize = 0x0040
         bInterval = 0x0000
         bRefresh = 0x0000
         bSynchAddress = 0x0000


Used the same ppp.conf and all looks good with my provider.

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
         inet 10.141.132.86 --> 10.1.0.1 netmask 0xffffffff
         Opened by PID 1151

         ---Mike


>--HPS

--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909012036.n81Kasgg015091>