dell branded DW5829e (T77W968) FCC unlock failed
sven.friedmann at email.de
sven.friedmann at email.de
Tue Jul 6 12:18:49 UTC 2021
Hello Aleksander,
> Hello Aleksander,
>
> > 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?
>
> Does not change anything.
>
>
> For completeness I have two Dell notebooks for testing.
>
> The latitude 7410 (intel 10th gen) came from the factory with the Dell DW5829e. This combination is officially supported by Dell.
>
> latitude 7410 under Windows:
> - bios: wwan bus interface on "pcie"
> - the wwan connection works fine immediately
> - last but not least i tried the dell customer kit. which ends with the error "no custkit found".
>
>
> latitude 7410 under ubuntu daily live usb boot (mm 1.16.2 + libqmi 1.28.6):
> - bios: wwan bus interface set to "usb"
> - the wwan connection works immediately without problems
>
> Unfortunately i have not saved any debug output from modem manager.
I have collected the missing debug logs.
The working latitude 7410 and the 5420.
Both system under the same os.
In addition, I had tested the dw5829e in a third laptop (latitude 7490). The error pattern is the same as the 5420. If it is helpful, I could also provide the logs.
> Latitude 5420 (intel 11th gen) rebuilt with the same DW5829e card + NVMe unfortunately does not work.
>
>
> latitude 5420 under windows:
> - bios: wwan bus interface set to "pcie" => no card is detected (probably a firmware issue with pcie mode)
> - bios: wwan bus interface on "usb" => the card is recognized, but only the generic built-in driver works. the dell/foxconn driver seems to recognize the device only in pcie mode
> - no wwan connection can be established
>
> latitude 5420 running ubuntu daily live usb boot (mm 1.16.2 + libqmi 1.28.6):
> - bios: wwan bus interface on "pcie" => no card is detected...'lspci' shows no card (confirms firmware problem)
> - bios: wwan bus interface set to "usb" => the card is detected, but the card remains in disabled state
>
>
> > P.S.: I *never* got that operation working with a Dell branded modem,
> > so maybe there's something else needed?
> >
> > --
> > Aleksander
> > https://aleksander.es
> >
best regards
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dw5829e_failed_latitude_5420_mm_debug_after_qmicli_fcc_unlock.txt
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210706/d0451dfa/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dw5829e_failed_latitude_5420_mm_debug_before_qmicli_fcc_unlock.txt
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210706/d0451dfa/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dw5829e_okay_latitude_7410_mm_debug.txt
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210706/d0451dfa/attachment-0005.txt>
More information about the ModemManager-devel
mailing list