Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread Bjørn Mork
matthew stanger writes: >> >> Forgot to comment on this. They use a SIMCom SIM7100E or SIM7100A WWAN >> module according to >> https://developer.puri.sm/Librem5/Hardware_Reference.html > > Oh that's new, they where going to use the PLS8 with PCIe. That's what got > my attention. That's also a

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread matthew stanger
> > Forgot to comment on this. They use a SIMCom SIM7100E or SIM7100A WWAN > module according to > https://developer.puri.sm/Librem5/Hardware_Reference.html Oh that's new, they where going to use the PLS8 with PCIe. That's what got my attention. On Fri, Mar 15, 2019 at 10:04 AM Bjørn Mork

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread Bjørn Mork
matthew stanger writes: > I thought > the (Librem 5 Linux Phone) ( https://puri.sm/products/librem-5/ ) was > already using MM with PCIe? I know that's their plan. Forgot to comment on this. They use a SIMCom SIM7100E or SIM7100A WWAN module according to

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread Bjørn Mork
matthew stanger writes: > Is this thread implying the MM doesn't support PCIe in general? No. Only that kernel drivers are required. The situation for USB devices is good because there are only a few host<->device protocols in use, and those protocols are well known by now. We even have a

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread matthew stanger
Is this thread implying the MM doesn't support PCIe in general? I thought the (Librem 5 Linux Phone) ( https://puri.sm/products/librem-5/ ) was already using MM with PCIe? I know that's their plan. On Fri, Mar 15, 2019 at 4:01 AM Bjørn Mork wrote: > 王道之 writes: > > > Intel have the plan to

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread Bjørn Mork
王道之 writes: > Intel have the plan to opensource the PCIe driver. I would put it here > once the Intel opensource it. Looking forward to that! Bjørn ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread 王道之
Intel have the plan to opensource the PCIe driver. I would put it here once the Intel opensource it. But the driver do not offer a cdc_mbim port, just offer AT port. In MM, it would manage with the base modem. And the VLAN ID map is defined by Intel, so I do not think the driver could be use in

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread Bjørn Mork
Now you made me really curious. That sounds a lot like the cdc_mbim userspace ABI. And I didn't expect anyone to copy that since I don't think anyone is happy with it. Including me. Or are they simply creating a usb mbim device? That would make sense. But then it should have worked with mm, so

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-15 Thread 王道之
Hey 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

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-09 Thread Bjørn Mork
Daniele Palmas writes: > Il giorno lun 10 dic 2018 alle ore 14:25 Bjørn Mork ha > scritto: >> >> As for Qualcomm based modems: Haven't yet seen any docs for the PCIe >> interface there either. So I'll assume it is similar to the Intel one. > > related to Qualcomm I guess this development > >

Re: Planning to add a PCIe(not in USB protocol) device

2019-03-08 Thread Daniele Palmas
Hi Bjørn, Il giorno lun 10 dic 2018 alle ore 14:25 Bjørn Mork ha scritto: > > As for Qualcomm based modems: Haven't yet seen any docs for the PCIe > interface there either. So I'll assume it is similar to the Intel one. related to Qualcomm I guess this development

Re: Planning to add a PCIe(not in USB protocol) device

2018-12-11 Thread Bjørn Mork
I believe we would be best off with a "fake" USB MBIM device, like the Windows driver creates. This would ensure immediate support in ModemManager, as well as other Linux userspace implementations (oFono, umbim etc). There is already an NCM gadget in the kernel. Creating a basic MBIM gadget

Re: Planning to add a PCIe(not in USB protocol) device

2018-12-11 Thread 王道之
Yes, as Ben said the PCIe on L860 seems going backward. But on the laptop side, when the laptop use L850, the latpop would use PCIe when the OS is Windows, but the laptop would use MBIM when the OS is Unix. In this reason, the laptop vendor want to use PCIe no matter the OS is. And once

Re: Planning to add a PCIe(not in USB protocol) device

2018-12-10 Thread Ben Chan
I wonder why MBIM-enumerated-over-PCIe (L860) is preferred over MBIM-over-USB3 (L850). Perhaps the theoretical achievable data rate over PCIe? Despite the MBIM enumeration, having a vendor specific host interface does feel going backward as Bjørn said. IMHO, the industry should really move

Re: Planning to add a PCIe(not in USB protocol) device

2018-12-10 Thread 王道之
Hey Aleksander The device is basic on the Intel 7560 chip, or L860 in fibocom that difference the L850 with PCIe in MBIM protocol. 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

Re: Planning to add a PCIe(not in USB protocol) device

2018-12-10 Thread Bjørn Mork
王道之 writes: > 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. Don't know anything about this card. But

Re: Planning to add a PCIe(not in USB protocol) device

2018-12-10 Thread Aleksander Morgado
Hey, > 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? > As I planned, I am going to add the new PCIe device in the plugins > folder,but I am not sure

Planning to add a PCIe(not in USB protocol) device

2018-12-10 Thread 王道之
Hey all 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? As I planned, I am going to add the new PCIe device in the plugins folder,but I am not sure where to