<div dir="ltr"><div dir="ltr">Hey <div>The Intel offer a PCIe device driver to suit my situation. The driver could grab a virtual net port from the PCIe modem, then the user like me could use VLAN to divide the virtual net port in several VLAN ports, the VLAN port can be mapped by socat as AT port and trace port. The map is defined by Intel. </div><div>But the MM could not add those virtual AT ports and virtual net port. To do that, I change some filter logic that would not influence the architecture now in use. And I add two UDEV flag to set the  subsystem and port name of the virtual ports, flags named <span style="font-family:Arial,sans-serif;font-size:10.5pt">ID_MM_VIRTUAL_SUBSYSTEMS and </span><span style="font-family:Arial,sans-serif;font-size:10.5pt">ID_MM_VIRTUAL_NAME</span>, the way that the two new flags work just like the already existing UDE flag <span style="font-family:Arial,sans-serif;font-size:10.5pt">D_MM_PHYSDEV_UID did. In this way, the MM would support modem devices with virtual ports.</span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Bjørn Mork <<a href="mailto:bjorn@mork.no">bjorn@mork.no</a>> 于2019年3月9日周六 下午8:09写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Daniele Palmas <<a href="mailto:dnlplm@gmail.com" target="_blank">dnlplm@gmail.com</a>> writes:<br>
> Il giorno lun 10 dic 2018 alle ore 14:25 Bjørn Mork <<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>> ha scritto:<br>
>><br>
>> As for Qualcomm based modems:  Haven't yet seen any docs for the PCIe<br>
>> interface there either.  So I'll assume it is similar to the Intel one.<br>
><br>
> related to Qualcomm I guess this development<br>
><br>
> <a href="http://archive.lwn.net:8080/linux-kernel/1524795811-21399-1-git-send-email-sdias@codeaurora.org/" rel="noreferrer" target="_blank">http://archive.lwn.net:8080/linux-kernel/1524795811-21399-1-git-send-email-sdias@codeaurora.org/</a><br>
><br>
> should be related, but unfortunately it seems that the attempt for<br>
> upstream inclusion stopped.<br>
<br>
Thanks for the pointer!  Really interesting and encouraging.<br>
<br>
<br>
Bjørn<br>
</blockquote></div>