<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">it only seems to happen with the single-stack IP types (both IPv4- and<br>IPv6-only), never with dual-stack. </blockquote><div>From what I've seen many carriers (and subsets of towers) don't support every IP type, especially IPv6.</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 4, 2018 at 6:17 AM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<br>
><br>
> I have an 'HP lt4120 Snapdragon X5 LTE' WWAN module running firmware<br>
> revision 'T77W595.F0.0.0.6.6.GC.029 1 [Jul 06 2016 23:00:00' (latest<br>
> available on HP's web site).<br>
><br>
> It tends to frequently get to a state where MM fails to establish single-<br>
> stack connections while in LTE coverage. I'm pretty sure it's not a<br>
> network or subscription problem as the problem is there in different<br>
> PLMNs and SIM cards from different operators, and it works fine using<br>
> other UEs like Android and Jolla phones. I've set up the 3GPP profile<br>
> like so:<br>
><br>
> $ sudo qmicli -p -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp<br>
> Profile list retrieved:<br>
> [1] 3gpp - profile1<br>
> APN: 'telenor.smart'<br>
> PDP type: 'ipv6'<br>
> Auth: 'none'<br>
><br>
> Using qmicli it seems to connect without problems:<br>
><br>
> $ sudo qmicli -p -d /dev/cdc-wdm0 --wds-start-network=3gpp-profile=1<br>
> [/dev/cdc-wdm0] Network started<br>
> Packet data handle: '68385664'<br>
><br>
> But MM fails (and so does NM):<br>
><br>
> $ sudo /usr/bin/mmcli -m 0 --simple-connect=apn=telenor.smart,ip-type=ipv6<br>
> error: couldn't connect the modem: 'Timeout was reached'<br>
><br>
> This results in the following being logged:<br>
><br>
> <info> Simple connect started...<br>
> <info> Simple connect state (4/8): Wait to get fully enabled<br>
> <info> Simple connect state (5/8): Register<br>
> <info> Simple connect state (6/8): Bearer<br>
> <info> Simple connect state (7/8): Connect<br>
> <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)<br>
> <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered)<br>
> [/dev/cdc-wdm0] No transaction matched in received message<br>
> [/dev/cdc-wdm0] Received unexpected message (translated)...<br>
>>>>>>> Header:<br>
>>>>>>> length = 76<br>
>>>>>>> type = command-done (0x80000003)<br>
>>>>>>> transaction = 31<br>
>>>>>>> Fragment header:<br>
>>>>>>> total = 1<br>
>>>>>>> current = 0<br>
>>>>>>> Contents:<br>
>>>>>>> status error = 'Failure' (0x00000002)<br>
>>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)<br>
>>>>>>> cid = 'packet-service' (0x0000000a)<br>
><br>
> It only happens in LTE coverage, UMTS and GSM has no issues at all. Also<br>
> it only seems to happen with the single-stack IP types (both IPv4- and<br>
> IPv6-only), never with dual-stack.<br>
><br>
> Anyone seen something like this before and have any suggestion on how to<br>
> avoid/prevent it?<br>
><br>
<br>
No idea, sorry.<br>
<br>
> If I power down my laptop completely and bring it back up, that might<br>
> might shake it loose for a while, but my test scripts that iterates<br>
> through all PLMNs and all RATs and tries to connect in each using all<br>
> three IP types will usually get it back in the stuck state again.<br>
><br>
> Is there a way to fully power cycle the WWAN module without<br>
> powercycling the entire laptop, by the way?<br>
><br>
<br>
$ sudo mmcli -m 0 --reset<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
_______________________________________________<br>
ModemManager-devel mailing list<br>
<a href="mailto:ModemManager-devel@lists.freedesktop.org" target="_blank">ModemManager-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
</blockquote></div>