USB_ModeSwitch
http://www.draisberghof.de/usb_modeswitch/bb/

HUAWEI E1820
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t=243
Page 1 of 1

Author:  frankmcn [ Mon Oct 26, 2009 5:35 pm ]
Post subject:  HUAWEI E1820 ?

Has anyone got a HUAWEI E1820 working yet? This must be new because I can't find anything about it anywhere!

It doesn't work with any of the other HUAWEI configurations I've tried, so it probably has some new built in difficulty! The Windows software that came with the one I'm working on is called 'Tele2 Mobile Partner' but clearly made by HUAWEI.

I haven't managed to get any USB monitoring software to work on the windows machines I have at hand, but if I do and nobody else has already discovered the MessageContent, I'll post my results here.

I hope someone can help me here!

lsusb -v gave this:
Code:
Bus 001 Device 020: ID 12d1:1446 Huawei Technologies Co., Ltd.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x12d1 Huawei Technologies Co., Ltd.
  idProduct          0x1446
  bcdDevice            0.00
  iManufacturer           3 Huawei Technologies
  iProduct                2 HUAWEI Mobile
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           55
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          1 Huawei Configuration
    bmAttributes         0xc0
      Self Powered
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
     bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Author:  Josh [ Thu Oct 29, 2009 8:50 pm ]
Post subject: 

Why not just try the entry of the E1550 which looks identical to your's? It's in version 1.0.5 ...

Author:  KarolGolab [ Thu Nov 19, 2009 10:05 pm ]
Post subject:  HUAWEI E1820

I tried to use the usb_modeswitch (by hand) with the message given for the E1550 modem - to no avail.

The exact command given was:
usb_modeswitch -v 12d1 -p 14ac -W -M 55534243123456780000000000000011060000000000000000000000000000

One interesting thing I noticed is that the lsusb gave different readings (before running usb_modeswitch):
12d1:1446 at first
12d1:14ac after a short while (and then the USB disk got mounted)

I'm using Ubuntu 9.10.

Author:  Josh [ Thu Nov 19, 2009 11:45 pm ]
Post subject: 

Maybe you don't need to switch by hand.

The USB drive that is mounted could be a card slot in the device, and the device was switched all right, probably by the kernel.

If you try to switch the 0x14ac device you most likely treat the wrong part of the device.

You can try to bind the "option" driver to see if I'm right. Use trick with "new_id" as described in most of the recent threads in this forum.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/