Sierra EM7455 not working usbutils

Bug #1579290 reported by John Man on 2016-05-07
58
This bug affects 10 people
Affects Status Importance Assigned to Milestone
usbutils (Ubuntu)
Undecided
Unassigned

Bug Description

johnman@johnman-ThinkPad-X1-Carbon-4th:~$ usb-devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=12
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.04
S: Manufacturer=Linux 4.4.0-22-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1199 ProdID=9079 Rev=00.06
S: Manufacturer=Sierra Wireless, Incorporated
S: Product=Sierra Wireless EM7455 Qualcomm Snapdragon X7 LTE-A
S: SerialNumber=LF54844201021013
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=500mA
/usr/bin/usb-devices: line 79: printf: c: invalid number
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
/usr/bin/usb-devices: line 79: printf: d: invalid number
I: If#= 0 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim

T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=04f2 ProdID=b531 Rev=00.22
S: Manufacturer=Chicony Electronics Co.,Ltd.
S: Product=Integrated Camera
S: SerialNumber=0001
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T: Bus=01 Lev=01 Prnt=01 Port=08 Cnt=03 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=10 Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=138a ProdID=0090 Rev=01.64
S: SerialNumber=c5a380ed1410
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 5 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 6
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=04.04
S: Manufacturer=Linux 4.4.0-22-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
Version 15.12

3) What you expected to happen
Working modem in ubuntu

4) What happened instead
Modem is not working somehow.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in usbutils (Ubuntu):
status: New → Confirmed
Download full text (4.1 KiB)

lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04

NetworkManager shows Mobile Broadband Unavailable

mbimcli -d /dev/cdc-wdm0 --query-device-caps --verbose
[25 mai 2016, 21:21:47] [Debug] opening device...
[25 mai 2016, 21:21:47] [Debug] [/dev/cdc-wdm0] Queried max control message size: 4096
[25 mai 2016, 21:21:47] [Debug] [/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

[25 mai 2016, 21:21:47] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 16
<<<<<< type = open (0x00000001)
<<<<<< transaction = 1
<<<<<< Contents:
<<<<<< max_control_transfer = 4096

[25 mai 2016, 21:21:50] [Debug] [/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

[25 mai 2016, 21:21:50] [Debug] MBIM Device at '/dev/cdc-wdm0' ready
[25 mai 2016, 21:21:50] [Debug] Asynchronously querying device capabilities...
[25 mai 2016, 21:21:50] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 48
<<<<<< data = 03:00:00:00:30:00:00:00:02:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:01:00:00:00:00:00:00:00:00:00:00:00

[25 mai 2016, 21:21:50] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 48
<<<<<< type = command (0x00000003)
<<<<<< transaction = 2
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'device-caps' (0x00000001)
<<<<<< type = 'query' (0x00000000)

[25 mai 2016, 21:21:50] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 196
>>>>>> data = 03:00:00:80:C4:00:00:00:02:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:01:00:00:00:00:00:00:00:94:00:00:00:03:00:00:00:01:00:00:00:01:00:00:00:02:00:00:00:3C:00:00:00:03:00:00:00:01:00:00:00:08:00:00:00:00:00:00:00:00:00:00:00:40:00:00:00:1E:00:00:00:60:00:00:00:28:00:00:00:88:00:00:00:0C:00:00:00:30:00:31:00:34:00:35:00:38:00:32:00:30:00:30:00:30:00:33:00:37:00:33:00:33:00:35:00:38:00:00:00:53:00:57:00:49:00:39:00:58:00:33:00:30:00:43:00:5F:00:30:00:32:00:2E:00:30:00:38:00:2E:00:30:00:32:00:2E:00:30:00:30:00:45:00:4D:00:37:00:34:00:35:00:35:00

[25 mai 2016, 21:21:50] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>> length = 196
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 2
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'device-caps' (0x00000001)

[/dev/cdc-wdm0] Device capabilities retrieved:
       Device type: 'remote'
    Cellular class: 'gsm'
       Voice class: 'no-voice'
         Sim class: 'removable'
        Data class: 'umts, hsdpa, hsupa, lte'
          SMS caps: 'pdu-receive, pdu-send'
         Ctrl caps: 'reg-manual'
      Max sessions: '8'
 Custom ...

Read more...

Bjørn Mork (bmork) wrote :

The radio is disabled until we send an "FCC auth" request to the modem. This is Work in Progress. See
https://lists.freedesktop.org/archives/modemmanager-devel/2016-June/003032.html

David Jao (djao) wrote :

After many months, I finally got this modem working in Xenial (Thinkpad T460s). Install the libqmi 1.16.0, libmbim 1.14.0, and modemmanager 1.6.0 packages from Yakkety Yak, and make sure you're on kernel 4.4.0-36-generic #55. Reboot and everything should Just Work, assuming your SIM card is indeed usable (test it in Windows to make sure; my first attempt failed due to SIM issues). I'm posting this through my LTE connection.

One minor remaining bug is that the signal strength indicator in Network Manager is not working; it shows zero bars of signal regardless of the actual signal strength. But I can live with that for now.

David Jao (djao) wrote :

A day of usage reveals a slightly bigger problem: the connection completely disappears from NetworkManager if you suspend and resume, with no way to bring it back online other than rebooting.

Download full text (5.1 KiB)

Sep 1 17:29:45 x1c NetworkManager[2651]: <info> [1472743785.5455] device (cdc-wdm0): Activation: starting connection 'phonero connection' (70ad7e3b-28fa-4128-96f7-716dae3dee23)
Sep 1 17:29:45 x1c NetworkManager[2651]: <info> [1472743785.5456] audit: op="connection-activate" uuid="70ad7e3b-28fa-4128-96f7-716dae3dee23" name="phonero connection" pid=3729 uid=1000 result="success"
Sep 1 17:29:45 x1c NetworkManager[2651]: <info> [1472743785.5457] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 1 17:29:45 x1c NetworkManager[2651]: <info> [1472743785.5458] manager: NetworkManager state is now CONNECTING
Sep 1 17:29:45 x1c ModemManager[2654]: <info> Simple connect started...
Sep 1 17:29:45 x1c ModemManager[2654]: <info> Simple connect state (4/8): Wait to get fully enabled
Sep 1 17:29:45 x1c ModemManager[2654]: <info> Simple connect state (5/8): Register
Sep 1 17:29:45 x1c ModemManager[2654]: <info> Simple connect state (6/8): Bearer
Sep 1 17:29:45 x1c ModemManager[2654]: <info> Simple connect state (7/8): Connect
Sep 1 17:29:45 x1c ModemManager[2654]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
Sep 1 17:29:46 x1c ModemManager[2654]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (home -> unknown)
Sep 1 17:29:46 x1c ModemManager[2654]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> searching)
Sep 1 17:29:47 x1c ModemManager[2654]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> searching)
Sep 1 17:29:47 x1c NetworkManager[2651]: <warn> [1472743787.0194] (cdc-wdm0): failed to connect modem: Unknown error (50)
Sep 1 17:29:47 x1c NetworkManager[2651]: <info> [1472743787.0194] device (cdc-wdm0): state change: prepare -> failed (reason 'unknown') [40 120 1]
Sep 1 17:29:47 x1c NetworkManager[2651]: <info> [1472743787.0200] manager: NetworkManager state is now DISCONNECTED
Sep 1 17:29:47 x1c NetworkManager[2651]: <info> [1472743787.0202] (cdc-wdm0): modem searching; disabling autoconnect
Sep 1 17:29:47 x1c NetworkManager[2651]: <warn> [1472743787.0207] device (cdc-wdm0): Activation: failed for connection 'phonero connection'
Sep 1 17:29:47 x1c NetworkManager[2651]: <warn> [1472743787.0215] device (cdc-wdm0): overwriting previously queued state change to disconnected (none)
Sep 1 17:29:47 x1c NetworkManager[2651]: <info> [1472743787.0220] device (cdc-wdm0): state change: failed -> unavailable (reason 'modem-failed') [120 20 57]
Sep 1 17:29:47 x1c ModemManager[2654]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (searching -> registering)
Sep 1 17:29:47 x1c ModemManager[2654]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering -> home)
Sep 1 17:29:47 x1c ModemManager[2654]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (searching -> registered)
Sep 1 17:29:47 x1c NetworkManager[2651]: <info> [1472743787.1532] device (cdc-wdm0): state change: unavailable -> disconnected (reason 'modem-available') [20 ...

Read more...

Sorry, my message disappeared in a crappy paste.

I tried the package versions you mentioned @djao, but had no success.

Sep 1 17:29:47 x1c NetworkManager[2651]: <warn> [1472743787.0194] (cdc-wdm0): failed to connect modem: Unknown error (50)
Sep 1 17:29:47 x1c NetworkManager[2651]: <info> [1472743787.0194] device (cdc-wdm0): state change: prepare -> failed (reason 'unknown') [40 120 1]

David Jao (djao) wrote :
Download full text (5.0 KiB)

Did you test your SIM in Windows?

Are you using LTE? I haven't successfully connected on 3G yet.

Here's what it looks like for me (phone numbers etc. redacted):

Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.2172] device (cdc-wdm0): Activation: starting connection 'Fido Default' (d99245e5-39f0-4639-91e2-5f22f68d864b)
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.2174] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.2180] device (cdc-wdm0): state change: prepare -> need-auth (reason 'none') [40 60 0]
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.3527] device (cdc-wdm0): state change: need-auth -> prepare (reason 'none') [60 40 0]
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Simple connect started...
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Simple connect state (4/8): Wait to get fully enabled
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Simple connect state (5/8): Register
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Simple connect state (6/8): Bearer
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Simple connect state (7/8): Connect
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.3781] (cdc-wdm0): modem state changed, 'registered' --> 'connecting' (reason: user-requested)
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> connected)
Sep 06 13:08:39 t460s ModemManager[3309]: <info> Simple connect state (8/8): All done
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6287] (cdc-wdm0): modem state changed, 'connecting' --> 'connected' (reason: user-requested)
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6308] device (cdc-wdm0): state change: prepare -> config (reason 'none') [40 50 0]
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6311] device (cdc-wdm0): state change: config -> ip-config (reason 'none') [50 70 0]
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6314] (cdc-wdm0): IPv4 static configuration:
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6314] address 25.157.105.182/30
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6314] gateway 25.157.105.181
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6314] DNS 64.71.255.254
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6315] DNS 64.71.255.253
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6377] device (cdc-wdm0): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6399] device (cdc-wdm0): state change: ip-check -> secondaries (reason 'none') [80 90 0]
Sep 06 13:08:39 t460s NetworkManager[3225]: <info> [1473181719.6452] device (cdc-wdm0): state change: secondaries -> activated (reason 'none') [90 100 0]

$ mmcli -L

Found 1 modems:
 /org/freedesktop/ModemManage...

Read more...

David Jao (djao) wrote :

nils-anders, I investigated a little more and discovered that the modem is non-functional when TLP is installed. Are you perhaps using TLP? If so, that's the likely culprit. If not, there may also be other kernel modules interfering. Check in /lib/modules/4.4.0-36-generic/updates/dkms/ and see.

Clearly this setup is not ready for prime time. Too many things are broken.

David,

Is there a way that ubuntu make this driver so it will work normally
with ubuntu software?
As I have problems to in stall the required libqmi 1.16.0, libmbim
1.14.0 and didn't even start the modemmanager1.6.0 packages from Yakkety
Yak..

Kind Regards,

John Man

On 07-09-16 04:04, David Jao wrote:
> nils-anders, I investigated a little more and discovered that the modem
> is non-functional when TLP is installed. Are you perhaps using TLP? If
> so, that's the likely culprit. If not, there may also be other kernel
> modules interfering. Check in
> /lib/modules/4.4.0-36-generic/updates/dkms/ and see.
>
> Clearly this setup is not ready for prime time. Too many things are
> broken.
>

Thanks for all the feedback. Sorry for the late reply, I've been travelling.

I'm writing this on a mobile connection, so it works now. I haven't got any bars on the indicator in Gnome, but the connection is solid and fast (speedtest.net reports 58.74/38.28 Mbps)-

I don't have TLP. I'm running 4.4.0-38 now, don't know if that's relevant (tried the 4.8 kernel, but that had other problems). Also, I removed all connections and recreated APN settings (my provider isn't in the list). Don't know exactly what solved my problems, but I'm happy that it works.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers