ZTE MF626 USB modem not recognized by network-manager 0.7

Bug #297598 reported by RobertFullarton
12
Affects Status Importance Assigned to Milestone
NetworkManager
Invalid
Undecided
Unassigned
modemmanager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

Network-manager(version 0.7) doesn't recognize this modem. (zte mf626 Telstra Pre-paid 3g)
I'm using Ubuntu 8.10.
I used usb_modeswitch to get the modem to switch to modem mode using the mf-628+ part of the conf file.

lsusb -vvv reports

Bus 005 Device 003: ID 19d2:0031
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x19d2
  idProduct 0x0031
  bcdDevice 0.00
  iManufacturer 2 ZTE, Incorporated
  iProduct 1 ZTE CDMA Technologies MSM
  iSerial 3 1234567890ABCDEF
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 108
    bNumInterfaces 4
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      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 32
      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 32
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 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 32
      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 32
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk (Zip)
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x03 EP 3 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 0x83 EP 3 IN
        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 3
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x84 EP 4 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 5
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
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

Revision history for this message
RobertFullarton (robert-fullartons) wrote :
Revision history for this message
reidy90 (jacksonreid) wrote :

Currently this modem does work in ubuntu through the use of gnome-ppp.

I followed instructions at http://www.matt-barrett.com/?p=5 to get it going.

It would be great if this modem would work straight out of the box with ubuntu and network manager 0.7. This is a popular usb modem in Australia sold through the telco Telstra.

Revision history for this message
Santiago Roland (santiago-roland) wrote :
Download full text (4.4 KiB)

i was googeling because ia have a ZTE MF626 USB modem and i already tried usb_modeswitch and modprobe usbserial and everithing worked fine... but the modem disconnected after 2 or 3 minutes... sometimes longer connections... may be signal... but the thing is that i sonetimes unplugged the device and plugged back and "lsusb" showed nothing... i tried "dmesg" and showed

[ 3408.164107] usb 1-2: new high speed USB device using ehci_hcd and address 21
[ 3408.276063] usb 1-2: device descriptor read/64, error -71
[ 3408.493089] usb 1-2: device descriptor read/64, error -71
[ 3408.708099] usb 1-2: new high speed USB device using ehci_hcd and address 22
[ 3408.821058] usb 1-2: device descriptor read/64, error -71
[ 3409.036085] hub 1-0:1.0: unable to enumerate USB device on port 2

and looking for the error messages i found a russian website with some interesting things... try google translator and it understands quite well... it seems to be that the kernel has some "UNUSUAL_DEV"... and the numbers...

# cat /usr/src/linux/drivers/usb/storage/unusual_devs.h
...

...UNUSUAL_DEV( 0x19d2, 0x2000, 0x0000, 0x0000,
                "Onda ET502HS",
                "USB MMC Storage",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_IGNORE_DEVICE),

i think this is the kernel source and they edited (commented that devices) and rebuilded and rebooted... and it works fine or kind of... or at least dmesg don't show nasty messagges...

As a comment, after unplugged my usb modem, and waited like half an hour, y plugged it back and "lsusb" show the damn modem.... so i can use modeswitch and modprobe to get connected again...

is there any chance to get an update (after a fix for this off course)... that connects me automatically?

http://www.gentoo.ru/node/12140?page=1

and recently it disconnects every 20 seconds after connet to my internet provider... annoying...
dmesg shows this

[10898.928089] usb 2-2: new high speed USB device using ehci_hcd and address 13
[10899.065674] usb 2-2: configuration #1 chosen from 1 choice
[10899.068907] usbserial_generic 2-2:1.0: GSM modem (1-port) converter detected
[10899.071853] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[10899.075121] usbserial_generic 2-2:1.1: GSM modem (1-port) converter detected
[10899.078199] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[10899.083102] scsi14 : SCSI emulation for USB Mass Storage devices
[10899.085383] usbserial_generic 2-2:1.3: GSM modem (1-port) converter detected
[10899.087646] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[10899.091567] usb-storage: device found at 13
[10899.091586] usb-storage: waiting for device to settle before scanning
[10904.088869] usb-storage: device scan complete
[10904.091358] scsi 14:0:0:0: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
[10904.094209] sd 14:0:0:0: [sdb] 3987456 512-byte hardware sectors (2042 MB)
[10904.097129] sd 14:0:0:0: [sdb] Write Protect is off
[10904.097144] sd 14:0:0:0: [sdb] Mode Sense: 0f 0e 00 00
[10904.097151] sd 14:0:0:0: [sdb] Assuming drive cache: write through
[10904.102682] sd 14:0:0:0: [sdb] 3987456 512-byte hardware sectors (2042 MB)
[10...

Read more...

Revision history for this message
Santiago Roland (santiago-roland) wrote :

i aslo tried wdial to get connected to the modem but it disconnects after a few seconds... the device continues to be ejected or some... and i cant connect to the web...

please give a solution,
another question... is this bug also in Jaunty?

regards.

Revision history for this message
Laurent GUERBY (laurent-guerby) wrote :

My USB stick comes from french provider Bouygues Telecom and is also labeled MF626 but has a different USB id:

Bus 001 Device 010: ID 19d2:2000
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x19d2
  idProduct 0x2000
  bcdDevice 0.00
  iManufacturer 2 ZTE, Incorporated
  iProduct 1 ZTE CDMA Technologies MSM
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 5 SFF-8070i
      bInterfaceProtocol 80
      iInterface 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
      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
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

When I plug the key in ubuntu juanty latest beta I get:

Apr 1 13:36:44 m kernel: [ 9429.564296] usb 1-1: USB disconnect, address 9
Apr 1 13:36:52 m kernel: [ 9437.756068] usb 1-1: new high speed USB device using ehci_hcd and address 10
Apr 1 13:36:52 m kernel: [ 9437.899674] usb 1-1: configuration #1 chosen from 1 choice
Apr 1 13:36:53 m kernel: [ 9437.976237] usb-storage: device ignored

And of course nothing works.

Revision history for this message
Neil Houghton (neil-houghton-gmail) wrote :

The Jaunty bug is a huge mess, see https://bugs.launchpad.net/ubuntu/jaunty/+source/linux/+bug/305968/

I'm currently fighting with it now, I don't see a proper way to fix this. I really hope they sort something before Jaunty final.

Changed in network-manager:
status: New → Invalid
Revision history for this message
Przemek K. (azrael) wrote :

My modem works after I used the howto from Ubuntu forums:
http://ubuntuforums.org/showthread.php?t=1147685

Revision history for this message
Przemek K. (azrael) wrote :

My ZTE MF 626 works out of the box in Karmic (beta). I just had to eject the ZTE-driver pseudo-cd after plugging it in for the first time.

Revision history for this message
Alexander Sack (asac) wrote :

thx for the update. fixed in modemmanager.

affects: network-manager (Ubuntu) → modemmanager (Ubuntu)
Changed in modemmanager (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.