请问为什么AIR720 4G模块插入到V3s linux4.13系统,
只有一个 RNDIS 设备,
确没有像 Windows再多四个串口.
这是为什么呢?
离线
[ 595.249458] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 595.446965] rndis_host 1-1:1.0 eth1: register 'rndis_host' at usb-1c1a000.usb-1, RNDIS device, ac:a9:de:f8:f1:75
这是驱动输出的记录.
离线
插入 ubuntu 18.04 也是这样:
[699934.369537] usb 3-2.1: USB disconnect, device number 19
[699934.369614] rndis_host 3-2.1:1.0 enxaca9def8f175: unregister 'rndis_host' usb-0000:03:00.0-2.1, RNDIS device
[699936.475885] usb 3-2.1: new high-speed USB device number 20 using xhci_hcd
[699936.689810] usb 3-2.1: New USB device found, idVendor=1286, idProduct=4e3d, bcdDevice= 1.00
[699936.689812] usb 3-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[699936.689813] usb 3-2.1: Product: Mobile Composite Device Bus
[699936.689814] usb 3-2.1: Manufacturer: Marvell
[699936.689815] usb 3-2.1: SerialNumber: 200806006809080000
[699936.702012] rndis_host 3-2.1:1.0 eth0: register 'rndis_host' at usb-0000:03:00.0-2.1, RNDIS device, ac:a9:de:f8:f1:75
[699936.749105] rndis_host 3-2.1:1.0 enxaca9def8f175: renamed from eth0
离线
终于找到官方的文档了,
原来要打开 /dev/ttyUSB* 需要修改内核配置和源码:
https://ask.openluat.com/article/79
上面链接的云备份: air720_linux_rndis_ttyUSB.pdf
离线
费了九牛二虎之力终于搞定.
[ 44.119061] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 44.317009] rndis_host 1-1:1.0 eth1: register 'rndis_host' at usb-1c1a000.usb-1, RNDIS device, ac:92:48:f9:ea:08
[ 44.380705] option 1-1:1.2: GSM modem (1-port) converter detected
[ 44.411618] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 44.445448] option 1-1:1.3: GSM modem (1-port) converter detected
[ 44.474551] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 44.491664] option 1-1:1.4: GSM modem (1-port) converter detected
[ 44.524489] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
先按这个改: https://ask.openluat.com/article/37
再按这个改: https://ask.openluat.com/article/79
离线