有情怀的垃圾佬 发表于 2023-8-17 17:14:16

sw799a那种板子的4G模块问题,插入sim卡后usb不断的断开和重连

我的一个sw799,核心板是横着的没有type c的那种。刷了80+高大上的版本op、插入sim卡之后4G模块的usb口不断的断开和重连,会不会是4G模块坏了?下面断开重连的日志不断的打印出来。在断开之前抓紧时间ping外部的IP是能通的。
usb 2-1: USB disconnect, device number 10
usb 2-1: new high-speed USB device number 11 using ehci-platform
rndis_host 2-1:1.0 eth1: register 'rndis_host' at usb-fe3c0000.usb-1, RNDIS device, ac:00:00:82:8b:39

大佬来指点一下吧

有情怀的垃圾佬 发表于 2023-8-18 17:41:39

目前考虑三个方向:1. 供电(需要修改dts);2. rndis驱动;3. 4G模块(坏了);

有情怀的垃圾佬 发表于 2023-8-31 14:41:39

多贴一点日志:
usb 2-1: USB disconnect, device number 2
rndis_host 2-1:1.0 eth1: unregister 'rndis_host' usb-fe3c0000.usb-1, RNDIS device
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 2-1:1.2: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 2-1:1.3: device disconnected
option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
option 2-1:1.4: device disconnected
usb 2-1: new high-speed USB device number 3 using ehci-platform
usb 2-1: USB disconnect, device number 3
usb 2-1: new high-speed USB device number 4 using ehci-platform
rndis_host 2-1:1.0 eth1: register 'rndis_host' at usb-fe3c0000.usb-1, RNDIS device, ac:00:00:f4:cd:73
option 2-1:1.2: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
option 2-1:1.3: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
option 2-1:1.4: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
usb 2-1: USB disconnect, device number 4
rndis_host 2-1:1.0 eth1: unregister 'rndis_host' usb-fe3c0000.usb-1, RNDIS device
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 2-1:1.2: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 2-1:1.3: device disconnected
option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
option 2-1:1.4: device disconnected
usb 2-1: new high-speed USB device number 5 using ehci-platform
usb 2-1: USB disconnect, device number 5
usb 2-1: new high-speed USB device number 6 using ehci-platform
rndis_host 2-1:1.0 eth1: register 'rndis_host' at usb-fe3c0000.usb-1, RNDIS device, ac:00:00:eb:99:f8
option 2-1:1.2: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
option 2-1:1.3: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
option 2-1:1.4: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2

ccee 发表于 2023-8-31 21:11:24

ophub试过没

有情怀的垃圾佬 发表于 2023-9-1 09:32:41

ccee 发表于 2023-8-31 21:11
ophub试过没

试过,最好的是高大全的那个,也是有同样的问题。我这个版本就是用高大全的dts,加上百度的修改识别出/dev/ttyUSB, 没能解决问题,下面是高大全的链接:
http://files.kos.org.cn/rockchip/sw799/openwrt_R23.01.01_bozz-sw799a_k6.1.2-flippy-80%2B%E9%AB%98%E5%A4%A7%E5%85%A8.7z

有情怀的垃圾佬 发表于 2023-9-5 10:46:25

用串口工具试了下,根据官方的《CLM920_AC3 模块Linux 集成用户手册》,“AT+ RNDISCALL =1”这个指令返回error。有大佬了解吗?

有情怀的垃圾佬 发表于 2023-9-5 17:58:45

解决了,喜大普奔。
借了别人的卡试了都正常上网,电信的移动的都ok。我的电信卡一连上网络、4G模块就重启。

evel 发表于 2023-10-28 19:43:18

大佬,4g模块怎么用啊?我首页就没有显示,只有一个网卡,求教谢谢

Qwer 发表于 2023-11-5 08:20:10

本帖最后由 Qwer 于 2023-11-5 09:23 编辑

有情怀的垃圾佬 发表于 2023-9-1 09:32
试过,最好的是高大全的那个,也是有同样的问题。我这个版本就是用高大全的dts,加上百度的修改识别出/de ...
楼主问下你那边是怎么做到识别/dev/ttyUSB,也是用这个高大全版本,只有ttyS、tty,没有ttyUSB

是这个命令吗,用完好像是出来了/dev/ttyUSB0/dev/ttyUSB1/dev/ttyUSB2
modprobe option
echo 1286 4e3c > /sys/bus/usb-serial/drivers/option1/new_id



把命令分开好像可以了

有情怀的垃圾佬 发表于 2023-11-6 09:16:13

Qwer 发表于 2023-11-5 08:20
楼主问下你那边是怎么做到识别/dev/ttyUSB,也是用这个高大全版本,只有ttyS、tty,没有ttyUSB

是这个命 ...

我是百度之后把1286 4e3c加到源码中,使用ndis驱动不需要加。
页: [1] 2
查看完整版本: sw799a那种板子的4G模块问题,插入sim卡后usb不断的断开和重连