<div dir="ltr">Yes, it does have two AT ports. <div><br></div><div>However, once ttyACM0 gets tied up and times out after 10 command retries, ModemManager removes the modem:<div><div>ModemManager[13213]: <error> [1533754896.224557] (tty/ttyACM0) at port timed out 10 consecutive times, marking modem '/org/freedesktop/ModemManager1/Modem/0' as invalid</div><div>ModemManager[13213]: <debug> [1533754896.224790] Removing from DBus bearer at '/org/freedesktop/ModemManager1/Bearer/0'</div><div>ModemManager[13213]: <debug> [1533754896.224833] [device /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5] unexported modem from path '/org/freedesktop/ModemManager1/Modem/0'</div><div>ModemManager[13213]: <debug> [1533754896.224854] Periodic signal checks disabled</div><div>ModemManager[13213]: <debug> [1533754896.225124] (ttyACM0) device open count is 0 (close)</div><div>ModemManager[13213]: <debug> [1533754896.225150] (ttyACM0) closing serial port...</div><div>ModemManager[13213]: <debug> [1533754896.279512] (ttyACM0) serial port closed</div><div>ModemManager[13213]: <debug> [1533754896.279592] (ttyACM0) forced to close port</div><div>ModemManager[13213]: <debug> [1533754896.279621] (ttyACM2) device open count is 0 (close)</div><div>ModemManager[13213]: <debug> [1533754896.279637] (ttyACM2) closing serial port...</div><div>ModemManager[13213]: <debug> [1533754896.279670] (ttyACM2) serial port closed</div><div>ModemManager[13213]: <debug> [1533754896.279697] (ttyACM2) forced to close port</div><div>ModemManager[13213]: <debug> [1533754896.279718] Modem (Generic) '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5' completely disposed</div><div><br></div><div>This whole time, I'm able to connect to ttyACM2 with minicom and issue AT commands and get replies. ModemManager is only treating ACM0 as the modem and doesnt care about ACM2 (even though it will identify it as an AT command port)<br></div><div>I've attached a complete boot log showing the process with both ModemManager and NetworkManager in debug mode:</div><div><a href="https://gist.github.com/danielewood/8e19a0832266638c4da2f163ac3520a8">https://gist.github.com/danielewood/8e19a0832266638c4da2f163ac3520a8</a><br></div><div><br></div><div>I also came across a command that may be of interest, the standard AT command of AT+CLAC prints all supported AT commands for this modem. That may be useful in identifying modems in the future. I included the output of that command in the linked gist as well.</div><div><br></div><div><br></div><div>If this modem is going to end up stuck with pure PPP and therefore maxing out at 25Mbps, then I'm not too concerned anyways since its use is rather limited. I just wish I could figure out how to switch this thing to MBIM (Tried everything listed in the AT Command reference guide, including factory resets and defaults.).</div><div><br></div><div>Thanks,<br></div><div>-Dan</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 8, 2018 at 4:41 AM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey!<br>
<div><div class="gmail-h5"><br>
On Wed, Aug 8, 2018 at 6:34 AM, Daniel Wood <<a href="mailto:daniel@woods.us">daniel@woods.us</a>> wrote:<br>
> I have been given a Fibocom L850-GL that seems to be stuck in NCM mode.<br>
> As I have not had any luck changing the mode back to MBIM:<br>
> ModemManager[25270]: <debug> [1533696762.104669] (ttyACM0): --><br>
> 'AT+GTUSBMODE?<CR>'<br>
> ModemManager[25270]: <debug> [1533696762.121517] (ttyACM0): <--<br>
> '<CR><LF>+CME ERROR: 4<CR><LF>'<br>
> ModemManager[25270]: <debug> [1533696831.512880] (ttyACM0): --><br>
> 'AT+GTUSBMODE=2<CR>'<br>
> ModemManager[25270]: <debug> [1533696831.530829] (ttyACM0): <--<br>
> '<CR><LF>+CME ERROR: 4<CR><LF>'<br>
><br>
> I figured I would try to see how it works under the latest version of<br>
> ModemManager, but as soon as you try to actually connect to the internet,<br>
> the serial port locks up. Now, given the state of this modem, it may have<br>
> nothing to do with ModemManager. Since it may possibly or this may assist in<br>
> adding support for these Intel XMM based chipsets, I have collected all the<br>
> information I could think of to make it available to you guys, including<br>
> debug logs and bus trees.<br>
><br>
> [85855.509892] usb 2-1.5: New USB device found, idVendor=8087,<br>
> idProduct=07f5<br>
> [85855.509896] usb 2-1.5: New USB device strings: Mfr=0, Product=0,<br>
> SerialNumber=0<br>
> [85856.714197] usb 2-1.5: USB disconnect, device number 43<br>
> [85861.288570] usb 2-1.5: new high-speed USB device number 44 using ehci-pci<br>
> [85861.405658] usb 2-1.5: New USB device found, idVendor=8087,<br>
> idProduct=095a<br>
> [85861.405662] usb 2-1.5: New USB device strings: Mfr=1, Product=2,<br>
> SerialNumber=3<br>
> [85861.405665] usb 2-1.5: Product: MODEM + 2 CDC-ACM + 3 CDC-NCM + SS<br>
> [85861.405667] usb 2-1.5: Manufacturer: Intel Corp.<br>
> [85861.405669] usb 2-1.5: SerialNumber: 004999010640000<br>
><br>
><br>
> It is 3000+ lines of info, so I created a Gist:<br>
> <a href="https://gist.github.com/danielewood/1022919b7547c50fb514a652aa3ec1f3" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>danielewood/<wbr>1022919b7547c50fb514a652aa3ec1<wbr>f3</a><br>
><br>
> Let me know if there is any other information that is needed and I'll pull<br>
> it. Also, I can create a temporary linux install on a junk USB drive and<br>
> provide you with remote ssh access to the machine if someone wants to have<br>
> full access and do whatever they want. The broadband plan is unlimited, so<br>
> I'm not at all worried bandwidth use.<br>
><br>
> I also decided to compile ModemManager from the git master branch, those<br>
> results are at the end of the page.<br>
><br>
<br>
</div></div>I'm currently working on improving the L850-GL support within<br>
ModemManager, but I was only focusing in the MBIM setup, not in the<br>
NCM one. Parts of the plugin provide AT-based features even for the<br>
MBIM mode (e.g. mode/band switching with AT+XACT) so those could be<br>
reused.<br>
<br>
We don't have NCM support for Intel XMM based devices yet... we have a<br>
staging "infineon" plugin with some support to start the data<br>
connection over the NCM, but we never got to test it properly so it's<br>
not in git master yet. I assume that as soon as you connect the modem<br>
it runs in PPP mode, and that is why you lose the AT port, but this<br>
device should have 2 AT ports, doesn't it?<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>
</div></div></div></div></div>