Can't enable Foxconn T99W175 Modem
Hi All, I'm working to get my 5G modem working on my Lenovo ThinkPad X1 Nano Gen1, but am having some trouble getting it working properly. Here's the current setup:
- Laptop: Lenovo ThinkPad X1 Nano Gen1
- Modem: Foxconn T99W175 (Qualcomm Snapdragon X55 5G)
- System: Fedora 34
- Kernel: 5.13.0-0.rc1.13.rdo.fc35.x86_64
- Software Versions (I built my own RPM's from the latest code in git):
- libmbim-1.25.4-1.fc34.x86_64
- libqmi-1.29.5-1.fc34.x86_64
- ModemManager-glib-1.17.1-1.fc34.x86_64
- ModemManager-1.17.1-1.fc34.x86_64
With the latest 5.13rc1 kernel I have the bits that I need for the device to be properly recognised:
08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device e0ab
Subsystem: Foxconn International, Inc. Device e0ab
Flags: bus master, fast devsel, latency 0, IRQ 167, IOMMU group 17
Memory at bc200000 (64-bit, non-prefetchable) [size=4K]
Memory at bc201000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=8/32 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Secondary PCI Express
Capabilities: [168] Physical Layer 16.0 GT/s <?>
Capabilities: [18c] Lane Margining at the Receiver <?>
Capabilities: [19c] Transaction Processing Hints
Capabilities: [228] Latency Tolerance Reporting
Capabilities: [230] L1 PM Substates
Capabilities: [240] Data Link Feature <?>
Kernel driver in use: mhi-pci-generic
Kernel modules: mhi_pci_generic
And ModemManager recognises it properly:
% mmcli -m 0
-----------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: 5bdbfc68ada841f6fa02085bffa2c6ef8553cf09
-----------------------------------
Hardware | manufacturer: foxconn
| model: MBIM [105B:E0AB]
| firmware revision: T99W175.F0.1.0.0.5.OG.005
| 010
| carrier config: Orange
| carrier config revision: 0A000B05
| h/w revision: Qualcomm Snapdragon X55 5G
| supported: gsm-umts, lte, 5gnr
| current: gsm-umts, lte, 5gnr
| equipment id: (snipped)
-----------------------------------
System | device: /sys/devices/pci0000:00/0000:00:1c.0/0000:08:00.0
| drivers: mhi_net, mhi-pci-generic
| plugin: foxconn
| primary port: wwan0p2MBIM
| ports: mhi_mbim0 (net), wwan0p2MBIM (mbim)
-----------------------------------
Numbers | own: (snipped)
-----------------------------------
Status | unlock retries: sim-pin2 (3)
| state: disabled
| power state: low
| signal quality: 0% (cached)
-----------------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: 4g
| allowed: 3g, 4g; preferred: 3g
| allowed: 5g; preferred: none
| allowed: 3g, 5g; preferred: 5g
| allowed: 3g, 5g; preferred: 3g
| allowed: 4g, 5g; preferred: 5g
| allowed: 4g, 5g; preferred: 4g
| allowed: 3g, 4g, 5g; preferred: 5g
| allowed: 3g, 4g, 5g; preferred: 4g
| allowed: 3g, 4g, 5g; preferred: 3g
| current: allowed: 3g, 4g, 5g; preferred: 4g
-----------------------------------
Bands | supported: utran-1, utran-3, utran-4, utran-6, utran-5, utran-8,
| utran-9, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5,
| eutran-7, eutran-8, eutran-12, eutran-13, eutran-14, eutran-17,
| eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28,
| eutran-29, eutran-30, eutran-32, eutran-34, eutran-38, eutran-39,
| eutran-40, eutran-41, eutran-42, eutran-46, eutran-48, eutran-66,
| eutran-71, utran-19
| current: utran-1, utran-4, utran-6, utran-5, utran-8, utran-9,
| utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7,
| eutran-8, eutran-12, eutran-13, eutran-14, eutran-17, eutran-18,
| eutran-19, eutran-20, eutran-25, eutran-26, eutran-28, eutran-29,
| eutran-30, eutran-32, eutran-34, eutran-38, eutran-39, eutran-40,
| eutran-41, eutran-42, eutran-46, eutran-48, eutran-66, eutran-71,
| utran-19
-----------------------------------
IP | supported: ipv4, ipv6, ipv4v6
-----------------------------------
3GPP | imei: (snipped)
| enabled locks: fixed-dialing
-----------------------------------
3GPP EPS | initial bearer ip type: ipv4v6
-----------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
However, I don't seem to be able to enable/connect with this device-
% sudo mmcli -m 0 -e --verbose
[17 May 2021, 11:29:57] [Debug] ModemManager process found at ':1.243'
[17 May 2021, 11:29:57] [Debug] Assuming '0' is the modem index
[17 May 2021, 11:29:57] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0'
[17 May 2021, 11:29:57] [Debug] Synchronously enabling modem...
error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.libmbim.Error.Status.OperationNotAllowed: OperationNotAllowed'
It seems to be getting stuck either taking the modem out of low-power mode, or enabling FCC authentication, I can't quite work out which:
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] skipping initialization: not required
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] couldn't start parent enabling: Couldn't open ports during modem enabling: Couldn't get primary port
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 48
<<<<<< data = 03:00:00:00:30:00:00:00:2D: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:03:00:00:00:00:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 48
<<<<<< type = command (0x00000003)
<<<<<< transaction = 45
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'radio-state' (0x00000003)
<<<<<< type = 'query' (0x00000000)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 56
>>>>>> data = 03:00:00:80:38:00:00:00:2D: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:03:00:00:00:00:00:00:00:08:00:00:00:01:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 56
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 45
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'radio-state' (0x00000003)
>>>>>> Fields:
>>>>>> HwRadioState = 'on'
>>>>>> SwRadioState = 'off'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 52
<<<<<< data = 03:00:00:00:34:00:00:00:2E: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:03:00:00:00:01:00:00:00:04:00:00:00:01:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 52
<<<<<< type = command (0x00000003)
<<<<<< transaction = 46
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'radio-state' (0x00000003)
<<<<<< type = 'set' (0x00000001)
<<<<<< Fields:
<<<<<< RadioState = 'on'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 48
>>>>>> data = 03:00:00:80:30:00:00:00:2E: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:03:00:00:00:1C:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 48
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 46
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'OperationNotAllowed' (0x0000001c)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'radio-state' (0x00000003)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <warn> [modem0] OperationNotAllowed
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 13
<<<<<< data = 01:0C:00:00:02:01:00:08:00:5F:55:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent generic request (translated)...
<<<<<< QMUX:
<<<<<< length = 12
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 1
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 8
<<<<<< tlv_length = 0
<<<<<< message = "Set FCC Authentication" (0x555F)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 61
<<<<<< data = 03:00:00:00:3D:00:00:00:2B:00:00:00:01:00:00:00:00:00:00:00:D1:A3:0B:C2:F9:7A:6E:43:BF:65:C7:E2:4F:B0:F0:D3:01:00:00:00:01:00:00:00:0D:00:00:00:01:0C:00:00:02:01:00:08:00:5F:55:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 61
<<<<<< type = command (0x00000003)
<<<<<< transaction = 43
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3)
<<<<<< cid = 'msg' (0x00000001)
<<<<<< type = 'set' (0x00000001)
<<<<<< Fields:
<<<<<< QmiMsg = '01:0c:00:00:02:01:00:08:00:5f:55:00:00'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 68
>>>>>> data = 03:00:00:80:44:00:00:00:2B:00:00:00:01:00:00:00:00:00:00:00:D1:A3:0B:C2:F9:7A:6E:43:BF:65:C7:E2:4F:B0:F0:D3:01:00:00:00:00:00:00:00:14:00:00:00:01:13:00:80:02:01:02:08:00:5F:55:07:00:02:04:00:01:00:11:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 68
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 43
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3)
>>>>>> cid = 'msg' (0x00000001)
>>>>>> Fields:
>>>>>> QMUX = '01:13:00:80:02:01:02:08:00:5f:55:07:00:02:04:00:01:00:11:00'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
<<<<<< RAW:
<<<<<< length = 20
<<<<<< data = 01:13:00:80:02:01:02:08:00:5F:55:07:00:02:04:00:01:00:11:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received generic response (translated)...
<<<<<< QMUX:
<<<<<< length = 19
<<<<<< flags = 0x80
<<<<<< service = "dms"
<<<<<< client = 1
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 8
<<<<<< tlv_length = 7
<<<<<< message = "Set FCC Authentication" (0x555F)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 01:00:11:00
<<<<<< translated = FAILURE: MissingArgument
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] couldn't set FCC auth: QMI protocol error (17): 'MissingArgument'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <warn> [modem0] couldn't enable interface: 'OperationNotAllowed'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] running implicit disable after failed enable...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] modem has extended signal reporting capabilities, disabling the Signal interface...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] modem has messaging capabilities, disabling the Messaging interface...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] enabled notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 52
<<<<<< data = 03:00:00:00:34:00:00:00:2F: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:13:00:00:00:01:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 52
<<<<<< type = command (0x00000003)
<<<<<< transaction = 47
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'device-service-subscribe-list' (0x00000013)
<<<<<< type = 'set' (0x00000001)
<<<<<< Fields:
<<<<<< EventsCount = '0'
<<<<<< Events = '{
<<<<<< }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 52
>>>>>> data = 03:00:00:80:34:00:00:00:2F: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:13:00:00:00:00:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 52
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 47
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'device-service-subscribe-list' (0x00000013)
>>>>>> Fields:
>>>>>> EventsCount = '0'
>>>>>> Events = '{
>>>>>> }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] supported notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] modem has location capabilities, disabling the Location interface...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] location '3gpp-lac-ci' gathering is already disabled...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] location 'gps-raw' gathering is already disabled...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] location 'gps-nmea' gathering is already disabled...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] location 'agps-msa' gathering is already disabled...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] location 'agps-msb' gathering is already disabled...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] modem has 3GPP/USSD capabilities, disabling the Modem 3GPP/USSD interface...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] enabled notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 52
<<<<<< data = 03:00:00:00:34:00:00:00:30: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:13:00:00:00:01:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 52
<<<<<< type = command (0x00000003)
<<<<<< transaction = 48
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'device-service-subscribe-list' (0x00000013)
<<<<<< type = 'set' (0x00000001)
<<<<<< Fields:
<<<<<< EventsCount = '0'
<<<<<< Events = '{
<<<<<< }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 52
>>>>>> data = 03:00:00:80:34:00:00:00:30: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:13:00:00:00:00:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 52
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 48
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'device-service-subscribe-list' (0x00000013)
>>>>>> Fields:
>>>>>> EventsCount = '0'
>>>>>> Events = '{
>>>>>> }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] supported notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] modem has 3GPP profile management capabilities, disabling the Modem 3GPP Profile Manager interface...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] enabled notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 52
<<<<<< data = 03:00:00:00:34:00:00:00:31: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:13:00:00:00:01:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 52
<<<<<< type = command (0x00000003)
<<<<<< transaction = 49
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'device-service-subscribe-list' (0x00000013)
<<<<<< type = 'set' (0x00000001)
<<<<<< Fields:
<<<<<< EventsCount = '0'
<<<<<< Events = '{
<<<<<< }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 52
>>>>>> data = 03:00:00:80:34:00:00:00:31: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:13:00:00:00:00:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 52
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 49
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'device-service-subscribe-list' (0x00000013)
>>>>>> Fields:
>>>>>> EventsCount = '0'
>>>>>> Events = '{
>>>>>> }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] supported notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] modem has 3GPP capabilities, disabling the Modem 3GPP interface...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] enabled notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 52
<<<<<< data = 03:00:00:00:34:00:00:00:32: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:13:00:00:00:01:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 52
<<<<<< type = command (0x00000003)
<<<<<< transaction = 50
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'device-service-subscribe-list' (0x00000013)
<<<<<< type = 'set' (0x00000001)
<<<<<< Fields:
<<<<<< EventsCount = '0'
<<<<<< Events = '{
<<<<<< }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 52
>>>>>> data = 03:00:00:80:34:00:00:00:32: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:13:00:00:00:00:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 52
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 50
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'device-service-subscribe-list' (0x00000013)
>>>>>> Fields:
>>>>>> EventsCount = '0'
>>>>>> Events = '{
>>>>>> }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] supported notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] supported notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] enabled notifications: signal (no), registration (no), sms (no), connect (no), subscriber (no), packet (no), pco (no), ussd (no), lte attach info (no), provisioned contexts (no)
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message...
<<<<<< RAW:
<<<<<< length = 52
<<<<<< data = 03:00:00:00:34:00:00:00:33: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:13:00:00:00:01:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 52
<<<<<< type = command (0x00000003)
<<<<<< transaction = 51
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'device-service-subscribe-list' (0x00000013)
<<<<<< type = 'set' (0x00000001)
<<<<<< Fields:
<<<<<< EventsCount = '0'
<<<<<< Events = '{
<<<<<< }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message...
>>>>>> RAW:
>>>>>> length = 52
>>>>>> data = 03:00:00:80:34:00:00:00:33: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:13:00:00:00:00:00:00:00:04:00:00:00:00:00:00:00
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: [/dev/wwan0p2MBIM] Received message (translated)...
>>>>>> Header:
>>>>>> length = 52
>>>>>> type = command-done (0x80000003)
>>>>>> transaction = 51
>>>>>> Fragment header:
>>>>>> total = 1
>>>>>> current = 0
>>>>>> Contents:
>>>>>> status error = 'None' (0x00000000)
>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>> cid = 'device-service-subscribe-list' (0x00000013)
>>>>>> Fields:
>>>>>> EventsCount = '0'
>>>>>> Events = '{
>>>>>> }'
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <debug> [modem0] disabling the Modem interface...
May 17 11:31:42 thunor.rdo.wales ModemManager[132266]: <info> [modem0] state changed (enabling -> disabled)
If I try and update the power-state manually-
% sudo mmcli -m 0 --set-power-state-on --verbose
[17 May 2021, 11:48:14] [Debug] ModemManager process found at ':1.243'
[17 May 2021, 11:48:14] [Debug] Assuming '0' is the modem index
[17 May 2021, 11:48:14] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0'
[17 May 2021, 11:48:14] [Debug] Synchronously setting full power...
error: couldn't set new power state in the modem: 'GDBus.Error:org.freedesktop.libmbim.Error.Status.OperationNotAllowed: OperationNotAllowed'
Or try to enable FCC authentication manually-
% sudo qmicli -p -d /dev/wwan0p2MBIM --device-open-mbim --dms-set-fcc-authentication
[17 May 2021, 11:38:04] -Warning ** [/dev/wwan0p2MBIM] couldn't detect transport type of port: couldn't detect device driver
[17 May 2021, 11:38:04] -Warning ** [/dev/wwan0p2MBIM] requested MBIM mode but unexpected transport type found
error: couldn't set FCC authentication: QMI protocol error (17): 'MissingArgument'
So I am wondering whether there's an issue with the firmware on my device, perhaps I can temporarily get a Windows installation running to see if I can update it, or perhaps there's a problem with this MissingArgument
thing on the FCC authentication? I don't even know if that's needed? I also don't know whether it's something to do with the couldn't detect transport type of port: couldn't detect device driver
error message from libqmi.
Thanks for all of your help, happy to report back with debug messages, or to test anything.