I also have this issue, with a Fujitsu S936 laptop which includes an EM7305.
After adding the udev rules in the post at 0xf8.org (modifying them to fit
use the USB identifier that shows in my laptop, 1199:9041), the “mbim-proxy” 
program seems to hang in some kind of loop, chewing 80% of CPU time according
to “top”. Here are the details of my configuration:

- Arch Linux
- ModemManager 1.6.4
- NetworkManager 1.4.4
- libmbim 1.14.0
- Kernel 4.9.5

I will be posting the output from “lsusb -v -d 1199:9041” as an
attachment.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libmbim in Ubuntu.
https://bugs.launchpad.net/bugs/1326954

Title:
  Sierra Wireless EM7305 (Fujitsu Lifebook S904) does not work after
  suspend/hibernate

Status in ModemManager:
  Unknown
Status in libmbim package in Ubuntu:
  Confirmed
Status in modemmanager package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 14.04, x86_64, ModemManager-1.0.0-2ubuntu1

  Card: Sierra Wireless EM7305 (PCI Express M.2 form factor)

  Expected: Sierra plugin is used
  Happens: Generic plugin is used instead

  After cold start the card seems to work almost fine, but does not come
  back after suspend or hibernate. At least after hibernate MM may go
  into a tight loop consuming 100% CPU.

  MM debug log output (full log attached):

  <debug> [1401992536.121631] [mm-plugin-manager.c:576] build_plugins_list(): 
(Plugin Manager) [wwan0] Found '1' plugins to try...
  <debug> [1401992536.125236] [mm-plugin-manager.c:580] build_plugins_list(): 
(Plugin Manager) [wwan0]   Will try with plugin 'Generic'
  <debug> [1401992536.128923] [mm-plugin.c:700] mm_plugin_supports_port(): 
(Generic) [wwan0] probing deferred until result suggested
  <debug> [1401992536.132687] [mm-plugin-manager.c:505] 
plugin_supports_port_ready(): (Plugin Manager) [wwan0] deferring support check 
until result suggested
  <debug> [1401992536.142664] [mm-port-probe.c:536] wdm_probe_mbim(): 
(usbmisc/cdc-wdm0) probing MBIM...
  <debug> [1401992538.202591] [mm-plugin-manager.c:646] 
min_probing_timeout_cb(): (Plugin Manager) 
[/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6] Minimum probing time consumed
  [/dev/cdc-wdm0] Queried max control message size: 4096[/dev/cdc-wdm0] Sent 
message...
  <<<<<< RAW:
  <<<<<<   length = 16
  <<<<<<   data   = 01:00:00:00:10:00:00:00:01:00:00:00:00:10:00:00
  [/dev/cdc-wdm0] Sent message (translated)...
  <<<<<< Header:
  <<<<<<   length      = 16
  <<<<<<   type        = open (0x00000001)
  <<<<<<   transaction = 1
  <<<<<< Contents:
  <<<<<<   max_control_transfer = 4096
  [/dev/cdc-wdm0] Received message...
  >>>>>> RAW:
  >>>>>>   length = 16
  >>>>>>   data   = 01:00:00:80:10:00:00:00:01:00:00:00:00:00:00:00
  <debug> [1401992539.481429] [mm-port-probe.c:300] 
mm_port_probe_set_result_mbim(): (usbmisc/cdc-wdm0) port is MBIM-capable
  [/dev/cdc-wdm0] Sent message...
  <<<<<< RAW:
  <<<<<<   length = 12
  <<<<<<   data   = 02:00:00:00:0C:00:00:00:02:00:00:00
  [/dev/cdc-wdm0] Sent message (translated)...
  <<<<<< Header:
  <<<<<<   length      = 12
  <<<<<<   type        = close (0x00000002)
  <<<<<<   transaction = 2
  [/dev/cdc-wdm0] Received message...
  >>>>>> RAW:
  >>>>>>   length = 16
  >>>>>>   data   = 02:00:00:80:10:00:00:00:02:00:00:00:00:00:00:00
  <debug> [1401992539.545529] [mm-plugin-manager.c:417] 
plugin_supports_port_ready(): (Plugin Manager) (Generic) [cdc-wdm0] found best 
plugin for port
  <debug> [1401992539.549361] [mm-plugin-manager.c:334] 
suggest_port_probe_result(): (Plugin Manager) (Generic) [wwan0] deferred task 
completed, got suggested plugin
  <debug> [1401992539.553247] [mm-plugin-manager.c:274] 
port_probe_context_finished(): (Plugin Manager) 'cdc-wdm0' port probe finished, 
still 1 running probes in this device (wwan0)
  <debug> [1401992539.556995] [mm-plugin.c:700] mm_plugin_supports_port(): 
(Generic) [wwan0] probing deferred until result suggested
  <debug> [1401992539.560690] [mm-plugin-manager.c:485] 
plugin_supports_port_ready(): (Plugin Manager) (Generic) [wwan0] task 
completed, got suggested plugin
  <debug> [1401992539.564175] [mm-plugin-manager.c:285] 
port_probe_context_finished(): (Plugin Manager) 'wwan0' port probe finished, 
last one in device
  <debug> [1401992539.567868] [mm-plugin-manager.c:107] 
find_device_support_context_complete_and_free(): (Plugin Manager) 
[/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6] device support check finished 
in '3.677528' seconds
  <info>  [1401992539.571611] [mm-device.c:486] mm_device_create_modem(): 
Creating modem with plugin 'Generic' and '2' ports
  <debug> [1401992539.575477] [generic/mm-plugin-generic.c:73] create_modem(): 
MBIM-powered generic modem found...

  mmcli output:

  /org/freedesktop/ModemManager1/Modem/0 (device id 
'b3a77501ed8da196baa804a4142ff280766f6f98')
    -------------------------
    Hardware |   manufacturer: 'Generic'
             |          model: 'MBIM [1199:9063]'
             |       revision: 'SWI9X15C_01.12'
             |      supported: 'gsm-umts, lte'
             |        current: 'gsm-umts, lte'
             |   equipment id: '356906050069168'
    -------------------------
    System   |         device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6'
             |        drivers: 'cdc_mbim'
             |         plugin: 'Generic'
             |   primary port: 'cdc-wdm0'
             |          ports: 'cdc-wdm0 (mbim), wwan0 (net)'
    -------------------------
    Numbers  |           own : 'unknown'
    -------------------------
    Status   |           lock: 'none'
             | unlock retries: 'sim-pin2 (3)'
             |          state: 'disabled'
             |    power state: 'on'
             |    access tech: 'unknown'
             | signal quality: '0' (cached)
    -------------------------
    Modes    |      supported: 'allowed: 2g, 3g, 4g; preferred: none'
             |        current: 'allowed: 2g, 3g, 4g; preferred: none'
    -------------------------
    Bands    |      supported: 'unknown'
             |        current: 'unknown'
    -------------------------
    IP       |      supported: 'ipv4, ipv6, ipv4v6'
    -------------------------
    3GPP     |           imei: '356906050069168'
             |  enabled locks: 'sim, fixed-dialing'
             |    operator id: 'unknown'
             |  operator name: 'unknown'
             |   registration: 'unknown'
    -------------------------
    SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

To manage notifications about this bug go to:
https://bugs.launchpad.net/modemmanager/+bug/1326954/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to