Hey, > > > > > > 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] 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 That seems fine to me. > > $ sudo mmcli -m 2 --enable > error: couldn't enable the modem: > 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Retry: Invalid > transition' What about completely restarting ModemManager after you have sent the qmicli command? P.S.: I *never* got that operation working with a Dell branded modem, so maybe there's something else needed? -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel