插入USB设备后, 不能识别(USB驱动)
现在手头有一个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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论