<div dir="ltr">Hi!<div><br></div><div>I've tested it. ModemManager doesn't automatically activate it, hence the relatively large ModemManager log (NetworkManager is spamming activations).. But activating with qmicli works (although now with the new command).</div><div><br></div><div><div>$ qmicli -p -d /dev/wwan0p2MBIM --device-open-mbim --dms-foxconn-set-fcc-authentication=00</div><div>[20 May 2021, 15:22:51] -Warning ** [/dev/wwan0p2MBIM] couldn't detect transport type of port: couldn't detect device driver<br></div><div>[20 May 2021, 15:22:51] -Warning ** [/dev/wwan0p2MBIM] requested MBIM mode but unexpected transport type found</div><div>[/dev/wwan0p2MBIM] Successfully run Foxconn FCC authentication</div></div><div><br></div><div>I didn't check version before recompiling, but the binary is reporting as 1.17.1.</div><div>$ ModemManager --version</div><div><div>ModemManager 1.17.1</div></div><div>...</div><div><div>oskar@oskar-ThinkPad-X1-Nano-Gen-1:~$ which ModemManager</div><div>/usr/local/sbin/ModemManager</div><div>oskar@oskar-ThinkPad-X1-Nano-Gen-1:~$ ls -la /usr/local/sbin/ModemManager</div><div>-rwxr-xr-x 1 root root 7781472 May 20 14:55 /usr/local/sbin/ModemManager</div></div><div><div>oskar@oskar-ThinkPad-X1-Nano-Gen-1:~$ ps axu | grep ModemManager</div><div>root        1081  0.3  0.0 317800 15356 ?        Ssl  15:22   0:01 /usr/local/sbin/ModemManager --log-level DEBUG</div></div><div><br></div><div>So seems like the correct / newest version is running.</div><div><br></div><div>/Oskar Stenman</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 19 May 2021 at 15:49, Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Oskar<br>
<br>
On Wed, May 12, 2021 at 9:38 AM Aleksander Morgado<br>
<<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>> wrote:<br>
><br>
> > > After that i could run:<br>
> > > $ sudo qmicli -p -d /dev/wwan0p2MBIM --device-open-mbim<br>
> > > --dms-dell-cuskit-unlock=00<br>
> > > [11 maj 2021, 23:42:36] -Warning ** [/dev/wwan0p2MBIM] couldn't detect<br>
> > > transport type of port: couldn't detect device driver<br>
> > > [11 maj 2021, 23:42:36] -Warning ** [/dev/wwan0p2MBIM] requested MBIM mode<br>
> > > but unexpected transport type found<br>
> > > [/dev/wwan0p2MBIM] Successfully run Dell cuskit unlock<br>
> > ><br>
> > > I've attached the log from ModemManager and i can see a ton of stuff<br>
> > > happening after i send that command with cuskit,<br>
> ><br>
> ><br>
> > Coool!  So that actually worked.  Have to talk to my boss about getting<br>
> > a new laptop, then :-)<br>
> ><br>
> ><br>
> > Not sure why you get those QMI indications, but anyway - this is good:<br>
> ><br>
> >                                                                  <<<<<< QMUX:<br>
> >                                                                  <<<<<<   length  = 43<br>
> >                                                                  <<<<<<   flags   = 0x80<br>
> >                                                                  <<<<<<   service = "nas"<br>
> >                                                                  <<<<<<   client  = 4<br>
> >                                                                  <<<<<< QMI:<br>
> >                                                                  <<<<<<   flags       = "indication"<br>
> >                                                                  <<<<<<   transaction = 11<br>
> >                                                                  <<<<<<   tlv_length  = 31<br>
> >                                                                  <<<<<<   message     = "Serving System" (0x0024)<br>
> >                                                                  <<<<<< TLV:<br>
> >                                                                  <<<<<<   type       = "Serving System" (0x01)<br>
> >                                                                  <<<<<<   length     = 6<br>
> >                                                                  <<<<<<   value      = 01:01:01:02:01:08<br>
> >                                                                  <<<<<<   translated = [ registration_state = 'registered' cs_attach_state = 'attached' ps_attach_state = 'attached' selected_network = '3gpp' radio_interfaces = '{ [0] = 'lte '}' ]<br>
> ><br>
> ><br>
><br>
> Hahaha! :D That was a truly truly long shot. RF is now on, hopefully<br>
> the connection will go on without issues as well.<br>
><br>
> Time to add built-in support for this in libqmi+MM, maybe naming the<br>
> message differently (foxconn fcc unlock?)<br>
><br>
<br>
Completely untested; could you give libqmi git master plus this<br>
ModemManager branch a try?<br>
<a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/534" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/534</a><br>
If you could gather debug logs it would be great.<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div>