主题 : smart210移植linux3.3.5的usb出现问题 over-current condition 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 98696
精华: 1
发帖: 21
金钱: 160 两
威望: 32 点
综合积分: 62 分
注册时间: 2013-12-04
最后登录: 2015-04-22
楼主  发表于: 2014-10-17 19:20

 smart210移植linux3.3.5的usb出现问题 over-current condition

启动内核打出来的信息如下:
eth0: dm9000a at a0816000,a082000c IRQ 39 MAC: 00:09:c0:ff:ec:48 (platform data)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                     
s5p-ehci s5p-ehci: S5P EHCI Host Controller                                    
s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1               
s5p-ehci s5p-ehci: irq 87, io mem 0xec200000                                   
s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00                                  
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002                  
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1             
usb usb1: Product: S5P EHCI Host Controller                                    
usb usb1: Manufacturer: Linux 3.3.5 ehci_hcd                                   
usb usb1: SerialNumber: s5p-ehci                                               
hub 1-0:1.0: USB hub found                                                     
hub 1-0:1.0: 1 port detected                                                   
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                         
s5p-ohci s5p-ohci: s5p OHCI Host Controller                                    
s5p-ohci s5p-ohci: new USB bus registered, assigned bus number 2               
s5p-ohci s5p-ohci: irq 87, io mem 0xec300000                                   
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001                  
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1             
usb usb2: Product: s5p OHCI Host Controller                                    
usb usb2: Manufacturer: Linux 3.3.5 ohci_hcd                                   
usb usb2: SerialNumber: s5p-ohci                                               
hub 2-0:1.0: USB hub found                                                     
hub 2-0:1.0: 1 port detected
                                                   
Initializing USB Mass Storage driver...                                        
usbcore: registered new interface driver usb-storage                           
USB Mass Storage support registered.                                           
usbcore: registered new interface driver usbserial                             
usbserial: USB Serial Driver core                                              
mousedev: PS/2 mouse device common for all mice                                
input: s5pv210-keypad as /devices/platform/s5pv210-keypad/input/input0         
usbcore: registered new interface driver usbhid                                
usbhid: USB HID core driver                                                    
TCP cubic registered                                                           
NET: Registered protocol family 17                                             
NET: Registered protocol family 15                                             
lib80211: common routines for IEEE802.11 drivers                               
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2        
dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1                 
IP-Config: Complete:                                                           
     device=eth0, addr=192.168.1.30, mask=255.255.255.0, gw=192.168.1.100,     
     host=192.168.1.30, domain=, nis-domain=(none),                            
     bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=             
hub 1-0:1.0: over-current condition on port 1                                  
hub 2-0:1.0: over-current condition                                            
nfs: server 192.168.1.100 not responding, still trying                         
nfs: server 192.168.1.100 OK                                                   
VFS: Mounted root (nfs filesystem) on device 0:12.                             
Freeing init memory: 148K        


然后:
[root@Smart210 /]# cat /proc/bus/usb/devices                                   
                                                                               
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 1             
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0                                 
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1                   
P:  Vendor=1d6b ProdID=0001 Rev= 3.03                                          
S:  Manufacturer=Linux 3.3.5 ohci_hcd                                          
S:  Product=s5p OHCI Host Controller                                           
S:  SerialNumber=s5p-ohci                                                      
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA     (我怀疑是这里的原因导致 over-current)                                    
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub              
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms                                  
                                                                               
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1             
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0                                 
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1                   
P:  Vendor=1d6b ProdID=0002 Rev= 3.03                                          
S:  Manufacturer=Linux 3.3.5 ehci_hcd                                          
S:  Product=S5P EHCI Host Controller                                           
S:  SerialNumber=s5p-ehci                                                      
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA                                         
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub              
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms  

各位老大有没有遇到这个问题,求赐教!                                             
级别: 新手上路
UID: 98696
精华: 1
发帖: 21
金钱: 160 两
威望: 32 点
综合积分: 62 分
注册时间: 2013-12-04
最后登录: 2015-04-22
1楼  发表于: 2014-10-18 20:33
是因为usb hub需要驱动吗?售后回答下呗。