移远官网

关于 RG200U-CN pcie 版本在 istoreOS 上的问题咨询

已正常接入 minipcie 插槽, lspci 无法找到设备,是否因为设备问题导致。
该卡槽插入另外一块 EC20 4G pcie 的卡正常。
更换 RG200UCNV1-D10-MN0AA 后无法识别。

root@iStoreOS:~# lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:461c]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
lspci: Unable to load libkmod resources: error -12
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:46d1]
DeviceName: Onboard - Video
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: i915
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:54ed]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: xhci_hcd
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:54ef]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:54e0]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:54d3]
DeviceName: Onboard - SATA
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: ahci
00:1a.0 SD Host controller [0805]: Intel Corporation Device [8086:54c4]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: sdhci-pci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:54ba]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation Device [8086:54bb]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: pcieport
00:1c.6 PCI bridge [0604]: Intel Corporation Device [8086:54be]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:54b0]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: pcieport
00:1d.3 PCI bridge [0604]: Intel Corporation Device [8086:54b3]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:5481]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:54c8]
DeviceName: Onboard - Sound
Subsystem: Intel Corporation Device [8086:7270]
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:54a3]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:54a4]
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
01:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:125c] (rev 04)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
02:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:125c] (rev 04)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
03:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:125c] (rev 04)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
04:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:125c] (rev 04)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
05:00.0 Non-Volatile memory controller [0108]: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 [1e4b:1202] (rev 01)
Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 [1e4b:1202]
Kernel driver in use: nvme
root@iStoreOS:~#

EC20 是不支持PCIe的,只能走USB。
要确定下RG200U 也是走USB接口

我的RG200U-CN是MINIPCIE封装的

也就是说,我插的minipcie,使用的是usb接口驱动对么。在lsusb也没有看到。
root@iStoreOS:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.10.201 xhci-hcd xHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.201 xhci-hcd xHCI Host Controller
root@iStoreOS:~#

你好,能法我一份EC800M-CN的AT指令手册么,哦还有单片机的驱动程序DEMO,引脚不知道咋配不好意思哦,1870722465@qq.com

miniPCIe 封装,但是具体是走USB还是PCIe 还要看具体走线的。
建议从两个角度分析下:

  1. 模组是否开机;
  2. 硬件确认下是走USB还是PCIe;

EC20 是 只支持USB的。

经查看主板引脚对比RG200U定义,无法与之通讯。我切回EC20CEFASG-MINIPCIE-C,发现无法驱动。lsusb显示如下:
root@iStoreOS:/mnt/data_nvme0n1p1/quectel# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.10.201 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 2c7c:0125 Android Android
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.201 xhci-hcd xHCI Host Controller
root@iStoreOS:/mnt/data_nvme0n1p1/quectel#

请问下openwrt下怎么编译.c和.h来驱动。

STD_Modules/Topics/CPEProducts/openwrt/package/quectel at Q · QuectelWB/STD_Modules (github.com)

可以参考这里的makefile