This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM64B:USB 器件间歇性关断、重新连接- USB USB1-port1:已由 HUB (EMI?)禁用、重新启用...

Guru**** 2557290 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1420552/sk-am64b-usb-device-intermittently-dropping-off-reconnecting---usb-usb1-port1-disabled-by-hub-emi-re-enabling

器件型号:SK-AM64B

工具与软件:

大家好-我正在使用通过 USB 设备端口(USB-A)连接的 Quectel 评估板(手持 EG25-G 模块)、并且我间歇性地看到设备脱落。 它似乎与任何特定的交通无关-是否存在任何已知的问题或经验与此类项目?

下面是此类压降和重新连接的示例。

10-02_12:52:19:506] /usr/share/udhcpc/default.script: Adding DNS 192.168.111.2
[10-02_12:52:19:506] /usr/share/udhcpc/default.script: Adding DNS 192.168.112.2
Dropped protocol specifier '.udhcpc' from 'wwu1i4.udhcpc'. Using 'wwu1i4' (ifindex=14).
[ 2996.560810] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 2996.567066] usb 1-1: USB disconnect, device number 10
[ 2996.574078] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 2996.586019] option 1-1:1.0: device disconnected
[ 2996.597919] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 2996.606327] option 1-1:1.1: device disconnected
[ 2996.612856] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 2996.627858] option 1-1:1.2: device disconnected
[ 2996.635698] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 2996.648711] option 1-1:1.3: device disconnected
[ 2996.654574] qmi_wwan_q 1-1:1.4 wwu1i4: unregister 'qmi_wwan_q' usb-xhci-hcd.6.auto-1, WWAN/QMI Raw IP device
[10-02_12:52:24:232] QmiWwanThread poll err/hup/inval
[10-02_12:52:24:232] poll fd = 7, events = 0x0018
[10-02_12:52:24:233] QmiWwanThread exit
[10-02_12:52:24:233] ip addr flush dev wwu1i4
Device "wwu1i4" does not exist.
[10-02_12:52:24:269] ip link set dev wwu1i4 down
Cannot find device "wwu1i4"
[10-02_12:52:24:307] qmi_main exit
[ 2996.964907] usb 1-1: new high-speed USB device number 11 using xhci-hcd
[ 2997.137321] option 1-1:1.0: GSM modem (1-port) converter detected
[ 2997.144127] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 2997.156181] option 1-1:1.1: GSM modem (1-port) converter detected
[ 2997.163051] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 2997.173263] option 1-1:1.2: GSM modem (1-port) converter detected
[ 2997.181254] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 2997.188797] option 1-1:1.3: GSM modem (1-port) converter detected
[ 2997.195623] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 2997.209427] qmi_wwan_q 1-1:1.4: cdc-wdm0: USB WDM device
[ 2997.215925] qmi_wwan_q 1-1:1.4: Quectel EG25-G work on RawIP mode
[ 2997.224233] qmi_wwan_q 1-1:1.4: rx_urb_size = 1520
[ 2997.230559] qmi_wwan_q 1-1:1.4 wwan0: register 'qmi_wwan_q' at usb-xhci-hcd.6.auto-1, WWAN/QMI Raw IP device, 9e:09:1f:6e:ce:b2
[ 2997.431314] qmi_wwan_q 1-1:1.4 wwu1i4: renamed from wwan0

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    就像一个消除过程-可能与 Quectel 评估板一起提供的电缆;所以我已经交换了它,并将进行监控。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    因此、更换电缆可以摆脱 EMI 问题、让 USB 器件保持运行约7小时、然后断开连接、没有 EMI 错误、之后很快又进行连接(无需用户干预)。

    是否有关于调查此问题的后续步骤的想法?

    [10-02_21:44:18:354] requestRegistrationState2 MCC: 238, MNC: 20, PS: Attached, DataCap: LTE
    [10-02_21:51:02:196] requestRegistrationState2 MCC: 238, MNC: 20, PS: Attached, DataCap: LTE
    [10-02_21:52:25:941] requestRegistrationState2 MCC: 238, MNC: 20, PS: Attached, DataCap: LTE
    [10-02_21:54:04:438] requestRegistrationState2 MCC: 238, MNC: 20, PS: Attached, DataCap: LTE
    [10-02_21:54:12:213] requestRegistrationState2 MCC: 238, MNC: 20, PS: Attached, DataCap: LTE
    [35678.936310] usb 1-1: USB disconnect, device number 12
    [35678.942979] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [35678.951645] option 1-1:1.0: device disconnected
    [35678.961056] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [35678.971355] option 1-1:1.1: device disconnected
    [35678.977243] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [35678.986825] option 1-1:1.2: device disconnected
    [35679.004279] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
    [35679.019711] option 1-1:1.3: device disconnected
    [35679.029067] qmi_wwan_q 1-1:1.4 wwu1i4: unregister 'qmi_wwan_q' usb-xhci-hcd.6.auto-1, WWAN/QMI Raw IP device
    [10-02_21:57:06:611] QmiWwanThread poll err/hup/inval
    [10-02_21:57:06:611] poll fd = 7, events = 0x0018
    [10-02_21:57:06:611] QmiWwanThread exit
    [10-02_21:57:06:614] ip addr flush dev wwu1i4
    Device "wwu1i4" does not exist.
    [10-02_21:57:06:649] ip link set dev wwu1i4 down
    Cannot find device "wwu1i4"
    [10-02_21:57:06:683] qmi_main exit
    [35692.798589] usb 1-1: new high-speed USB device number 13 using xhci-hcd
    [35692.969502] option 1-1:1.0: GSM modem (1-port) converter detected
    [35692.976458] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
    [35692.985136] option 1-1:1.1: GSM modem (1-port) converter detected
    [35692.992250] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
    [35693.001587] option 1-1:1.2: GSM modem (1-port) converter detected
    [35693.010397] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
    [35693.017964] option 1-1:1.3: GSM modem (1-port) converter detected
    [35693.027098] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
    [35693.039480] qmi_wwan_q 1-1:1.4: cdc-wdm0: USB WDM device
    [35693.046062] qmi_wwan_q 1-1:1.4: Quectel EG25-G work on RawIP mode
    [35693.054330] qmi_wwan_q 1-1:1.4: rx_urb_size = 1520
    [35693.064413] qmi_wwan_q 1-1:1.4 wwan0: register 'qmi_wwan_q' at usb-xhci-hcd.6.auto-1, WWAN/QMI Raw IP device, 9e:09:1f:6e:ce:b2
    [35693.301015] qmi_wwan_q 1-1:1.4 wwu1i4: renamed from wwan0
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 James:

    内核 USB 堆栈在"USB disconnect"消息之前不会打印任何错误消息、很可能是从上层请求断开连接、例如 WWAN 或 LTE 设备驱动程序、甚至是用户空间应用程序。