<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hey Aleksander</div>     The device is basic on the Intel 7560 chip, or L860 in fibocom that difference the L850 with PCIe in MBIM protocol.<div>     I am not sure there need a PCIe lib or yet, as now I can use lspci found the device, and there is a net port with the drive offered by Intel. And the drive would be open source later time.</div><div>     You add the device L850 of Fibocom in the ModemManager early time, and now the Fibocom want to add the L860 by itself, and I work for Fibocom. So I am going to add a PCIe L860 in the ModemManager.</div><div>    As I planned, I am going to add the L860 in the plugin, then init the device ports(this may need a lib?), then init the modem with AT commd.</div><div>     About the L860 there is a net port, divided in several ports by VLAN id. Here is some description:</div><div>     <i><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">The host driver maps each channel exposed by the
modem to an interface for application to exercise communication over such
channels. For network devices, each IP session</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt"> 
</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">(0</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">  </span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">to 7) is mapped to INM network
interfaces (INM0 to INM7). Thus "/PCIE/IOSM/IPS/0" will be mapped to
INM0, "/PCIE/IOSM/IPS/1" will be mapped to
"/PCIE/IOSM/IPS/1" and so on. Similarly,
"/PCIE/IOSM/CTRL/0" is mapped to RPC device,
"/PCIE/IOSM/TRACE/0" to trace, "/PCIE/IOSM/CTRL/0" and
"/PCIE/IOSM/CTRL/2" to IAT devices and so</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">  </span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">on. These</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt"> 
</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">are</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">  </span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">internals to PCIe
communication and are transparent</span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">  </span><span style="font-family:Arial,sans-serif;font-size:10.5pt;text-align:justify;text-indent:21pt">to
user-space application.</span></i></div>

<p class="gmail-MsoBodyText" style="margin:4.55pt 15.45pt 6pt 0cm;text-indent:21pt;line-height:105%;text-align:justify;font-size:10.5pt;font-family:Arial,sans-serif"><span lang="EN-US"><i>The IOSM host driver exposes the interfaces as a
VLAN devices (except  for  flashing 
device). Following table lists the interfaces  exposed 
by  the host driver. Please  note 
that,  not every interface is
supported by the modem. The host driver allows opening of  an 
interface only if it is supported on the modem side.</i></span></p><p class="gmail-MsoBodyText" style="margin:4.55pt 15.45pt 6pt 0cm;text-indent:21pt;line-height:105%;text-align:justify;font-size:10.5pt;font-family:Arial,sans-serif"><span lang="EN-US"><br></span></p><p class="gmail-MsoBodyText" style="margin:4.55pt 0cm 6pt 15.45pt;text-indent:21pt;line-height:105%;text-align:justify;font-size:10.5pt;font-family:Arial,sans-serif"><span lang="EN-US">Cheers!</span></p><p class="gmail-MsoBodyText" style="margin:4.55pt 0cm 6pt 15.45pt;text-indent:21pt;line-height:105%;text-align:justify;font-size:10.5pt;font-family:Arial,sans-serif"><span lang="EN-US">Quincy Chen</span></p><div><br><div class="gmail_quote"><div dir="ltr">Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>> 于2018年12月10日周一 下午4:54写道:<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,<br>
<br>
>     I am going to add a PCIe not in USB protocol modem device in the Modemmanager. In order to better integrate into the current architecture of Modemmanager, any development advice?<br>
>     As I planned, I am going to add the new PCIe device in the plugins folder,but I am not sure where to add the PCIe lib just like the libqmi or the libmbim.<br>
>     By the way, I found the comment  Nozomi, Card-Bus PCI (not USB)  at the device "Option GT 3G+ EMEA" in the supported devices list , Is  that mean the device use the PCI protocol? If in that way, I can refer to when I develop.<br>
><br>
<br>
Is this PCIe library a new one that you're writing?<br>
What device is this?<br>
<br>
Cheers!<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div></div></div></div></div>