作者mecs (mecs)
看板LinuxDev
标题Re: [问题] 工作时测iperf遇到USB disconnect求助
时间Sun Sep 16 23:56:32 2012
usb disconnect 的原因不少,最快的方法就是用 analyzer 下去看。
不过如果是 signal integrity 或是 vbus 的问题,你需要用 scope
看来。
如果问题如你描述,usb disconnect 发生在 iperf 测试过程,但几秒
中之後(根据你的 log)又 reconnect,感觉起来像是 usb device
重新启动了,或者是 vbus 不稳。
你的 LTE module 的 power source 是 vbus 吗?如果 vbus 不稳,
是会造成 usb disconnect 的。一般 PC 可以供给超过 500mA,所以
相当稳健。另外一种可能性就是 D+/D- 没有很乾净,USB PHY 侦测
到 disconnect conditions。
※ 引述《xb1015 (Marco)》之铭言:
: 各位大大好,
: 工作中遇到难题,花了很久时间还是没有头绪
: 请求各位大大给点建议
: 我在 Atheros AR9331 embedded system
: Openwrt revision 30430
: Kernel 2.6.39.4
: 进行iperf 测试会遇到USB disconnect问题
: 详细log如底下网址所示:
: https://sites.google.com/site/xb10151983/debug_1
: 是否有方法能重 Linux 系统 来观察 断开是由谁 发起的呢 ?
: (断开log就像是USB断开再接上, 如底下红色的部分,不确定由module本身或者linux 系统本身 )
: 请有相关经验的大大提供给小弟去尝试, thx
: 是否可以在linux系统开启一些debug或者加入一些printk来确认断开的方向
: THX~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 71.202.108.54