查看: 1153|回复: 3

YY3568 PCIE 接上4G 模块后,识别不到4G模块

[复制链接]

4

主题

10

回帖

254

积分

中级会员

Rank: 3Rank: 3

积分
254
发表于 2024-3-13 17:21:39 | 显示全部楼层 |阅读模式
本帖最后由 agent 于 2024-3-13 17:32 编辑

硬件主板型号:YY3568
固件名称/系统版本:kernel 5.10
自编的或固件下载地址:
Log日志: 附件上传了 dmesg 输出的日志

问题描述及复现步骤:


在接上 4G 模块后,识别不到 4G 模块

image.png

image.png


1.log.zip

17.35 KB, 下载次数: 54

dmesg 输出

回复

使用道具 举报

4

主题

10

回帖

254

积分

中级会员

Rank: 3Rank: 3

积分
254
 楼主| 发表于 2024-3-13 17:44:15 | 显示全部楼层
本帖最后由 agent 于 2024-3-13 18:13 编辑

1. 硬件方面:

```
1 块 mini PCIE 转 PCIE 接口转换接头
1 块 Quectel EC200U 4G 模块

将 4G 模块接上 PCIE 转换板,再接到开发板子上
```

2. 固件方面:

将 移远的 option PID:VID 添加到 option.c 中

```c

root@liuxb-199-119:~/TEMP/Quectel_Linux_USB_Serial_Option_Driver_20231211/20231211/v5.10.11/drivers/usb/serial# git diff option.c
diff --git a/v5.10.11/drivers/usb/serial/option.c b/v5.10.11/drivers/usb/serial/option.c
index 3fe9591..382c24b 100644
--- a/v5.10.11/drivers/usb/serial/option.c
+++ b/v5.10.11/drivers/usb/serial/option.c
@@ -580,6 +582,39 @@ static void option_instat_callback(struct urb *urb);


static const struct usb_device_id option_ids[] = {
+#if 1 //Added by Quectel
+       { USB_DEVICE(0x05C6, 0x9090) }, /* Quectel UC15 */
+       { USB_DEVICE(0x05C6, 0x9003) }, /* Quectel UC20 */
+       { USB_DEVICE(0x05C6, 0x9215) }, /* Quectel EC20(MDM9215) */
+    { USB_DEVICE(0x05C6, 0x9091) }, /* Quectel QCM6125 */
+       { USB_DEVICE(0x05C6, 0x90DB) }, /* Quectel QCM6490 */
+       { USB_DEVICE(0x2C7C, 0x0125) }, /* Quectel EC20(MDM9x07)/EC25/EG25 */
+       { USB_DEVICE(0x2C7C, 0x0121) }, /* Quectel EC21 */
+    { USB_DEVICE(0x2C7C, 0x030E) }, /* Quectel EM05G */
+       { USB_DEVICE(0x2C7C, 0x0191) }, /* Quectel EG91 */
+       { USB_DEVICE(0x2C7C, 0x0195) }, /* Quectel EG95 */
+       { USB_DEVICE(0x2C7C, 0x0306) }, /* Quectel EG06/EP06/EM06 */
+       { USB_DEVICE(0x2C7C, 0x030B) }, /* Quectel EG065K/EG060K */
+       { USB_DEVICE(0x2C7C, 0x0514) }, /* Quectel BL EG060K RNDIS Only */
+       { USB_DEVICE(0x2C7C, 0x0512) }, /* Quectel EG12/EP12/EM12/EG16/EG18 */
+       { USB_DEVICE(0x2C7C, 0x0296) }, /* Quectel BG96 */
+       { USB_DEVICE(0x2C7C, 0x0700) }, /* Quectel BG95/BG77/BG600L-M3/BC69 */
+       { USB_DEVICE(0x2C7C, 0x0435) }, /* Quectel AG35 */
+       { USB_DEVICE(0x2C7C, 0x0415) }, /* Quectel AG15 */
+       { USB_DEVICE(0x2C7C, 0x0452) }, /* Quectel AG520 */
+       { USB_DEVICE(0x2C7C, 0x0455) }, /* Quectel AG550 */
+       { USB_DEVICE(0x2C7C, 0x0620) }, /* Quectel EG20 */
+       { USB_DEVICE(0x2C7C, 0x0800) }, /* Quectel RG500/RM500/RG510/RM510 */
+       { USB_DEVICE(0x2C7C, 0x0801) }, /* Quectel RG520/RM520/SG520 */
+    { USB_DEVICE(0x2C7C, 0x0122) }, /* Quectel RG650 SDX7X */
+    { USB_DEVICE(0x2C7C, 0x0316) }, /* Quectel RG255 SDX35 */
+       { USB_DEVICE(0x2C7C, 0x6026) }, /* Quectel EC200 */
+       { USB_DEVICE(0x2C7C, 0x6120) }, /* Quectel UC200 */
+       { USB_DEVICE(0x2C7C, 0x6000) }, /* Quectel EC200/UC200 */
+       { USB_DEVICE(0x3763, 0x3C93) }, /* Quectel GW */
+       { USB_DEVICE(0x3C93, 0xFFFF) }, /* Quectel GW */
+       { .match_flags = USB_DEVICE_ID_MATCH_VENDOR, .idVendor = 0x2C7C }, /* Match All Quectel Modules */
+#endif
        { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
        { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
        { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_LIGHT) },

```

编译固件并烧录进去,没有 4G 模块网卡。
换了一块 EC20 的4G模块,同样没有 4G 模块网卡。

请问如何才能使 4G 模块可用?或者板子如何使用 4G 模块,有没有这方面的教程wiki?

回复 支持 反对

使用道具 举报

22

主题

352

回帖

1898

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1898
QQ
发表于 2024-3-13 18:16:26 | 显示全部楼层
agent 发表于 2024-3-13 17:44
1. 硬件方面:

```

需要专门的转接板,不同的转接板不一定能兼容
回复 支持 反对

使用道具 举报

4

主题

10

回帖

254

积分

中级会员

Rank: 3Rank: 3

积分
254
 楼主| 发表于 2024-3-13 18:17:42 | 显示全部楼层
请帮忙推荐下专门的转接板,能够用在 风火轮 板子上面的那种,谢谢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-7-27 09:36 , Processed in 0.055788 second(s), 23 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn