RM520N-GL (AP) no driver load under Linux

Debian 13 Trixie
Quectel RM520N-GL (AP)

uname -a

Linux server3 6.11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1 (2024-10-27) x86_64 GNU/Linux

lspci -v

0d:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
	Subsystem: Qualcomm Technologies, Inc Device 0308
	Flags: fast devsel, NUMA node 0, IOMMU group 45
	Memory at f3c01000 (64-bit, non-prefetchable) [size=4K]
	Memory at f3c00000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=8/32 Maskable+ 64bit+
	Capabilities: [70] Express Endpoint, IntMsgNum 0
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Secondary PCI Express
	Capabilities: [168] Physical Layer 16.0 GT/s <?>
	Capabilities: [18c] Lane Margining at the Receiver
	Capabilities: [19c] Transaction Processing Hints
	Capabilities: [228] Latency Tolerance Reporting
	Capabilities: [230] L1 PM Substates
	Capabilities: [240] Data Link Feature <?>
	Kernel modules: mhi_pci_generic
	

looking at above output the kernel module does get loaded but there is no ‘driver in use’ showing.

This is loading the inbuilt mhi_pci builtin driver.

I did do a make and a make install of driver V1.3.7.
The driver would make but with about 25 warnings…many ‘instruc’ warnings.

After I do this and reboot machine the modem does not show up even in lspci?

If i do a ‘sudo modprobe pcie_mhi’ the 1.3.7 driver does load without error into kernel but the modem is never showing.

How to proceed.

TIA

Adding ( could not even find an edit option,for a post)?

Oct 30 22:31:05 server3 kernel: mhi_init Quectel_Linux_PCIE_MHI_Driver_V1.3.7
Oct 30 22:31:04 server3 kernel: pcie_mhi: module verification failed: signature and/or required key missing - tainting kernel
Oct 30 22:31:04 server3 kernel: pcie_mhi: loading out-of-tree module taints kernel.

WHY is there no edit option,on a users post?

Nov 04 17:27:51 server3 kernel: mhi-pci-generic 0000:0d:00.0: probe with driver mhi-pci-generic failed with error -110
Nov 04 17:27:51 server3 kernel: mhi-pci-generic 0000:0d:00.0: failed to power up MHI controller
Nov 04 17:27:51 server3 kernel: mhi mhi0: MHI did not enter READY state
Nov 04 17:27:51 server3 kernel: mhi mhi0: Device failed to enter MHI Ready
Nov 04 17:27:51 server3 kernel: mhi mhi0: Power on setup success
Nov 04 17:27:51 server3 kernel: mhi mhi0: Requested to power ON
Nov 04 17:27:51 server3 kernel: mhi-pci-generic 0000:0d:00.0: enabling device (0000 → 0002)
Nov 04 17:27:51 server3 kernel: mhi-pci-generic 0000:0d:00.0: BAR 0 [mem 0xf3c01000-0xf3c01fff 64bit]: assigned
Nov 04 17:27:51 server3 kernel: mhi-pci-generic 0000:0d:00.0: MHI PCI device found: qcom-sdx65m
– Boot d115acfd20e146cc9c21cc5b87de4825 –

EDIT: It appears the top line failed with error -110 is why the generic mhi-pci-geneic kernel module is why there is no driver in use.
Dont know what to try to resolve this?

If you want to try the pcie_mhi should remove the mhi_pci_generic from the Linux kernel first.
We do not have experience with the pcie_mhi_generic.

1 Like