Bug 100879 - Sierra EM7305 MBIM [1199:9063] fails to connect
Summary: Sierra EM7305 MBIM [1199:9063] fails to connect
Status: RESOLVED MOVED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: plugins (show other bugs)
Version: 1.6
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-29 06:02 UTC by Daniel Rowe
Modified: 2018-06-10 09:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Network Manager logs (7.22 KB, text/plain)
2017-05-17 10:23 UTC, Daniel Rowe
Details
Modem Manager logs (31.92 KB, text/plain)
2017-05-17 10:23 UTC, Daniel Rowe
Details

Description Daniel Rowe 2017-04-29 06:02:00 UTC
On a up to date Fedora 25 on a Toshiba Z30-C the modem and SIM all seem fine but it fails to connect.

On a different Laptop with a 4G modem (much older laptop) the same SIM connects fine.

I have double checked all the setting and am pretty sure all is correct.

The state changes to connecting but never actually connects and after 10-20 seconds goes back to state: 'registered'

-------------------------
  Hardware |   manufacturer: 'Sierra'
           |          model: 'MBIM [1199:9063]'
           |       revision: 'SWI9X15C_05.05.47.00'
           |      supported: 'gsm-umts, lte'
           |        current: 'gsm-umts, lte'
           |   equipment id: '356906053323539'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2'
           |        drivers: 'cdc_mbim'
           |         plugin: 'Sierra'
           |   primary port: 'cdc-wdm0'
           |          ports: 'cdc-wdm0 (mbim), wwan0 (net)'
  -------------------------
  Numbers  |           own : 'unknown'
  -------------------------
  Status   |           lock: 'none'
           | unlock retries: 'sim-pin2 (3)'
           |          state: 'registered'
           |    power state: 'on'
           |    access tech: 'lte'
           | signal quality: '67' (recent)
  -------------------------
  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: '356906053323539'
           |  enabled locks: 'fixed-dialing'
           |    operator id: '50501'
           |  operator name: 'Telstra'
           |   subscription: 'unknown'
           |   registration: 'home'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

  -------------------------
  Bearers  |          paths: '/org/freedesktop/ModemManager1/Bearer/0'
Comment 1 Aleksander Morgado 2017-05-17 09:15:39 UTC
Could you gather debug logs so that we can see what's happening?

https://www.freedesktop.org/wiki/Software/ModemManager/Debugging/
Comment 2 Daniel Rowe 2017-05-17 10:23:29 UTC
Created attachment 131384 [details]
Network Manager logs
Comment 3 Daniel Rowe 2017-05-17 10:23:55 UTC
Created attachment 131385 [details]
Modem Manager logs
Comment 4 Daniel Rowe 2017-05-17 10:24:22 UTC
Let me know if you need anything more. Thanks.
Comment 5 Aleksander Morgado 2017-05-17 13:38:52 UTC
Looks like the modem is losing signal and/or registration state during the connection attempt, which is very weird... not sure what to say.
Comment 6 Daniel Rowe 2017-05-19 08:05:53 UTC
Also have noticed that if the laptop is suspended the modem is missing after resume.
Comment 7 Daniel Rowe 2017-05-26 08:13:40 UTC
Switching out of MBMI mode with some udev rules I am able to connect.
Comment 8 Daniel Rowe 2017-05-28 01:51:49 UTC
# /etc/udev/rules.d/99_modem.rules

ACTION!="add|change", GOTO="mbim_to_qmi_rules_end"
SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end"

# load qmi_wwan module
SUBSYSTEM=="usb", \
ATTR{idVendor}=="1199", ATTR{idProduct}=="9063", \
RUN+="/sbin/modprobe -b qmi_wwan"

# force Sierra Wireless EM7305 to configuration #1
SUBSYSTEM=="usb", \
ATTR{idVendor}=="1199", ATTR{idProduct}=="9063", \
ATTR{bConfigurationValue}="1"

# add the new id in the qmi_wwan driver
SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \
ATTR{new_id}="1199 9063"

# load qcserial module
SUBSYSTEM=="usb", \
ATTR{idVendor}=="1199", ATTR{idProduct}=="9063", \
RUN+="/sbin/modprobe -b qcserial"

# add the new id in the qcserial driver
SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \
ATTR{new_id}="1199 9063"

LABEL="mbim_to_qmi_rules_end"
Comment 9 GitLab Migration User 2018-06-10 09:04:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/53.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.