Comment 0 for bug 1006765

Revision history for this message
Roland (roland-breedveld) wrote : Hot plugging USB3.0 express card Not possible

Hot plugging USB3.0 PCI Express card not possible
Hot plugging USB devices in this Card is also not possible

Only way to access the card and USB device: is powering on with PCI card AND USB devices connected.
reconnect devices after this is not possible.

Configuration:
- Ubuntu 12.04 x64 (problem was also on older versions)
- Lenovo T520
- PCI USB3.0 Express Card BC618, NEC uPD720200

More info:

Powering ON with USB3 express card AND USB3 HD connected:

PCI 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
USB Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
            Device 004: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
            Device 005: ID 04f2:b217 Chicony Electronics Co., Ltd
            Device 006: ID 046d:c05f Logitech, Inc.

PCI 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
USB Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
            Device 003: ID 05ac:1297 Apple, Inc. iPhone 4

PCI 05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
USB Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

PCI 05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
USB Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
            Device 002: ID 1058:1042 Western Digital Technologies, Inc.

# lspci -vs 0000:05:00.0
05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at f1d00000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: [50] Power Management version 3
 Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
 Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
 Capabilities: [a0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
 Capabilities: [150] Latency Tolerance Reporting
 Kernel driver in use: xhci_hcd

Re-Plugging the drive but olso other USB products, are not recognized

in kern.log:
May 31 09:54:48 roland kernel: [ 1441.460174] hub 3-0:1.0: hub_port_status failed (err = -19)
May 31 09:54:48 roland kernel: [ 1441.460244] hub 3-0:1.0: hub_port_status failed (err = -19)
May 31 09:54:49 roland kernel: [ 1442.066711] hub 4-0:1.0: hub_port_status failed (err = -19)
May 31 09:54:49 roland kernel: [ 1442.066773] hub 4-0:1.0: hub_port_status failed (err = -19)
May 31 09:55:02 roland kernel: [ 1455.659879] hub 3-0:1.0: hub_port_status failed (err = -19)
May 31 09:55:02 roland kernel: [ 1455.659938] hub 3-0:1.0: hub_port_status failed (err = -19)
May 31 09:55:03 roland kernel: [ 1456.250534] hub 4-0:1.0: hub_port_status failed (err = -19)
May 31 09:55:03 roland kernel: [ 1456.250595] hub 4-0:1.0: hub_port_status failed (err = -19)
May 31 09:55:05 roland kernel: [ 1458.940363] hub 4-0:1.0: hub_port_status failed (err = -19)
May 31 09:55:05 roland kernel: [ 1458.940429] hub 4-0:1.0: hub_port_status failed (err = -19)

# lspci -vvs 0000:05:00.0
05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
 Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop+ ParErr+ Stepping+ SERR+ FastB2B+ DisINTx+
 Status: Cap+ 66MHz+ UDF+ FastB2B+ ParErr+ DEVSEL=?? >TAbort+ <TAbort+ <MAbort+ >SERR+ <PERR+ INTx+
 Latency: 0
 Interrupt: pin A routed to IRQ 19
 Region 0: Memory at f1d00000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: [50] Power Management version 3
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
  Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
  Address: 0000000000000000 Data: 0000
 Capabilities: [90] MSI-X: Enable- Count=8 Masked-
  Vector table: BAR=0 offset=00001000
  PBA: BAR=0 offset=00001080
 Capabilities: [a0] Express (v2) Endpoint, MSI 00
  DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
   ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
  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 #0, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 unlimited
   ClockPM+ Surprise- LLActRep- BwNot-
  LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
   ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
  LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  DevCap2: Completion Timeout: Not Supported, TimeoutDis+
  DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
  LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
    Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
    Compliance De-emphasis: -6dB
  LnkSta2: Current De-emphasis Level: -6dB
 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-
 Capabilities: [140 v1] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
 Capabilities: [150 v1] Latency Tolerance Reporting
  Max snoop latency: 0ns
  Max no snoop latency: 0ns
 Kernel driver in use: xhci_hcd

Plugging out the USB3 Express card:
no messages in kern.log !!
# lspci -vvs 0000:05:00.0
05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev ff) (prog-if ff)
 !!! Unknown header type 7f
 Kernel driver in use: xhci_hcd

Plugging back in the USB3 Express card:
no messages in kern.log !!
Still not recognizing any USB insertions.
# lspci -vvs 0000:05:00.0
05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
 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-
 Interrupt: pin A routed to IRQ 19
 Region 0: Memory at f1d00000 (64-bit, non-prefetchable) [disabled] [size=8K]
 Capabilities: [50] Power Management version 3
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
  Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
  Address: 0000000000000000 Data: 0000
 Capabilities: [90] MSI-X: Enable- Count=8 Masked-
  Vector table: BAR=0 offset=00001000
  PBA: BAR=0 offset=00001080
 Capabilities: [a0] Express (v2) Endpoint, MSI 00
  DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
   ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
  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 #0, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 unlimited
   ClockPM+ Surprise- LLActRep- BwNot-
  LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
   ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
  LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  DevCap2: Completion Timeout: Not Supported, TimeoutDis+
  DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
  LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
    Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
    Compliance De-emphasis: -6dB
  LnkSta2: Current De-emphasis Level: -6dB
 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: 00, GenCap- CGenEn- ChkCap- ChkEn-
 Capabilities: [140 v1] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
 Capabilities: [150 v1] Latency Tolerance Reporting
  Max snoop latency: 0ns
  Max no snoop latency: 0ns
 Kernel driver in use: xhci_hcd