wangbiao 你好
还有一个模组EC200U-CN需要你的指点,根据手册修改完usb serial option驱动后,现在硬件已经能成功被驱动识别CDC (RNDIS mode)和ttyUSB0-6 这些符合手册关于2c7c/0901 EC200U的的描述。usb0接口也成功创建
现在有2个问题
-
请问配置usb0上网的流程如何?是否和EC200A RNDIS一样。请帮忙给出基本步骤!
-
根据手册描述 ttyUSB0是 AT command 接收设备
但是执行任何AT command都返回 +CME ERROR: 58
感谢指点!
日志:
#echo AT | socat - /dev/ttyUSB0,crnl
AT+C5AT
+CME ERROR: 58
echo AT+QCFG=“usbnet” | socat - /dev/ttyUSB0,crnl
AT+CAT+QCFG=usbnet
+CME ERROR: 58
启动日志
[ 14.586851] cdc_ether 1-2:1.0 usb0: register ‘cdc_ether’ at usb-1e1c0000.xhci-2, CDC Ethernet Device, 02:4b:b3:b9:eb:e5
[ 14.608778] usbcore: registered new interface driver cdc_ether
[ 14.625507] usbcore: registered new interface driver cdc_ncm
[ 14.639193] usbcore: registered new interface driver cdc_subset
[ 14.682148] PPP generic driver version 2.4.2
[ 14.698399] NET: Registered protocol family 24
[ 14.711480] usbcore: registered new interface driver qmi_wwan
[ 14.729969] usbcore: registered new interface driver rndis_host
[ 14.762356] usbcore: registered new interface driver cdc_mbim
[ 14.779762] usbcore: registered new interface driver option
[ 14.791072] usbserial: USB Serial support registered for GSM modem (1-port)
[ 14.805377] option 1-2:1.2: GSM modem (1-port) converter detected
[ 14.817905] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 14.831703] option 1-2:1.3: GSM modem (1-port) converter detected
[ 14.844299] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 14.858172] option 1-2:1.4: GSM modem (1-port) converter detected
[ 14.870813] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 14.884731] option 1-2:1.5: GSM modem (1-port) converter detected
[ 14.897318] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
[ 14.911116] option 1-2:1.6: GSM modem (1-port) converter detected
[ 14.923637] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB4
[ 14.937458] option 1-2:1.7: GSM modem (1-port) converter detected
[ 14.949982] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB5
[ 14.963873] option 1-2:1.8: GSM modem (1-port) converter detected
[ 14.976472] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB6