Hello Aleksander, following you will find the debug logs..
> Hey Sven, > > > > > i'm stuck on activating the wwan card. > > I know there is a dell customer kit (win only/dell supported laptop) and > > this issue as been already discussed. [1] > > > > I'm running modemmanager 1.16.6 and libqmi 1.28.6 containing the FCC unlock > > bits. > > > > error: > > ModemManager[133848]: <debug> [1625220976.150570] [modem0] couldn't run FCC > > unlock: QMI protocol error (17): 'MissingArgument' > > > > There are 2 different FCC unlock operations implemented in MM 1.16.6; > the original one we wrote for Sierra re-branded modules, and the new > one we wrote for Foxconn modules. This second one is only enabled for > selected devices, and the one you're using isn't included yet. > > Could you run manually the following commands? > > $ sudo qmicli -d /dev/cdc-wdm0 -p > --dms-foxconn-set-fcc-authentication=0 --verbose $ sudo qmicli -d /dev/cdc-wdm0 -p --dms-foxconn-set-fcc-authentication=0 --verbose [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Opening device with flags 'proxy, auto'... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] automatically selecting MBIM mode [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] created endpoint [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] creating MBIM device... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] MBIM device created [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] opening MBIM device... [05 Jul 2021, 10:09:19] [Debug] opening device... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 88 <<<<<< data = 03:00:00:00:58:00:00:00:01:00:00:00:01:00:00:00:00:00:00:00:83:8C:F7:FB:8D:0D:4D:7F:87:1E:D7:1D:BE:FB:B3:9B:01:00:00:00:01:00:00:00:28:00:00:00:0C:00:00:00:1A:00:00:00:05:00:00:00:2F:00:64:00:65:00:76:00:2F:00:63:00:64:00:63:00:2D:00:77:00:64:00:6D:00:30:00:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 88 <<<<<< type = command (0x00000003) <<<<<< transaction = 1 <<<<<< Fragment header: <<<<<< total = 1 <<<<<< current = 0 <<<<<< Contents: <<<<<< service = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-d71dbefbb39b) <<<<<< cid = 'configuration' (0x00000001) <<<<<< type = 'set' (0x00000001) <<<<<< Fields: <<<<<< DevicePath = '/dev/cdc-wdm0' <<<<<< Timeout = '5' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 48 >>>>>> data = >>>>>> 03:00:00:80:30:00:00:00:01:00:00:00:01:00:00:00:00:00:00:00:83:8C:F7:FB:8D:0D:4D:7F:87:1E:D7:1D:BE:FB:B3:9B:01:00:00:00:00:00:00:00:00:00:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message (translated)... >>>>>> Header: >>>>>> length = 48 >>>>>> type = command-done (0x80000003) >>>>>> transaction = 1 >>>>>> Fragment header: >>>>>> total = 1 >>>>>> current = 0 >>>>>> Contents: >>>>>> status error = 'None' (0x00000000) >>>>>> service = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-d71dbefbb39b) >>>>>> cid = 'configuration' (0x00000001) [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 16 <<<<<< data = 01:00:00:00:10:00:00:00:02:00:00:00:00:10:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 16 <<<<<< type = open (0x00000001) <<<<<< transaction = 2 <<<<<< Contents: <<<<<< max control transfer = 4096 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 16 >>>>>> data = 01:00:00:80:10:00:00:00:02:00:00:00:00:00:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] MBIM device open [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Enabling QMI indications via MBIM... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 84 <<<<<< data = 03:00:00:00:54:00:00:00:03: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:24:00:00:00:01:00:00:00:0C:00:00:00:18: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 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 84 <<<<<< type = command (0x00000003) <<<<<< transaction = 3 <<<<<< 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 = '1' <<<<<< Events = '{ <<<<<< [0] = { <<<<<< DeviceServiceId = 'd1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3' <<<<<< CidsCount = '1' <<<<<< Cids = '1' <<<<<< }, <<<<<< }' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 84 >>>>>> data = >>>>>> 03:00:00:80:54:00:00:00:03: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:24:00:00:00:01:00:00:00:0C:00:00:00:18: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 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message (translated)... >>>>>> Header: >>>>>> length = 84 >>>>>> type = command-done (0x80000003) >>>>>> transaction = 3 >>>>>> 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 = '1' >>>>>> Events = '{ >>>>>> [0] = { >>>>>> DeviceServiceId = 'd1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3' >>>>>> CidsCount = '1' >>>>>> Cids = '1' >>>>>> }, >>>>>> }' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] enabled QMI indications via MBIM [05 Jul 2021, 10:09:19] [Debug] QMI Device at '/dev/cdc-wdm0' ready [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Assuming service 'dms' is supported... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Allocating new client ID... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 16 <<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent generic request (translated)... <<<<<< QMUX: <<<<<< length = 15 <<<<<< flags = 0x00 <<<<<< service = "ctl" <<<<<< client = 0 <<<<<< QMI: <<<<<< flags = "none" <<<<<< transaction = 1 <<<<<< tlv_length = 4 <<<<<< message = "Allocate CID" (0x0022) <<<<<< TLV: <<<<<< type = "Service" (0x01) <<<<<< length = 1 <<<<<< value = 02 <<<<<< translated = dms [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 64 <<<<<< data = 03:00:00:00:40:00:00:00:04: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:10:00:00:00:01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 64 <<<<<< type = command (0x00000003) <<<<<< transaction = 4 <<<<<< Fragment header: <<<<<< total = 1 <<<<<< current = 0 <<<<<< Contents: <<<<<< service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3) <<<<<< cid = 'msg' (0x00000001) <<<<<< type = 'set' (0x00000001) <<<<<< Fields: <<<<<< QmiMsg = '01:0f:00:00:00:00:00:01:22:00:04:00:01:01:00:02' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 72 >>>>>> data = >>>>>> 03:00:00:80:48:00:00:00:04: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:18:00:00:00:01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message (translated)... >>>>>> Header: >>>>>> length = 72 >>>>>> type = command-done (0x80000003) >>>>>> transaction = 4 >>>>>> Fragment header: >>>>>> total = 1 >>>>>> current = 0 >>>>>> Contents: >>>>>> status error = 'None' (0x00000000) >>>>>> service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3) >>>>>> cid = 'msg' (0x00000001) >>>>>> Fields: >>>>>> QMUX = >>>>>> '01:17:00:80:00:00:01:01:22:00:0c:00:02:04:00:00:00:00:00:01:02:00:02:02' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... <<<<<< RAW: <<<<<< length = 24 <<<<<< data = 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received generic response (translated)... <<<<<< QMUX: <<<<<< length = 23 <<<<<< flags = 0x80 <<<<<< service = "ctl" <<<<<< client = 0 <<<<<< QMI: <<<<<< flags = "response" <<<<<< transaction = 1 <<<<<< tlv_length = 12 <<<<<< message = "Allocate CID" (0x0022) <<<<<< TLV: <<<<<< type = "Result" (0x02) <<<<<< length = 4 <<<<<< value = 00:00:00:00 <<<<<< translated = SUCCESS <<<<<< TLV: <<<<<< type = "Allocation Info" (0x01) <<<<<< length = 2 <<<<<< value = 02:02 <<<<<< translated = [ service = 'dms' cid = '2' ] [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Registered 'dms' (version unknown) client with ID '2' [05 Jul 2021, 10:09:19] [Debug] Asynchronously running Foxconn FCC authentication... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 17 <<<<<< data = 01:10:00:00:02:02:00:01:00:71:55:04:00:01:01:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent vendor-specific (0x0489) request (translated)... <<<<<< QMUX: <<<<<< length = 16 <<<<<< flags = 0x00 <<<<<< service = "dms" <<<<<< client = 2 <<<<<< QMI: <<<<<< flags = "none" <<<<<< transaction = 1 <<<<<< tlv_length = 4 <<<<<< message = "Foxconn Set FCC Authentication" (0x5571) <<<<<< TLV: <<<<<< type = "Value" (0x01) <<<<<< length = 1 <<<<<< value = 00 <<<<<< translated = 0 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 65 <<<<<< data = 03:00:00:00:41:00:00:00:05: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:11:00:00:00:01:10:00:00:02:02:00:01:00:71:55:04:00:01:01:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 65 <<<<<< type = command (0x00000003) <<<<<< transaction = 5 <<<<<< Fragment header: <<<<<< total = 1 <<<<<< current = 0 <<<<<< Contents: <<<<<< service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3) <<<<<< cid = 'msg' (0x00000001) <<<<<< type = 'set' (0x00000001) <<<<<< Fields: <<<<<< QmiMsg = '01:10:00:00:02:02:00:01:00:71:55:04:00:01:01:00:00' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 68 >>>>>> data = >>>>>> 03:00:00:80:44:00:00:00:05: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:02:02:01:00:71:55:07:00:02:04:00:00:00:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message (translated)... >>>>>> Header: >>>>>> length = 68 >>>>>> type = command-done (0x80000003) >>>>>> transaction = 5 >>>>>> 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:02:02:01:00:71:55:07:00:02:04:00:00:00:00:00' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... <<<<<< RAW: <<<<<< length = 20 <<<<<< data = 01:13:00:80:02:02:02:01:00:71:55:07:00:02:04:00:00:00:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received vendor-specific (0x0489) response (translated)... <<<<<< QMUX: <<<<<< length = 19 <<<<<< flags = 0x80 <<<<<< service = "dms" <<<<<< client = 2 <<<<<< QMI: <<<<<< flags = "response" <<<<<< transaction = 1 <<<<<< tlv_length = 7 <<<<<< message = "Foxconn Set FCC Authentication" (0x5571) <<<<<< TLV: <<<<<< type = "Result" (0x02) <<<<<< length = 4 <<<<<< value = 00:00:00:00 <<<<<< translated = SUCCESS [/dev/cdc-wdm0] Successfully run Foxconn FCC authentication [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Releasing 'dms' client with flags 'release-cid'... [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Unregistered 'dms' client with ID '2' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 17 <<<<<< data = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent generic request (translated)... <<<<<< QMUX: <<<<<< length = 16 <<<<<< flags = 0x00 <<<<<< service = "ctl" <<<<<< client = 0 <<<<<< QMI: <<<<<< flags = "none" <<<<<< transaction = 2 <<<<<< tlv_length = 5 <<<<<< message = "Release CID" (0x0023) <<<<<< TLV: <<<<<< type = "Release Info" (0x01) <<<<<< length = 2 <<<<<< value = 02:02 <<<<<< translated = [ service = 'dms' cid = '2' ] [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 65 <<<<<< data = 03:00:00:00:41:00:00:00:06: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:11:00:00:00:01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 65 <<<<<< type = command (0x00000003) <<<<<< transaction = 6 <<<<<< Fragment header: <<<<<< total = 1 <<<<<< current = 0 <<<<<< Contents: <<<<<< service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3) <<<<<< cid = 'msg' (0x00000001) <<<<<< type = 'set' (0x00000001) <<<<<< Fields: <<<<<< QmiMsg = '01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:02' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 72 >>>>>> data = >>>>>> 03:00:00:80:48:00:00:00:06: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:18:00:00:00:01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message (translated)... >>>>>> Header: >>>>>> length = 72 >>>>>> type = command-done (0x80000003) >>>>>> transaction = 6 >>>>>> Fragment header: >>>>>> total = 1 >>>>>> current = 0 >>>>>> Contents: >>>>>> status error = 'None' (0x00000000) >>>>>> service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3) >>>>>> cid = 'msg' (0x00000001) >>>>>> Fields: >>>>>> QMUX = >>>>>> '01:17:00:80:00:00:01:02:23:00:0c:00:02:04:00:00:00:00:00:01:02:00:02:02' [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... <<<<<< RAW: <<<<<< length = 24 <<<<<< data = 01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:02 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received generic response (translated)... <<<<<< QMUX: <<<<<< length = 23 <<<<<< flags = 0x80 <<<<<< service = "ctl" <<<<<< client = 0 <<<<<< QMI: <<<<<< flags = "response" <<<<<< transaction = 2 <<<<<< tlv_length = 12 <<<<<< message = "Release CID" (0x0023) <<<<<< TLV: <<<<<< type = "Result" (0x02) <<<<<< length = 4 <<<<<< value = 00:00:00:00 <<<<<< translated = SUCCESS <<<<<< TLV: <<<<<< type = "Release Info" (0x01) <<<<<< length = 2 <<<<<< value = 02:02 <<<<<< translated = [ service = 'dms' cid = '2' ] [05 Jul 2021, 10:09:19] [Debug] Client released [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 12 <<<<<< data = 02:00:00:00:0C:00:00:00:07:00:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 12 <<<<<< type = close (0x00000002) <<<<<< transaction = 7 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 16 >>>>>> data = 02:00:00:80:10:00:00:00:07:00:00:00:00:00:00:00 [05 Jul 2021, 10:09:19] [Debug] [/dev/cdc-wdm0] channel destroyed [05 Jul 2021, 10:09:19] [Debug] Closed $ > $ sudo mmcli -m 0 --enable $ sudo mmcli -m 2 --enable error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Retry: Invalid transition' $ > > > > -- > Aleksander > https://aleksander.es > _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel