Bug 93296 - EM7345 Unavailable
Summary: EM7345 Unavailable
Status: RESOLVED MOVED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-08 13:32 UTC by Andrew G. Dunn
Modified: 2018-06-10 09:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Andrew G. Dunn 2015-12-08 13:32:12 UTC
On a new T450s, installed Fedora 23, and have:

T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1199 ProdID=a001 Rev=17.29
S:  Manufacturer=Sierra Wireless Inc.
S:  Product=Sierra Wireless EM7345 4G LTE
S:  SerialNumber=013937007837568
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 1 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
I:  If#= 1 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
I:  If#= 2 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I:  If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm

This is my first time attempting an LTE card, so I might have something configured wrong, I just want to give my system state and see if there is any advice, or detect a potential bug.

This is a fresh install with:

ModemManager 1.4.10-2.fc23

I try and enable, then add an LTE profile for ATT on my machine (with my ATT SIM), however that profile never seems to hold. Looking at the systemd ModemManager process I see:

● ModemManager.service - Modem Manager
   Loaded: loaded (/usr/lib/systemd/system/ModemManager.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2015-12-08 08:08:38 EST; 18min ago
 Main PID: 11515 (ModemManager)
   CGroup: /system.slice/ModemManager.service
           ├─11515 /usr/sbin/ModemManager
           └─11538 /usr/libexec/mbim-proxy

Dec 08 08:08:39 enoch ModemManager[11515]: spawning new mbim-proxy (try 1)...
Dec 08 08:08:39 enoch ModemManager[11515]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
Dec 08 08:08:40 enoch ModemManager[11515]: <info>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1': not supported by any plugin
Dec 08 08:08:40 enoch ModemManager[11515]: <info>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:19.0': not supported by any plugin
Dec 08 08:08:40 enoch ModemManager[11515]: <info>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin
Dec 08 08:08:48 enoch ModemManager[11515]: <info>  Creating modem with plugin 'Generic' and '3' ports
Dec 08 08:08:48 enoch ModemManager[11515]: <info>  Modem for device at '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4' successfully created
Dec 08 08:08:48 enoch ModemManager[11515]: opening device...
Dec 08 08:08:48 enoch ModemManager[11515]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
Dec 08 08:08:48 enoch ModemManager[11515]: <info>  Modem: state changed (unknown -> disabled)

Looking at journalctl I see:

Dec 08 08:03:01 enoch NetworkManager[1466]: <info>  keyfile: add connection /etc/NetworkManager/system-connections/AT&T LTE-83448e2a-6ba4-4c4d-8f23-dffbe2e80743 (83448e2a-6ba4-4c4d-8f23-dffbe2e80743,"AT&T LTE")
Dec 08 08:08:00 enoch NetworkManager[1466]: <info>  ModemManager disappeared from bus
Dec 08 08:08:00 enoch NetworkManager[1466]: <info>  (cdc-wdm0): device state change: unavailable -> unmanaged (reason 'removed') [20 10 36]
Dec 08 08:08:00 enoch NetworkManager[1466]: <info>  ModemManager disappeared from bus
Dec 08 08:08:00 enoch NetworkManager[1466]: <info>  ModemManager available in the bus
Dec 08 08:08:10 enoch NetworkManager[1466]: <info>  (cdc-wdm0): device state change: unmanaged -> unavailable (reason 'none') [10 20 0]
Dec 08 08:08:10 enoch NetworkManager[1466]: <info>  (cdc-wdm0): modem state 'disabled'
Dec 08 08:08:10 enoch NetworkManager[1466]: <info>  (cdc-wdm0): new Broadband device (carrier: UNKNOWN, driver: 'cdc_acm, cdc_mbim', ifindex: 0)
Dec 08 08:08:38 enoch NetworkManager[1466]: <info>  ModemManager disappeared from bus
Dec 08 08:08:38 enoch NetworkManager[1466]: <info>  (cdc-wdm0): device state change: unavailable -> unmanaged (reason 'removed') [20 10 36]
Dec 08 08:08:38 enoch NetworkManager[1466]: <info>  ModemManager disappeared from bus
Dec 08 08:08:39 enoch NetworkManager[1466]: <info>  ModemManager available in the bus
Dec 08 08:08:48 enoch NetworkManager[1466]: <info>  (cdc-wdm0): device state change: unmanaged -> unavailable (reason 'none') [10 20 0]
Dec 08 08:08:48 enoch NetworkManager[1466]: <info>  (cdc-wdm0): modem state 'disabled'
Dec 08 08:08:48 enoch NetworkManager[1466]: <info>  (cdc-wdm0): new Broadband device (carrier: UNKNOWN, driver: 'cdc_acm, cdc_mbim', ifindex: 0)
Dec 08 08:09:30 enoch NetworkManager[1466]: <info>  keyfile: add connection /etc/NetworkManager/system-connections/AT&T LTE-a12c6e27-05f5-4e98-a864-b77e447dec03 (a12c6e27-05f5-4e98-a864-b77e447dec03,"AT&T LTE")
Dec 08 08:11:55 enoch NetworkManager[1466]: <info>  keyfile: add connection /etc/NetworkManager/system-connections/LTE (f959e34c-8a42-4567-a3a0-fdb3520da4fc,"LTE")

Where it appears I'm trying to add an ATT LTE account over and over.
Comment 1 Aleksander Morgado 2015-12-08 17:02:11 UTC
Looks like ModemManager is crashing somewhere as it's disappearing from the bus all the time. Could you get debug logs? Steps here:

http://www.freedesktop.org/wiki/Software/ModemManager/Debugging/

Also, if you could compile MM (from the mm-1-4 branch in git) yourself and get a backtrace while running gdb that would be superb.
Comment 2 Andrew G. Dunn 2015-12-12 13:18:35 UTC
[agd@enoch ~]$ sudo mmcli -L
[sudo] password for agd: 

Found 1 modems:
	/org/freedesktop/ModemManager1/Modem/0 [Generic] MBIM [8086:9CB1]

[agd@enoch ~]$ sudo mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id 'b15c697f168bf6076e3f52a76e4ff63ac9671a35')
  -------------------------
  Hardware |   manufacturer: 'Generic'
           |          model: 'MBIM [8086:9CB1]'
           |       revision: 'FIH7160_V1.2_WW_01.1415.07'
           |      supported: 'gsm-umts, lte'
           |        current: 'gsm-umts, lte'
           |   equipment id: '013937007837568'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4'
           |        drivers: 'cdc_acm, cdc_mbim'
           |         plugin: 'Generic'
           |   primary port: 'cdc-wdm0'
           |          ports: 'wwp0s20u4 (net), cdc-wdm0 (mbim), ttyACM0 (at)'
  -------------------------
  Numbers  |           own : '15862140181'
  -------------------------
  Status   |           lock: 'none'
           | unlock retries: 'sim-pin2 (3)'
           |          state: 'registered'
           |    power state: 'on'
           |    access tech: 'lte'
           | 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: '013937007837568'
           |  enabled locks: 'fixed-dialing'
           |    operator id: '310410'
           |  operator name: 'AT&T'
           |   subscription: 'unknown'
           |   registration: 'home'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

  -------------------------
  Bearers  |          paths: '/org/freedesktop/ModemManager1/Bearer/0'
Comment 3 Andrew G. Dunn 2015-12-12 13:33:13 UTC
Running into a snag. The ModemManager debug log for a couple minutes of trying to enable the LTE connection is 225MB in size. For comparison the NetworkManager log is about 300KB.

What do you suggest to do?
Comment 4 Aleksander Morgado 2015-12-12 14:45:00 UTC
(In reply to Andrew G. Dunn from comment #3)
> Running into a snag. The ModemManager debug log for a couple minutes of
> trying to enable the LTE connection is 225MB in size. For comparison the
> NetworkManager log is about 300KB.
> 
> What do you suggest to do?

What? How come is that big? Can you compress it and share it somehow (email me privately if you cannot put it anywhere online)?
Comment 5 GitLab Migration User 2018-06-10 09:05:16 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/64.


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.