字體:小 中 大 | |
|
|
2022/06/24 14:02:13瀏覽487|回應0|推薦0 | |
建議不要用ubuntu16的mmcli, 會大錯亂, ubuntu18的mmcli比較成熟穩定 usbnet=0, QMI usbnet=1, ECM usbnet=2, MBMI usbnet=3, RNDIS Ubuntu16, modem manager version = 1.6.4 Ubuntu18, modem manager version = 1.10 U16, modem manager, EC20可以用QMI , MBIM, 開機後, 插上EC20, 比對新增加的模組 0_QMI > option 53248 0 > usb_wwan 20480 1 option > qmi_wwan 32768 0 > cdc_wdm 20480 2 qmi_wwan > usbnet 45056 1 qmi_wwan > mii 16384 1 usbnet > usbserial 45056 2 option,usb_wwan 1_ECM > qmi_wwan 32768 0 > option 53248 0 > cdc_wdm 20480 1 qmi_wwan > usb_wwan 20480 1 option > cdc_ether 16384 0 > usbnet 45056 2 cdc_ether,qmi_wwan > mii 16384 1 usbnet > usbserial 45056 2 option,usb_wwan 3_RNDIS > qmi_wwan 32768 0 > rndis_host 16384 0 > option 53248 0 > usb_wwan 20480 1 option > cdc_ether 16384 1 rndis_host > cdc_wdm 20480 2 qmi_wwan > usbnet 45056 3 rndis_host,cdc_ether,qmi_wwan > mii 16384 1 usbnet > usbserial 45056 2 option,usb_wwan 2_MBIM > cdc_mbim 16384 0 > cdc_ncm 36864 1 cdc_mbim > option 53248 2 > usb_wwan 20480 1 option > qmi_wwan 32768 0 > cdc_wdm 20480 3 cdc_mbim,qmi_wwan > usbnet 45056 3 cdc_mbim,qmi_wwan,cdc_ncm > mii 16384 1 usbnet > usbserial 45056 6 option,usb_wwan u18 ec20 mbim=2 /sys/bus/usb/drivers$ find | grep "3-2:1" ./cdc_mbim/3-2:1.5 ./cdc_mbim/3-2:1.4 ./option/3-2:1.3 ./option/3-2:1.1 ./option/3-2:1.2 ./option/3-2:1.0 ls /sys/class/net/ ens33 lo wws160u2i4 dmesg | grep mbim [ 97.781418] cdc_mbim 3-2:1.4: cdc-wdm0: USB WDM device [ 97.782613] cdc_mbim 3-2:1.4 wwan0: register cdc_mbim at usb-0000:03:00.0-2, CDC MBIM, 66:e5:4d:56:7d:74 [ 97.782882] usbcore: registered new interface driver cdc_mbim [ 97.812755] cdc_mbim 3-2:1.4 wws160u2i4: renamed from wwan0 ifconfig wws160u2i4: flags=4291 mtu 1500 inet 100.87.157.54 netmask 255.255.255.252 broadcast 100.87.157.55 inet6 2404:0:803a:ba2c:1da4:62f6:814b:1bd5 prefixlen 64 scopeid 0x0 inet6 2404:0:803a:ba2c:5143:1fe6:1890:5ccc prefixlen 64 scopeid 0x0 inet6 2404:0:803a:ba2c:4498:85ff:fe48:1d36 prefixlen 64 scopeid 0x0 ether 46:98:85:48:1d:36 txqueuelen 1000 (Ethernet) RX packets 33 bytes 3654 (3.6 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 108 bytes 12240 (12.2 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 mmcli -L /org/freedesktop/ModemManager1/Modem/1 [Android] Android mmcli -m 0 primary port: cdc-wdm0 ports: ttyUSB0 (qcdm), ttyUSB2 (at), ttyUSB3 (at),wws160u2i4 (net), cdc-wdm0 (mbim) interface: wws160u2i4 ------------------------------------------------------------------------ u18 ec20 qmi=1 /sys/bus/usb/drivers$ find | grep "3-2:1" ./qmi_wwan/3-2:1.4 ./option/3-2:1.3 ./option/3-2:1.1 ./option/3-2:1.2 ./option/3-2:1.0 ls /sys/class/net/ ens33 lo wwan0 dmesg | grep wwan [ 101.018266] qmi_wwan 3-2:1.4: cdc-wdm0: USB WDM device [ 101.020470] qmi_wwan 3-2:1.4 wwan0: register qmi_wwan at usb-0000:03:00.0-2, WWAN/QMI device, ce:04:78:c0:33:56 [ 101.021580] usbcore: registered new interface driver qmi_wwan mmcli -L /org/freedesktop/ModemManager1/Modem/0 [QUALCOMM INCORPORATED] QUECTEL Mobile Broadband Module mmcli -m 0 primary port: cdc-wdm0 ports: ttyUSB0 (qcdm), ttyUSB2 (at), ttyUSB3 (at), cdc-wdm0 (qmi),wwan0 (net) interface: wwan0 感謝前人留了一盞燈.添個燈油
|
|
( 創作|其他 ) |