免费注册 查看新帖 |

Chinaunix

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

插入USB设备后, 不能识别(USB驱动) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-08-25 17:59 |只看该作者 |倒序浏览
现在手头有一个zte 的 TD上网卡,  在内核中配置了相关驱动之后, 却不能被识别. 设备不能枚举,
不出来vendor 和 product . 请问这种情况需要从哪里下手找出问题?

启动信息中有关USB部分如下:
...
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
...
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
...
jz-ohci jz-ohci.0: JZ OHCI
jz-ohci jz-ohci.0: new USB bus registered, assigned bus number 1
jz-ohci jz-ohci.0: irq 17, io mem 0x13030000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb usb1: Product: JZ OHCI
usb usb1: Manufacturer: Linux 2.6.24.3-g2f9f1aef-dirty ohci_hcd
usb usb1: SerialNumber: jz
usb 1-1: new full speed USB device using jz-ohci and address 2
usb 1-1: device descriptor read/all, error 0
usb 1-1: new full speed USB device using jz-ohci and address 3
usb 1-1: device descriptor read/all, error 0
usb 1-1: new full speed USB device using jz-ohci and address 4
usb 1-1: device descriptor read/8, error 0
usb 1-1: device descriptor read/8, error 0
usb 1-1: new full speed USB device using jz-ohci and address 5
usb 1-1: device descriptor read/8, error 0
usb 1-1: device descriptor read/8, error 0

usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
USB Driver for GSM modems: v0.7.1
JZ4740 USB Device Controller
...

看到其中有 "usb 1-1: device descriptor read/all, error 0" , 网上搜了下, 别人出错都是一个负数, 而这里是0 , 是什么意思?

拨出模块, 用 dmesg -c 清空信息. 然后再插入模块 . dmesg 会显示出来插入的模块情况, 但还是有error
.

hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002
jz-ohci jz-ohci.0: GetStatus roothub.portstatus [0] = 0x00010100 CSC PPS
hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
hub_port_connect_change, 1
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002
jz-ohci jz-ohci.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub_port_connect_change, 1
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
jz-ohci jz-ohci.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 1-1: new full speed USB device using jz-ohci and address 6
jz-ohci jz-ohci.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 1-1: device descriptor read/all, error 0
hub_port_connect_change, status = -35
hub_port_connect_change, loop
jz-ohci jz-ohci.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 1-1: new full speed USB device using jz-ohci and address 7
jz-ohci jz-ohci.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP