免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2328 | 回复: 5
打印 上一主题 下一主题

[硬件及驱动] 这个usb问题是硬件,还是软件? [复制链接]

论坛徽章:
1
拜羊年徽章
日期:2015-03-03 16:15:43
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-03-19 10:05 |只看该作者 |倒序浏览
硬件可能有问题:

USB0:   USB EHCI 1.00
scanning bus 0 for devices... USB hub found
8 ports detected
ganged power switching
standalone hub
global over-current protection
power on to power good time: 20ms
hub controller current requirement: 0mA
port 1 is removable
port 2 is removable
port 3 is removable
port 4 is removable
port 5 is removable
port 6 is removable
port 7 is removable
port 8 is not removable
get_hub_status returned status 1, change 8
local power source is lost (inactive)
no over-current condition exists
enabling power on all ports
port 1 returns 0
port 2 returns 0
port 3 returns 0
port 4 returns 0
port 5 returns 0
port 6 returns 0
port 7 returns 0
port 8 returns 0
Port 1 Status 501 Change 1
port 1 connection change
portstatus 501, change 1, 480 Mb/s
hub_port_reset: resetting port 0...
portstatus 503, change 10, 480 Mb/s
STAT_C_CONNECTION = 0 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 1
hub_port_reset: resetting port 0...
portstatus 503, change 10, 480 Mb/s
STAT_C_CONNECTION = 0 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 1
USB hub found
4 ports detected
individual port power switching
standalone hub
individual port over-current protection
power on to power good time: 0ms
hub controller current requirement: 0mA
port 1 is removable
port 2 is removable
port 3 is removable
port 4 is removable
get_hub_status returned status 0, change 0
local power source is good
no over-current condition exists
enabling power on all ports
port 1 returns 0
port 2 returns 0
port 3 returns 0
port 4 returns 0
Port 1 Status 100 Change 0
Port 2 Status 101 Change 1
port 2 connection change
portstatus 101, change 1, 12 Mb/s
hub_port_reset: resetting port 1...
portstatus 101, change 11, 12 Mb/s
STAT_C_CONNECTION = 1 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 0
portstatus 101, change 11, 12 Mb/s
STAT_C_CONNECTION = 1 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 0
portstatus 101, change 11, 12 Mb/s
STAT_C_CONNECTION = 1 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 0
portstatus 101, change 11, 12 Mb/s
STAT_C_CONNECTION = 1 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 0
portstatus 101, change 11, 12 Mb/s
STAT_C_CONNECTION = 1 STAT_CONNECTION = 1  USB_PORT_STAT_ENABLE 0
Cannot enable port 2 after 5 retries, disabling port.
Maybe the USB cable is bad?
cannot reset port 2!?
Port 3 Status 100 Change 0
Port 4 Status 100 Change 0
Port 2 Status 500 Change 0
Port 3 Status 500 Change 0
Port 4 Status 500 Change 0
Port 5 Status 500 Change 0
Port 6 Status 500 Change 0
Port 7 Status 500 Change 0
Port 8 Status 500 Change 0
2 USB Device(s) found
        scanning usb for storage devices... 0 Storage Device(s) found
        scanning usb for ethernet devices... 0 Ethernet Device(s) found

论坛徽章:
0
2 [报告]
发表于 2015-03-19 11:47 |只看该作者
从log来看,像是过流了。

论坛徽章:
1
拜羊年徽章
日期:2015-03-03 16:15:43
3 [报告]
发表于 2015-03-19 12:39 |只看该作者
回复 2# scotthuang1989
no over-current condition exists, log说没有过流
后面哪里判断过流?  请明示


   

论坛徽章:
0
4 [报告]
发表于 2015-03-19 13:49 |只看该作者
看掉了一个 no 回复 3# linuxfellow


   

论坛徽章:
1
拜羊年徽章
日期:2015-03-03 16:15:43
5 [报告]
发表于 2015-03-19 23:13 |只看该作者
usb D+/D-接反了

论坛徽章:
1
拜羊年徽章
日期:2015-03-03 16:15:43
6 [报告]
发表于 2015-03-20 09:04 来自手机 |只看该作者
本帖最后由 linuxfellow 于 2015-03-20 09:07 编辑

事后总结:
Log显示,hub,port都可以正确检测,高速480M/s,full speed 12M/s均正确配置。这说明处理器端的配置完全正确(host配置完全正确)
但是检测不到设备,设备枚举有问题,只能是驱动或硬件的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP