Firefly开源社区

打印 上一主题 下一主题

[Linux] 5G模块找不到SIM卡

14

积分

0

威望

0

贡献

技术小白

积分
14

5G模块找不到SIM卡

发表于 2022-11-25 18:15:27      浏览:6824 | 回复:8        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
5G模组固定好了,ifconfig也能查到,但是flags是4099,如1.png
SIM卡也插入,正反如2.png

打开设置到网络,如3.png
选择移动宽带--添加新连接,如4.png
找不到国家和地区,后面的选项也都是空
有什么解决办法?


1.png (132.61 KB, 下载次数: 636)

1.png

2.png (127.71 KB, 下载次数: 688)

2.png

3.png (56.2 KB, 下载次数: 676)

3.png

4.png (81.42 KB, 下载次数: 660)

4.png

log.tar.gz

270 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2022-11-28 10:10:57        只看该作者  沙发
没检测到SIM卡,应该是插槽太松了,在SIM卡背后贴点胶布垫一下再插入
回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2022-11-28 11:06:09        只看该作者  板凳
799959745 发表于 2022-11-28 10:10
没检测到SIM卡,应该是插槽太松了,在SIM卡背后贴点胶布垫一下再插入

有什么命令能知道sim卡是否插入吗,我现在多垫了块硬纸板还是和4.png一样找不到国家和地区
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2022-11-28 11:56:40        只看该作者  地板
执行拨号程序:quectel-CM
看下 SIM 卡的 LOG 显示的是什么
回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2022-11-28 13:44:12        只看该作者  5#
799959745 发表于 2022-11-28 11:56
执行拨号程序:quectel-CM
看下 SIM 卡的 LOG 显示的是什么

[11-28_05:30:34:359] QConnectManager_Linux_V1.6.1
[11-28_05:30:34:361] Find /sys/bus/usb/devices/2-1.3 idVendor=0x2c7c idProduct=0x900, bus=0x002, dev=0x005
[11-28_05:30:34:362] Auto find qmichannel = /dev/ttyUSB2
[11-28_05:30:34:362] Auto find usbnet_adapter = enx1e05434c6404
[11-28_05:30:34:362] netcard driver = cdc_ncm, driver version = 5.10.110
[11-28_05:30:34:362] Modem works in ECM_RNDIS_NCM mode
[11-28_05:30:34:408] atc_fd = 7
[11-28_05:30:34:409] AT> ATE0Q0V1
[11-28_05:30:34:425] AT< OK
[11-28_05:30:35:426] AT> AT+QCFG="usbnet"
[11-28_05:30:35:431] AT< +QCFG: "usbnet",5
[11-28_05:30:35:431] AT< OK
[11-28_05:30:35:431] AT> AT+QNETDEVCTL=?
[11-28_05:30:35:434] AT< +QNETDEVCTL: (1-8),(0-3),(0,1)
[11-28_05:30:35:434] AT< OK
[11-28_05:30:35:435] AT> AT+CGREG=2
[11-28_05:30:35:442] AT< OK
[11-28_05:30:35:442] AT> AT+CEREG=2
[11-28_05:30:35:449] AT< OK
[11-28_05:30:35:449] AT> AT+C5GREG=2
[11-28_05:30:35:456] AT< OK
[11-28_05:30:35:457] AT> AT+QNETDEVSTATUS=?
[11-28_05:30:35:461] AT< +QNETDEVSTATUS: (1-8)
[11-28_05:30:35:462] AT< OK
[11-28_05:30:35:462] AT> AT+QCFG="NAT"
[11-28_05:30:35:468] AT< +QCFG: "nat",0
[11-28_05:30:35:469] AT< OK
[11-28_05:30:35:469] AT> AT+CGMR
[11-28_05:30:35:474] AT< Platform Version: MOCORTM_20C_W22.01.3_P6_Debug
[11-28_05:30:35:474] AT< Project Version:   Orca_NR_modem
[11-28_05:30:35:474] AT< BASE  Version:    5G_MODEM_20C_W22.01.3_P6
[11-28_05:30:35:474] AT< HW Version:        udx710_modem
[11-28_05:30:35:474] AT< 07-01-2022 09:37:37
[11-28_05:30:35:474] AT< OK
[11-28_05:30:35:477] AT> AT+CPIN?
[11-28_05:30:35:480] AT< +CPIN: READY
[11-28_05:30:35:480] AT< OK
[11-28_05:30:35:480] AT> AT+QCCID
[11-28_05:30:35:485] AT< +QCCID: 89860115834022682491
[11-28_05:30:35:486] AT< OK
[11-28_05:30:35:486] requestGetICCID 89860115834022682491
[11-28_05:30:35:486] AT> AT+CIMI
[11-28_05:30:35:489] AT< 460010886201263
[11-28_05:30:35:489] AT< OK
[11-28_05:30:35:489] requestGetIMSI 460010886201263
[11-28_05:30:35:490] AT> AT+QICSGP=1
[11-28_05:30:35:495] AT< +QICSGP: 3,"3gnet","","",0
[11-28_05:30:35:496] AT< OK
[11-28_05:30:35:496] requestGetProfile[1] 3gnet///0/IPV4
[11-28_05:30:35:496] AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
[11-28_05:30:35:509] AT< +COPS: 0,0,"CHN-UNICOM",11
[11-28_05:30:35:520] AT< +COPS: 0,1,"CUCC",11
[11-28_05:30:35:530] AT< +COPS: 0,2,"46001",11
[11-28_05:30:35:530] AT< OK
[11-28_05:30:35:530] AT> AT+C5GREG?
[11-28_05:30:35:536] AT< +C5GREG: 2,1,"CFA401","CFA236002",11,9,01.000000
[11-28_05:30:35:536] AT< OK
[11-28_05:30:35:537] AT> at+cops?
[11-28_05:30:35:544] AT< +COPS: 0,2,"46001",11
[11-28_05:30:35:544] AT< OK
[11-28_05:30:35:544] AT> at+qeng="servingcell"
[11-28_05:30:35:560] AT< +QENG: "servingcell","NOCONN","NR5G-SA","TDD",460,01,CFA236002,166,CFA401,627264,78,5,-104,-12,2,0,12,1
[11-28_05:30:35:560] AT< OK
[11-28_05:30:35:560] AT> AT+QNETDEVSTATUS=1
[11-28_05:30:35:651] AT< +CME ERROR: 3
[11-28_05:30:35:652] ifconfig enx1e05434c6404 0.0.0.0
[11-28_05:30:35:672] ifconfig enx1e05434c6404 down
[11-28_05:30:35:683] AT> AT+QNETDEVCTL=1,1,1
[11-28_05:30:35:922] AT< OK
[11-28_05:30:35:923] AT> AT+QNETDEVSTATUS=1
[11-28_05:30:36:004] AT< +CME ERROR: 3
[11-28_05:30:37:005] AT> AT+QNETDEVSTATUS=1
[11-28_05:30:37:098] AT< +CME ERROR: 3
[11-28_05:30:38:099] AT> AT+QNETDEVSTATUS=1
[11-28_05:30:38:180] AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
[11-28_05:30:38:181] AT< OK
[11-28_05:30:38:181] AT> AT+QNETDEVSTATUS=1
[11-28_05:30:38:268] AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
[11-28_05:30:38:268] AT< OK
[11-28_05:30:38:269] requestGetIPAddress 10.110.0.145
[11-28_05:30:38:269] AT> at+cops?
[11-28_05:30:38:274] AT< +COPS: 0,2,"46001",11
[11-28_05:30:38:274] AT< OK
[11-28_05:30:38:275] AT> at+qeng="servingcell"
[11-28_05:30:38:291] AT< +QENG: "servingcell","NOCONN","NR5G-SA","TDD",460,01,CFA236002,166,CFA401,627264,78,20,-104,-6,2,21,12,1
[11-28_05:30:38:292] AT< OK
[11-28_05:30:38:292] AT> AT+QNETDEVSTATUS=1
[11-28_05:30:38:379] AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
[11-28_05:30:38:379] AT< OK
[11-28_05:30:38:379] ifconfig enx1e05434c6404 up
[11-28_05:30:38:396] busybox udhcpc -f -n -q -t 5 -i enx1e05434c6404
[11-28_05:30:38:802] AT< +QNETDEVSTATUS: 1,1,"IPV4V6",0
[11-28_05:30:41:700] AT> at+cops?
[11-28_05:30:41:704] AT< +COPS: 0,2,"46001",11
[11-28_05:30:41:705] AT< OK
[11-28_05:30:41:705] AT> at+qeng="servingcell"
[11-28_05:30:41:721] AT< +QENG: "servingcell","NOCONN","NR5G-SA","TDD",460,01,CFA236002,166,CFA401,627264,78,100,-103,-6,3,21,12,1
[11-28_05:30:41:721] AT< OK
[11-28_05:30:41:721] AT> AT+QNETDEVSTATUS=1
[11-28_05:30:41:821] AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
[11-28_05:30:41:821] AT< OK
[11-28_05:30:56:837] AT> at+cops?
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2022-11-28 14:08:27        只看该作者  6#
yxc5430013 发表于 2022-11-28 13:44
[11-28_05:30:34:359] QConnectManager_Linux_V1.6.1
[11-28_05:30:34:361] Find /sys/bus/usb/devices/ ...

看log没什么问题,插天线了吗?
回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2022-11-28 14:14:40        只看该作者  7#
本帖最后由 yxc5430013 于 2022-11-28 17:28 编辑
799959745 发表于 2022-11-28 14:08
看log没什么问题,插天线了吗?


有的
板子是4G的,插的是5g模组,sim卡试过5g卡和4g卡
firefly@firefly:~$ ifconfig
enxde117f889370: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether de:11:7f:88:93:70  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2022-11-28 14:29:22        只看该作者  8#
本帖最后由 yxc5430013 于 2022-11-28 17:28 编辑


回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2022-11-29 15:14:12        只看该作者  9#

用的是什么 5G 模块?
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表