Nirjul
September 26, 2022, 10:08am
#1
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?
Nirjul
September 27, 2022, 5:03am
#3
I want to change PID and VID because specific EM120R-GL module model Number
Nirjul
September 27, 2022, 5:07am
#4
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
Nirjul
September 28, 2022, 11:47am
#7
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 };
Nirjul
September 29, 2022, 3:57pm
#8
Can you Please Provide Quectel_QConnectManager_Linux source code
Nirjul
September 30, 2022, 6:32am
#10
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)}
Nirjul
October 10, 2022, 5:15am
#12
I not able to Cross-compile
Quectel_QConnectManager_Linux source code Can You Guide please
Nirjul
October 10, 2022, 8:18am
#13
./quectel-CM & it is necessary to run ? Or else is optional
Nirjul
October 10, 2022, 9:53am
#14
How to Open MBIM Interface ?
How to Network setup?
Nirjul
October 11, 2022, 5:25am
#15
how to configure Modem works in MBIM mode ?