Integrate EM120R-GL Module with Qualcomm board

I integrate the EM120R-GL module with qualcomm board And I integrate through PCIe . And which file in Change PID and VID in Quectel PCIe Drriver code.
And if it should be change where will it have to be change?

Please Provide me User guide for PCIe driver for linux

Why do you want to change the PID and VID?

I want to change PID and VID because specific EM120R-GL module model Number

you got PCIe driver is not compile it detected error in core/mhi_init.c file

EM120R-GL is based on Qualcomm X24.

pcie_mhi/controllers/mhi_qti.c
867:    {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0304)}, //SDX20

pcie_mhi/controllers/mhi_qcom.c
78:     {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0304)}, //SDX24

Could you share the log

I have used this

static struct pci_device_id mhi_pcie_device_id[] = {
968 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0303)},
969 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0304)}, //SDX20
970 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0305)}, //SDX24
971 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0306)}, //SDX55
972 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0308)}, //SDX62
973 {PCI_DEVICE(0x1eac, 0x1001)}, //EM120
974 {PCI_DEVICE(0x1eac, 0x1002)}, //EM160
975 {PCI_DEVICE(0x1eac, 0x1004)}, //RM520
976 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, MHI_PCIE_DEBUG_ID)},
977 {0},
978 };

So, as you say that

static struct pci_device_id mhi_pcie_device_id[] = {
968 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0303)},
969 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0304)}, //SDX20
970 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0304)}, //SDX24
971 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0306)}, //SDX55
972 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0308)}, //SDX62
973 {PCI_DEVICE(0x1eac, 0x1001)}, //EM120
974 {PCI_DEVICE(0x1eac, 0x1002)}, //EM160
975 {PCI_DEVICE(0x1eac, 0x1004)}, //RM520
976 {PCI_DEVICE(MHI_PCIE_VENDOR_ID, MHI_PCIE_DEBUG_ID)},
977 {0},
978 };

Can you Please Provide Quectel_QConnectManager_Linux source code

I will sent it by email

static struct pci_device_id mhi_pcie_device_id[] = {
{PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0303)},
{PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0304)}, //SDX20
{PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0304)}, //SDX24
{PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0306)}, //SDX55
{PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0308)}, //SDX62
{PCI_DEVICE(0x1eac, 0x1001)}, //EM120
{PCI_DEVICE(0x1eac, 0x1002)}, //EM160
{PCI_DEVICE(0x1eac, 0x1004)}, //RM520
{PCI_DEVICE(MHI_PCIE_VENDOR_ID, MHI_PCIE_DEBUG_ID)},
{0},

For EM120R-GL Module 0x1eac and 0x1001 is it ok ?
and if not ok then which value consider there?

The VID & PID is fixed.

I don’t understand why you try add

{PCI_DEVICE(0x1eac, 0x1001)}

I not able to Cross-compile
Quectel_QConnectManager_Linux source code Can You Guide please

./quectel-CM & it is necessary to run ? Or else is optional

How to Open MBIM Interface ?
How to Network setup?

how to configure Modem works in MBIM mode ?

Can you Please Provide Quectel_QConnectManager_Linux source code

set the modem by sending AT;

AT+QCFG=“usbnet”,2

and restart the modem, it will take effect after reboot

sent by email,
please check it

Thank you !!!
I received your Quectel_QConnectManager_Linux_V1.6.4.zip