Problems with Sierra Wireless EM7305

Harald Jung - ECOS Technology Harald.Jung at ecos.de
Wed Jul 13 07:16:12 UTC 2016


Hi,



when I try to run the modem with qmi support, nm-applet askes for the pin.
The SIM accepts the PIN and after a while the motdem resets itself and disappears from the usb bus, to show up after 1-2 seconds again.

If I do it to often, the Modem changes its product_id to 9040 and has only 1 Interface (udev loads qcserial) and only 1 bConfiguration Value.

And it doesn't work at all, the only thing which helps is to remove all power supply.

After that it shows up with the product_id 9041 again.

Kernel Version is 4.5.7



When I Try to run the modem in mbim mode, I'll get this messages:



Jul 12 16:33:37 ThinClient kernel: usbcore: registered new interface driver cdc_ncm
Jul 12 16:33:38 ThinClient kernel: usbcore: registered new interface driver cdc_wdm
Jul 12 16:33:38 ThinClient kernel: cdc_mbim 3-11:2.12: cdc-wdm0: USB WDM device
Jul 12 16:33:38 ThinClient kernel: cdc_mbim 3-11:2.12 wwan0: register 'cdc_mbim' at usb-0000:00:14.0-11, CDC MBIM, a6:b5:9c:ec:6b:b5
Jul 12 16:33:38 ThinClient kernel: usbcore: registered new interface driver cdc_mbim
Jul 12 16:33:38 ThinClient ModemManager[2100]: opening device...
Jul 12 16:33:38 ThinClient ModemManager[2100]: cannot connect to proxy: Could not connect: Connection refused
Jul 12 16:33:38 ThinClient ModemManager[2100]: spawning new mbim-proxy (try 1)...
Jul 12 16:33:38 ThinClient ModemManager[2100]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Jul 12 16:33:38 ThinClient ModemManager[2100]: [/dev/cdc-wdm0] unexpected port hangup!
Jul 12 16:34:08 ThinClient ModemManager[2100]: proxy configuration failed: closed
Jul 12 16:34:08 ThinClient ModemManager[2100]: <info> Creating modem with plugin 'Generic' and '2' ports 
Jul 12 16:34:08 ThinClient ModemManager[2100]: <warn> Could not grab port (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported' 
Jul 12 16:34:08 ThinClient ModemManager[2100]: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11': Failed to find primary AT port 
Jul 12 16:37:17 ThinClient ModemManager[2100]: <info> Caught signal, shutting down... 
Jul 12 16:37:17 ThinClient NetworkManager[2193]: <info> ModemManager disappeared from bus
Jul 12 16:37:17 ThinClient ModemManager[2100]: <info> ModemManager is shut down 
Jul 12 16:37:17 ThinClient ModemManager[4512]: <info> ModemManager (version 1.4.12) starting in system bus... 
Jul 12 16:37:17 ThinClient NetworkManager[2193]: <info> ModemManager disappeared from bus
Jul 12 16:37:17 ThinClient NetworkManager[2193]: <info> ModemManager available in the bus
Jul 12 16:37:17 ThinClient ModemManager[4512]: opening device...
Jul 12 16:37:17 ThinClient ModemManager[4512]: cannot connect to proxy: Could not connect: Connection refused
Jul 12 16:37:17 ThinClient ModemManager[4512]: spawning new mbim-proxy (try 1)...
Jul 12 16:37:17 ThinClient ModemManager[4512]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Jul 12 16:37:17 ThinClient ModemManager[4512]: [/dev/cdc-wdm0] unexpected port hangup!
Jul 12 16:37:19 ThinClient ModemManager[4512]: <info> Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:19.0': not supported by any plugin 
Jul 12 16:37:19 ThinClient ModemManager[4512]: <info> Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0': not supported by any plugin 
Jul 12 16:37:35 ThinClient ModemManager[4512]: <info> Creating modem with plugin 'Generic' and '1' ports 
Jul 12 16:37:35 ThinClient ModemManager[4512]: <warn> Could not grab port (tty/ttyS0): 'Cannot add port 'tty/ttyS0', unhandled serial type' 
Jul 12 16:37:35 ThinClient ModemManager[4512]: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:16.3': Failed to find primary AT port 
Jul 12 16:37:47 ThinClient ModemManager[4512]: proxy configuration failed: closed
Jul 12 16:37:47 ThinClient ModemManager[4512]: <info> Creating modem with plugin 'Generic' and '2' ports 
Jul 12 16:37:47 ThinClient ModemManager[4512]: <warn> Could not grab port (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported' 
Jul 12 16:37:47 ThinClient ModemManager[4512]: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11': Failed to find primary AT port



regards

Harald



Device Info:



T: Bus=03 Lev=01 Prnt=01 Port=10 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 2
P: Vendor=1199 ProdID=9041 Rev=00.06
S: Manufacturer=Sierra Wireless, Incorporated
S: Product=EM7305
C: #Ifs= 2 Cfg#= 2 Atr=e0 MxPwr=500mA
I: If#=12 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
I: If#=13 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim



Bus 003 Device 004: ID 1199:9041  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1199 
  idProduct          0x9041 
  bcdDevice            0.06
  iManufacturer           1 Sierra Wireless, Incorporated
  iProduct                2 EM7305
  iSerial                 3 
  bNumConfigurations      2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          160
    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 
      bInterfaceSubClass    255 
      bInterfaceProtocol    255 
      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        2
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 00
      ** UNRECOGNIZED:  04 24 02 02
      ** UNRECOGNIZED:  05 24 06 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000c  1x 12 bytes
        bInterval               9
      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
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 00
      ** UNRECOGNIZED:  04 24 02 02
      ** UNRECOGNIZED:  05 24 06 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000c  1x 12 bytes
        bInterval               9
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 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     0x03  EP 3 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        8
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 
      bInterfaceSubClass    255 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               9
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 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     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           95
    bNumInterfaces          2
    bConfigurationValue     2
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface        12
      bInterfaceCount         2
      bFunctionClass          2 
      bFunctionSubClass      14 
      bFunctionProtocol       0 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       12
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 
      bInterfaceSubClass     14 
      bInterfaceProtocol      0 
      iInterface              0 
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        12
        bSlaveInterface         13 
      CDC MBIM:
        bcdMBIMVersion       1.00
        wMaxControlMessage   4096
        bNumberFilters       32
        bMaxFilterSize       128
        wMaxSegmentSize      1500
        bmNetworkCapabilities 0x20
          8-byte ntb input size
      CDC MBIM Extended:
        bcdMBIMExtendedVersion           1.00
        bMaxOutstandingCommandMessages     64
        wMTU                             1500
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       13
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 
      bInterfaceSubClass      0 
      bInterfaceProtocol      2 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       13
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 
      bInterfaceSubClass      0 
      bInterfaceProtocol      2 
      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
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      2
Device Status:     0x0000
  (Bus Powered)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160713/b2a21c30/attachment-0001.html>


More information about the ModemManager-devel mailing list