Hi
Is it possible to make ModemManager use PCIe? if so how to do it?
I have tested the PCIe driver ( Quectel_Linux_PCIE_MHI_Driver_V1.3.6) and the connection with the quectel application (quectel-CM) and the connection to the modem is up and running and the board comes online.
Normally we are using USB and ModemManager together and to bring up the connection we are running the "ifup wan"
I have try changing the device option in the network config to "/sys/devices/platform/soc/40000000.pci/pci0000:00/0000:00:00.0" and then run ifup wan, but that dont do any for the connection.
Wan config for USB:
config interface 'wan'
option device '/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1'
option proto 'modemmanager'
option auto 'false'
option defaultroute 'true'
option ipv6 'false'
option iptype 'ipv4v6'
option allowroaming 'yes'
root@OpenWrt:~# lspci
00:00.0 PCI bridge: Qualcomm Device 1001
01:00.0 Unassigned class [ff00]: Qualcomm Device 0308
root@OpenWrt:~# mmcli -L
/org/freedesktop/ModemManager1/Modem/0 [Quectel] RM520N-GL
root@OpenWrt:~# mmcli -m 0
--------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: 7b47ed2dc406067694b1214e20a6505207416179
--------------------------------
Hardware | manufacturer: Quectel
| model: RM520N-GL
| firmware revision: RM520NGLAAR01A07M4G
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 868371050137617
--------------------------------
System | device: /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1
| drivers: option1
| plugin: quectel
| primary port: ttyUSB2
| ports: ttyUSB2 (at)
--------------------------------
Status | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: disabled
| power state: on
--------------------------------
Modes | supported: allowed: 2g, 3g, 4g; preferred: none
| current: allowed: 2g, 3g, 4g; preferred: none
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: 868
--------------------------------
3GPP EPS | ue mode of operation: csps-2
--------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0