I wonder if the fact that I use "suspend freeze" mode instead of default 
"suspend" mode makes a difference?
https://www.freedesktop.org/software/systemd/man/sleep.conf.d.html

I have to do so because modern hardware implement S0i3 instead of S3, so
default mode will just won't work (tablets and laptops without S3
support will just poweroff or reboot on attempt to go into S3).

> I'll analyze the logs and let you know what I find.

Ok. Just to let you know, I find first unit not reliable enough, so I edited it 
a little bit:
Removed "StopWhenUnneeded=yes" and "RemainAfterExit=yes".
Replaced "=-/bin/systemctl" with "=/bin/systemctl".

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to modemmanager 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/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to