Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB 3.0 xHCI port over-current condition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Mon Feb 19, 2018 7:41 pm    Post subject: USB 3.0 xHCI port over-current condition Reply with quote

Hi folks,

I'm struggling with a newly bought USB 3.0 PCIe card. My motherboard has only some USB 2 ports so i decided to put a PCIe USB 3 card in.
It is recognized fine by the xhci_hcd kernel module:

Code:
Deep-Thought / # lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (external gfx0 port A)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (PCI express gpp port A)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (PCI express gpp port D)
00:0b.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (external gfx1 port A)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 8400 GS Rev. 3] (rev a2)
02:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
03:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
05:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
Code:
Deep-Thought / # lspci -s 03:00.0 -vv
03:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01) (prog-if 30 [XHCI])
   Subsystem: VIA Technologies, Inc. VL805 USB 3.0 Host Controller
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0, Cache Line Size: 64 bytes
   Interrupt: pin A routed to IRQ 32
   NUMA node: 0
   Region 0: Memory at f7eff000 (64-bit, non-prefetchable) [size=4K]
   Capabilities: [80] Power Management version 3
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [90] MSI: Enable+ Count=1/4 Maskable- 64bit+
      Address: 00000000fee0f00c  Data: 4163
   Capabilities: [c4] Express (v2) Endpoint, MSI 00
      DevCap:   MaxPayload 256 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
         ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.600W
      DevCtl:   Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
         RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
         MaxPayload 128 bytes, MaxReadReq 512 bytes
      DevSta:   CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
      LnkCap:   Port #3, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <16us
         ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
      LnkCtl:   ASPM Disabled; RCB 64 bytes Disabled- CommClk+
         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
      LnkSta:   Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
      DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR-, OBFF Not Supported
      DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
      LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis+
          Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
          Compliance De-emphasis: -6dB
      LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
          EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
   Capabilities: [100 v1] Advanced Error Reporting
      UESta:   DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
      UEMsk:   DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
      UESvrt:   DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
      CESta:   RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
      CEMsk:   RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
      AERCap:   First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
   Kernel driver in use: xhci_hcd


If i connect an external powered USB 3 hub, it is NOT recognized.

Instead it keeps telling me that port 1 and 4 have over-current conditions:
Code:
[ 2673.591402] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 2673.591469] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 8
[ 2673.591672] xhci_hcd 0000:03:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000090
[ 2673.591779] usb usb8: New USB device found, idVendor=1d6b, idProduct=0002
[ 2673.591781] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2673.591783] usb usb8: Product: xHCI Host Controller
[ 2673.591784] usb usb8: Manufacturer: Linux 4.12.12-gentoo xhci-hcd
[ 2673.591785] usb usb8: SerialNumber: 0000:03:00.0
[ 2673.592006] hub 8-0:1.0: USB hub found
[ 2673.592029] hub 8-0:1.0: 1 port detected
[ 2673.592101] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 2673.592138] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 9
[ 2673.592165] usb usb9: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2673.592184] usb usb9: New USB device found, idVendor=1d6b, idProduct=0003
[ 2673.592186] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2673.592187] usb usb9: Product: xHCI Host Controller
[ 2673.592188] usb usb9: Manufacturer: Linux 4.12.12-gentoo xhci-hcd
[ 2673.592189] usb usb9: SerialNumber: 0000:03:00.0
[ 2673.592280] hub 9-0:1.0: USB hub found
[ 2673.592299] hub 9-0:1.0: 4 ports detected
[ 2673.902908] usb 8-1: new high-speed USB device number 2 using xhci_hcd
[ 2673.902924] usb usb9-port1: over-current condition
[ 2674.023810] usb 8-1: New USB device found, idVendor=2109, idProduct=3431
[ 2674.023813] usb 8-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2674.023815] usb 8-1: Product: USB2.0 Hub
[ 2674.024177] hub 8-1:1.0: USB hub found
[ 2674.024306] hub 8-1:1.0: 4 ports detected
[ 2674.110918] usb usb9-port4: over-current condition
Even if nothing is connected to that ports it keeps telling me that.
It looks to me that the hardware is powering off the ports due to the overcurrent, but is that right?
Is there a way to overcome this and keep the ports online even if they have the overcurrent condition?

Thanks in advance!

Evil. :-/
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Tue Feb 20, 2018 5:16 pm    Post subject: Reply with quote

the only time I've seen the kernel report over-current on a usb port, the port was physically damaged. it was good at wiping/damaging? usb drives, if that's not your intended purpose, you probably should return it.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Wed Feb 21, 2018 1:29 pm    Post subject: Reply with quote

Hmm Okay.

I'll return it and order another one.
Any suggestions on a good manufacturer which will work well under Linux?

Cheers!
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum