Hi,
My question is not fully about RM520N module, rather to the Waveshare PCIe to USB 3.2 HAT and the compatibility with the two (according the their Wiki it is compatible)
But maybe someone had the same issue has me and did solved it, let see.
I’ve their Raspberry PI - PCIe to TO 4G/5G M.2 USB3.2 HAT+, but when in used with RM520N-GLAA (the rasberry and the hat is powered), the modem is not reconized:
hal9000@piwwan:~ $ sudo su -
root@piwwan:~# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@piwwan:~# lspci
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
0001:01:00.0 USB controller: VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller (rev 01)
0002:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
0002:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
root@piwwan:~# mmcli -L
No modems were found
I know that the hat is working, as I’m able to use it with a SIMCOM 7600 modem:
hal9000@piwwan:~ $ sudo su -
root@piwwan:~# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1e0e:9001 Qualcomm / Option SimTech, Incorporated
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@piwwan:~# lspci
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
0001:01:00.0 USB controller: VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller (rev 01)
0002:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
0002:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
root@piwwan:~# mmcli -L
/org/freedesktop/ModemManager1/Modem/0 [QUALCOMM INCORPORATED] SIMCOM_SIM7600G-H
The RM520N-GL is correctly configured to use USB communication not PCIe. As I know the modem is working, as I’m able to use it with an other of their hat (for previous Raspberry Pi gen)
root@mystberry:~# lsusb
Bus 001 Device 004: ID 2c7c:0801 Quectel Wireless Solutions Co., Ltd. RM520N-GL
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@mystberry:~# mmcli -L
/org/freedesktop/ModemManager1/Modem/0 [Quectel] RM520N-GL
root@mystberry:~# mmcli -m 0
(...)
-----------------------------------
System | device: /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2
| drivers: qmi_wwan, option1
| plugin: quectel
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), ttyUSB2 (at), ttyUSB3 (at), wwan0 (net)
Modem infos from AT commands:
ATI
Quectel
RM520N-GL
Revision: RM520NGLAAR03A03M4G
AT+QCFG="usbcfg"
+QCFG: "usbcfg",0x2C7C,0x0801,1,1,1,1,1,1,0
AT+QCFG="usbnet"
+QCFG: "usbnet",0
AT+QCFG="pcie/mode"
+QCFG: "pcie/mode",0
AT+QCFG="usbspeed"
+QCFG: "usbspeed","311" // USB3 5Gbps
AT+QCFG="usbspeed","20"
OK
AT+QCFG="usbspeed"
+QCFG: "usbspeed","20" // USB2 480mbps
AT+QCFG="data_interface"
+QCFG: "data_interface",0,0 // network port and network diagnostic via USB
So far I’ve tried to changes the ubspeed (just in case), but without any changes.
- Does anyone has been able to use RM520x modem with Waveshare latest PCIe to USB hat+?
- Does anyone has any clues on what can goes wrong here?
/Br