jyhhappyjyh 发表于 2012-05-14 19:45

USB驱动移植兼容性问题

最近在路由器上移植了一个USB驱动,插上USB的3G网卡,发现设备可以识别,但是将无线ath0101接口up之后,USB 3G网卡就在那边反复的移除、插入(实际是一直插着的)。
请坛子里的大侠指点迷津!
usb 1-1: USB disconnect, address 46
inno_usb_generic ttyUSB0: inno_usb_generic converter now disconnected from ttyUSB0
inno_usbserial_generic 1-1:1.0: device disconnected
inno_usb_generic ttyUSB1: inno_usb_generic converter now disconnected from ttyUSB1
inno_usbserial_generic 1-1:1.1: device disconnected
inno_usb_generic ttyUSB2: inno_usb_generic converter now disconnected from ttyUSB2
inno_usbserial_generic 1-1:1.2: device disconnected
usb 1-1: new high speed USB device using ar7240-ehci and address 47
usb 1-1: configuration #1 chosen from 1 choice
hello probe
inno_usbserial_generic 1-1:1.0: inno_usb_generic converter detected
usb 1-1: inno_usb_generic converter now attached to ttyUSB0
hello probe
inno_usbserial_generic 1-1:1.1: inno_usb_generic converter detected
usb 1-1: inno_usb_generic converter now attached to ttyUSB1
hello probe
inno_usbserial_generic 1-1:1.2: inno_usb_generic converter detected
usb 1-1: inno_usb_generic converter now attached to ttyUSB2
usb 1-1: USB disconnect, address 47
inno_usb_generic ttyUSB0: inno_usb_generic converter now disconnected from ttyUSB0
inno_usbserial_generic 1-1:1.0: device disconnected
inno_usb_generic ttyUSB1: inno_usb_generic converter now disconnected from ttyUSB1
inno_usbserial_generic 1-1:1.1: device disconnected
inno_usb_generic ttyUSB2: inno_usb_generic converter now disconnected from ttyUSB2
inno_usbserial_generic 1-1:1.2: device disconnected
usb 1-1: new high speed USB device using ar7240-ehci and address 48
usb 1-1: configuration #1 chosen from 1 choice
hello probe
inno_usbserial_generic 1-1:1.0: inno_usb_generic converter detected
usb 1-1: inno_usb_generic converter now attached to ttyUSB0
hello probe
inno_usbserial_generic 1-1:1.1: inno_usb_generic converter detected
usb 1-1: inno_usb_generic converter now attached to ttyUSB1
hello probe
inno_usbserial_generic 1-1:1.2: inno_usb_generic converter detected
usb 1-1: inno_usb_generic converter now attached to ttyUSB2

魅力Linux进行时 发表于 2012-06-14 15:00

哥们好呀,后面问题解决了没有,我现在也在做这个,诡异的是插上USB后什么信息都输不出来,痛苦!回复 1# jyhhappyjyh


   

chinaunixj 发表于 2012-06-16 13:53

看下供电。还有,不要随便在USB协议栈里面加DEBUG信息。最好有空还是要把USB协议好好看看,以及LINU USB协议栈。
页: [1]
查看完整版本: USB驱动移植兼容性问题