You are not allowed to add pages
Direct Link
Direct Link
This is an old revision of the document!
连接EC20模块
root@firefly:/dev# lsusb Bus 008 Device 005: ID 05e3:0620 Genesys Logic, Inc. USB3.0 Hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 007: ID 0fe6:9900 ICS Advent Bus 007 Device 006: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem Bus 007 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 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:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@firefly:/dev# quectel-CM [11-03_16:33:19:289] QConnectManager_Linux_V1.6.1 [11-03_16:33:19:293] Find /sys/bus/usb/devices/7-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x007, dev=0x006 [11-03_16:33:19:294] Auto find qmichannel = /dev/cdc-wdm0 [11-03_16:33:19:294] Auto find usbnet_adapter = wwan0 [11-03_16:33:19:295] netcard driver = qmi_wwan_q, driver version = 22-Aug-2005 [11-03_16:33:19:295] Modem works in QMI mode [11-03_16:33:19:323] cdc_wdm_fd = 7 [11-03_16:33:19:393] Get clientWDS = 7 [11-03_16:33:19:425] Get clientDMS = 1 [11-03_16:33:19:457] Get clientNAS = 2 [11-03_16:33:19:489] Get clientUIM = 1 [11-03_16:33:19:521] Get clientWDA = 1 [11-03_16:33:19:553] requestBaseBandVersion EC20CEFILGR06A07M1G [11-03_16:33:19:681] requestGetSIMStatus SIMStatus: SIM_ABSENT [11-03_16:33:19:713] requestGetProfile[1] ///0/IPV4V6 [11-03_16:33:19:745] requestRegistrationState2 MCC: 460, MNC: 1, PS: Detached, DataCap: UNKNOW [11-03_16:33:19:777] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED [11-03_16:33:19:778] ifconfig wwan0 0.0.0.0 [11-03_16:33:19:792] ifconfig wwan0
mmcli -m MODEM_INDEX
root@firefly:/dev# mmcli -m 0 ----------------------------- General | path: /org/freedesktop/ModemManager1/Modem/0 | device id: 317d14563a761d0bf018eaaa6173364371a4873e ----------------------------- Hardware | manufacturer: Quectel | model: EC20F | firmware revision: EC20CEFILGR06A07M1G | supported: gsm-umts, lte | current: gsm-umts, lte | equipment id: 863617064431395 ----------------------------- System | device: /sys/devices/platform/usbhost/fd000000.dwc3/xhci-hcd.5.auto/usb7/7-1/7-1.3 | drivers: qmi_wwan_q, option | plugin: quectel | primary port: ttyUSB2 | ports: ttyUSB0 (qcdm), ttyUSB1 (gps), ttyUSB2 (at), ttyUSB3 (at), | wwan0 (net) ----------------------------- Status | state: failed | failed reason: sim-missing | power state: on | signal quality: 0% (cached) ----------------------------- Modes | supported: allowed: 2g, 3g, 4g; preferred: none | current: allowed: any; preferred: none ----------------------------- IP | supported: ipv4, ipv6, ipv4v6