Tested, still the same results: no usb available after the undock on
laptop (I had a pendrive attached to test)

uname -a
Linux 5.3.0-27-generic #29~lp1857385 SMP Fri Jan 3 21:30:32 CST 2020 x86_64 
x86_64 x86_64 GNU/Linux

dmesg when I undock the laptop:

[  129.399949] usb 2-1: USB disconnect, device number 2
[  129.417254] [drm] DM_MST: stopping TM on aconnector: 0000000076d67240 [id: 
77]
[  129.417557] [drm] DM_MST: Disabling connector: 00000000242d96de [id: 81] 
[master: 0000000076d67240]
[  129.418358] [drm] DM_MST: Disabling connector: 000000003436afd3 [id: 86] 
[master: 0000000076d67240]
[  129.418543] [drm] DM_MST: Disabling connector: 000000001b62a1c6 [id: 91] 
[master: 0000000076d67240]
[  129.431465] usb 3-4: USB disconnect, device number 2
[  129.431478] usb 3-4.2: USB disconnect, device number 3
[  129.467388] r8169 0000:03:00.0 enp3s0f0: Link is Down
[  129.581266] usb 2-4: USB disconnect, device number 3
[  129.581280] usb 2-4.2: USB disconnect, device number 4
[  129.581288] usb 2-4.2.4: USB disconnect, device number 6
[  131.262762] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
[  131.262932] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
....hundreds of lines (the same)
[  134.530663] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
[  135.983562] [drm] Fence fallback timer expired on ring sdma0
[  135.987559] [drm] Fence fallback timer expired on ring gfx
[  136.495422] [drm] Fence fallback timer expired on ring sdma0
[  137.007323] [drm] Fence fallback timer expired on ring sdma0
[  137.519202] [drm] Fence fallback timer expired on ring sdma0
[  138.031056] [drm] Fence fallback timer expired on ring sdma0
[  142.290091] iwlwifi 0000:01:00.0: Error sending STATISTICS_CMD: time out 
after 2000ms.
[  142.290101] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 176 write_ptr 
177
[  142.292482] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[  142.292486] iwlwifi 0000:01:00.0: Status: 0x00000080, count: 6
[  142.292491] iwlwifi 0000:01:00.0: Loaded firmware version: 46.6bf1df06.0
[  142.292495] iwlwifi 0000:01:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL    
[  142.292499] iwlwifi 0000:01:00.0: 0x000026F4 | trm_hw_status0
[  142.292502] iwlwifi 0000:01:00.0: 0x00000000 | trm_hw_status1
[  142.292506] iwlwifi 0000:01:00.0: 0x0048853E | branchlink2
[  142.292509] iwlwifi 0000:01:00.0: 0x00192402 | interruptlink1
[  142.292512] iwlwifi 0000:01:00.0: 0x00479392 | interruptlink2
[  142.292515] iwlwifi 0000:01:00.0: 0x0001ACA2 | data1
[  142.292518] iwlwifi 0000:01:00.0: 0xFF001000 | data2
[  142.292521] iwlwifi 0000:01:00.0: 0xF0000000 | data3
[  142.292524] iwlwifi 0000:01:00.0: 0x4780C555 | beacon time
[  142.292527] iwlwifi 0000:01:00.0: 0x059DFF69 | tsf low
[  142.292529] iwlwifi 0000:01:00.0: 0x00000163 | tsf hi
[  142.292532] iwlwifi 0000:01:00.0: 0x00000000 | time gp1
[  142.292535] iwlwifi 0000:01:00.0: 0x08362F53 | time gp2
[  142.292538] iwlwifi 0000:01:00.0: 0x00000001 | uCode revision type
[  142.292541] iwlwifi 0000:01:00.0: 0x0000002E | uCode version major
[  142.292543] iwlwifi 0000:01:00.0: 0x6BF1DF06 | uCode version minor
[  142.292546] iwlwifi 0000:01:00.0: 0x00000321 | hw version
[  142.292549] iwlwifi 0000:01:00.0: 0x00C89004 | board version
[  142.292551] iwlwifi 0000:01:00.0: 0x0000001C | hcmd
[  142.292554] iwlwifi 0000:01:00.0: 0x80022002 | isr0
[  142.292557] iwlwifi 0000:01:00.0: 0x00000000 | isr1
[  142.292559] iwlwifi 0000:01:00.0: 0x08101002 | isr2
[  142.292562] iwlwifi 0000:01:00.0: 0x404000C6 | isr3
[  142.292565] iwlwifi 0000:01:00.0: 0x00000000 | isr4
[  142.292567] iwlwifi 0000:01:00.0: 0x0B48001C | last cmd Id
[  142.292570] iwlwifi 0000:01:00.0: 0x0001ACA2 | wait_event
[  142.292573] iwlwifi 0000:01:00.0: 0x00000000 | l2p_control
[  142.292576] iwlwifi 0000:01:00.0: 0x00002020 | l2p_duration
[  142.292578] iwlwifi 0000:01:00.0: 0x00000000 | l2p_mhvalid
[  142.292581] iwlwifi 0000:01:00.0: 0x00000000 | l2p_addr_match
[  142.292584] iwlwifi 0000:01:00.0: 0x0000000D | lmpm_pmg_sel
[  142.292586] iwlwifi 0000:01:00.0: 0x08081424 | timestamp
[  142.292589] iwlwifi 0000:01:00.0: 0x000038EC | flow_handler
[  142.292698] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[  142.292701] iwlwifi 0000:01:00.0: Status: 0x00000080, count: 7
[  142.292704] iwlwifi 0000:01:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[  142.292707] iwlwifi 0000:01:00.0: 0x00000000 | umac branchlink1
[  142.292709] iwlwifi 0000:01:00.0: 0xC008888E | umac branchlink2
[  142.292712] iwlwifi 0000:01:00.0: 0x00000000 | umac interruptlink1
[  142.292715] iwlwifi 0000:01:00.0: 0x8044FE76 | umac interruptlink2
[  142.292718] iwlwifi 0000:01:00.0: 0x01000000 | umac data1
[  142.292720] iwlwifi 0000:01:00.0: 0x8044FE76 | umac data2
[  142.292723] iwlwifi 0000:01:00.0: 0xDEADBEEF | umac data3
[  142.292726] iwlwifi 0000:01:00.0: 0x0000002E | umac major
[  142.292728] iwlwifi 0000:01:00.0: 0x6BF1DF06 | umac minor
[  142.292731] iwlwifi 0000:01:00.0: 0x08362EE9 | frame pointer
[  142.292733] iwlwifi 0000:01:00.0: 0xC088627C | stack pointer
[  142.292736] iwlwifi 0000:01:00.0: 0x00B0019C | last host cmd
[  142.292739] iwlwifi 0000:01:00.0: 0x00040008 | isr status reg
[  142.292818] iwlwifi 0000:01:00.0: Fseq Registers:
[  142.292856] iwlwifi 0000:01:00.0: 0x98DCB365 | FSEQ_ERROR_CODE
[  142.292894] iwlwifi 0000:01:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[  142.292932] iwlwifi 0000:01:00.0: 0xDC605943 | FSEQ_CNVIO_INIT_VERSION
[  142.292971] iwlwifi 0000:01:00.0: 0x0000A371 | FSEQ_OTP_VERSION
[  142.293009] iwlwifi 0000:01:00.0: 0x0C531B5D | FSEQ_TOP_CONTENT_VERSION
[  142.293048] iwlwifi 0000:01:00.0: 0x1B1FF8EE | FSEQ_ALIVE_TOKEN
[  142.293086] iwlwifi 0000:01:00.0: 0x95001643 | FSEQ_CNVI_ID
[  142.293125] iwlwifi 0000:01:00.0: 0x3EC4A5FB | FSEQ_CNVR_ID
[  142.293163] iwlwifi 0000:01:00.0: 0x01000200 | CNVI_AUX_MISC_CHIP
[  142.293206] iwlwifi 0000:01:00.0: 0x01300202 | CNVR_AUX_MISC_CHIP
[  142.293246] iwlwifi 0000:01:00.0: 0x0000485B | 
CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[  142.293336] iwlwifi 0000:01:00.0: 0x0BADCAFE | 
CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[  142.293379] iwlwifi 0000:01:00.0: Collecting data: trigger 2 fired.
[  142.293385] ieee80211 phy0: Hardware restart was requested
[  143.049502] iwlwifi 0000:01:00.0: Queue 0 is active on fifo 7 and stuck for 
2500 ms. SW [176, 177] HW [177, 177] FH TRB=0x07000b0
[  144.481596] xhci_hcd 0000:05:00.3: Abort failed to stop command ring: -110
[  144.493392] xhci_hcd 0000:05:00.3: xHCI host controller not responding, 
assume dead
[  144.493458] xhci_hcd 0000:05:00.3: HC died; cleaning up
[  144.493554] xhci_hcd 0000:05:00.3: xHCI host not responding to stop endpoint 
command.
[  144.493737] xhci_hcd 0000:05:00.3: Timeout while waiting for configure 
endpoint command
[  144.493871] iwlwifi 0000:01:00.0: HCMD_ACTIVE already clear for command 
STATISTICS_CMD
[  144.494827] usb 3-2: USB disconnect, device number 4
[  144.519708] iwlwifi 0000:01:00.0: Applying debug destination EXTERNAL_DRAM
[  144.590452] Buffer I/O error on dev sda, logical block 14712832, lost sync 
page write
[  144.590463] JBD2: Error -5 detected when updating journal superblock for 
sda-8.
[  144.590465] Aborting journal on device sda-8.
[  144.590470] Buffer I/O error on dev sda, logical block 14712832, lost sync 
page write
[  144.590473] JBD2: Error -5 detected when updating journal superblock for 
sda-8.
[  144.617762] usb 2-4.3: USB disconnect, device number 5
[  144.647861] iwlwifi 0000:01:00.0: Applying debug destination EXTERNAL_DRAM
[  144.716325] iwlwifi 0000:01:00.0: FW already configured (0) - re-configuring
[  144.769243] usb 2-4.5: USB disconnect, device number 7

When I connect the laptop to the docking station and after the xhci
reset:

[  202.039696] r8169 0000:03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
[  203.197180] [drm] DM_MST: starting TM on aconnector: 0000000076d67240 [id: 
77]
[  203.289163] [drm] DM_MST: added connector: 000000001598b68a [id: 89] 
[master: 0000000076d67240]
[  203.289215] [drm] DM_MST: added connector: 000000007a55095d [id: 106] 
[master: 0000000076d67240]
[  203.289247] [drm] DM_MST: added connector: 00000000423c7f8a [id: 116] 
[master: 0000000076d67240]
[  250.378968] xhci_hcd 0000:05:00.3: remove, state 1
[  250.378976] usb usb3: USB disconnect, device number 1
[  250.379405] xhci_hcd 0000:05:00.3: USB bus 3 deregistered
[  250.379479] xhci_hcd 0000:05:00.3: remove, state 1
[  250.379485] usb usb2: USB disconnect, device number 1
[  250.380375] xhci_hcd 0000:05:00.3: USB bus 2 deregistered
[  250.380710] xhci_hcd 0000:05:00.4: remove, state 4
[  250.380718] usb usb5: USB disconnect, device number 1
[  250.381304] xhci_hcd 0000:05:00.4: USB bus 5 deregistered
[  250.381325] xhci_hcd 0000:05:00.4: remove, state 1
[  250.381332] usb usb4: USB disconnect, device number 1
[  250.381336] usb 4-1: USB disconnect, device number 2
[  250.384894] usb 4-2: USB disconnect, device number 3
[  250.384901] usb 4-2.1: USB disconnect, device number 4
[  250.453800] usb 4-2.4: USB disconnect, device number 5
[  250.530083] xhci_hcd 0000:05:00.4: Host halt failed, -110
[  250.530089] xhci_hcd 0000:05:00.4: Host controller not halted, aborting 
reset.
[  250.530915] xhci_hcd 0000:05:00.4: USB bus 4 deregistered
[  251.532272] xhci_hcd 0000:05:00.3: xHCI Host Controller
[  251.532283] xhci_hcd 0000:05:00.3: new USB bus registered, assigned bus 
number 2
[  251.532558] xhci_hcd 0000:05:00.3: hcc params 0x0270ffe5 hci version 0x110 
quirks 0x0000000840000410
[  251.533346] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, 
bcdDevice= 5.03
[  251.533350] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  251.533353] usb usb2: Product: xHCI Host Controller
[  251.533355] usb usb2: Manufacturer: Linux 5.3.0-27-generic xhci-hcd
[  251.533357] usb usb2: SerialNumber: 0000:05:00.3
[  251.533682] hub 2-0:1.0: USB hub found
[  251.533713] hub 2-0:1.0: 4 ports detected
[  251.534212] xhci_hcd 0000:05:00.3: xHCI Host Controller
[  251.534218] xhci_hcd 0000:05:00.3: new USB bus registered, assigned bus 
number 3
[  251.534223] xhci_hcd 0000:05:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[  251.534270] usb usb3: We don't know the algorithms for LPM for this host, 
disabling LPM.
[  251.534308] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, 
bcdDevice= 5.03
[  251.534310] usb usb3: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  251.534312] usb usb3: Product: xHCI Host Controller
[  251.534314] usb usb3: Manufacturer: Linux 5.3.0-27-generic xhci-hcd
[  251.534316] usb usb3: SerialNumber: 0000:05:00.3
[  251.534545] hub 3-0:1.0: USB hub found
[  251.534562] hub 3-0:1.0: 4 ports detected
[  251.535245] xhci_hcd 0000:05:00.4: xHCI Host Controller
[  251.535253] xhci_hcd 0000:05:00.4: new USB bus registered, assigned bus 
number 4
[  251.535418] xhci_hcd 0000:05:00.4: hcc params 0x0260ffe5 hci version 0x110 
quirks 0x0000000840000410
[  251.536031] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, 
bcdDevice= 5.03
[  251.536033] usb usb4: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  251.536035] usb usb4: Product: xHCI Host Controller
[  251.536037] usb usb4: Manufacturer: Linux 5.3.0-27-generic xhci-hcd
[  251.536038] usb usb4: SerialNumber: 0000:05:00.4
[  251.536208] hub 4-0:1.0: USB hub found
[  251.536223] hub 4-0:1.0: 2 ports detected
[  251.536485] xhci_hcd 0000:05:00.4: xHCI Host Controller
[  251.536493] xhci_hcd 0000:05:00.4: new USB bus registered, assigned bus 
number 5
[  251.536498] xhci_hcd 0000:05:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[  251.536583] usb usb5: We don't know the algorithms for LPM for this host, 
disabling LPM.
[  251.536635] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, 
bcdDevice= 5.03
[  251.536640] usb usb5: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  251.536643] usb usb5: Product: xHCI Host Controller
[  251.536645] usb usb5: Manufacturer: Linux 5.3.0-27-generic xhci-hcd
[  251.536648] usb usb5: SerialNumber: 0000:05:00.4
[  251.537196] hub 5-0:1.0: USB hub found
[  251.537222] hub 5-0:1.0: 1 port detected
[  251.868541] usb 4-1: new full-speed USB device number 2 using xhci_hcd
[  251.868565] usb 2-1: new full-speed USB device number 2 using xhci_hcd
[  252.030402] usb 4-1: config 1 interface 1 altsetting 0 endpoint 0x3 has 
wMaxPacketSize 0, skipping
[  252.030407] usb 4-1: config 1 interface 1 altsetting 0 endpoint 0x83 has 
wMaxPacketSize 0, skipping
[  252.030417] usb 4-1: New USB device found, idVendor=8087, idProduct=0025, 
bcdDevice= 0.02
[  252.030420] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  252.040227] Bluetooth: hci0: Firmware revision 0.1 build 226 week 31 2019
[  252.047855] usb 2-1: New USB device found, idVendor=17ef, idProduct=3074, 
bcdDevice= 0.00
[  252.047861] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  252.047866] usb 2-1: Product: USB Billboard
[  252.047869] usb 2-1: Manufacturer: Cypress Semiconductor
[  252.047872] usb 2-1: SerialNumber: 11AD1D00F430390930191B00
[  252.128248] hid-generic 0003:17EF:3074.0007: hiddev0,hidraw0: USB HID v1.11 
Device [Cypress Semiconductor USB Billboard] on usb-0000:05:00.3-1/input1
[  252.152014] usb 3-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[  252.167839] usb 4-2: new high-speed USB device number 3 using xhci_hcd
[  252.172718] usb 3-2: New USB device found, idVendor=0781, idProduct=5581, 
bcdDevice= 1.00
[  252.172723] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  252.172726] usb 3-2: Product: Ultra
[  252.172728] usb 3-2: Manufacturer: SanDisk
[  252.172731] usb 3-2: SerialNumber: 
0101cafb34dfbfd97124b763ea5dc3098c9077a4ac9d376a2f86c6e03423a88dc4af00000000000000000000d00f75a4ff935b008155810785a75468
[  252.173345] usb-storage 3-2:1.0: USB Mass Storage device detected
[  252.173673] scsi host0: usb-storage 3-2:1.0
[  252.303724] usb 2-4: new high-speed USB device number 3 using xhci_hcd
[  252.317696] usb 4-2: New USB device found, idVendor=05e3, idProduct=0610, 
bcdDevice=60.52
[  252.317700] usb 4-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  252.317704] usb 4-2: Product: USB2.0 Hub
[  252.368357] hub 4-2:1.0: USB hub found
[  252.368761] hub 4-2:1.0: 4 ports detected
[  252.455320] usb 2-4: New USB device found, idVendor=17ef, idProduct=3071, 
bcdDevice=50.33
[  252.455324] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  252.455326] usb 2-4: Product: USB2.0 Hub             
[  252.455328] usb 2-4: Manufacturer: VIA Labs, Inc.         
[  252.493894] hub 2-4:1.0: USB hub found
[  252.494218] hub 2-4:1.0: 5 ports detected
[  252.588966] usb 3-4: new SuperSpeedPlus Gen 2 USB device number 3 using 
xhci_hcd
[  252.686989] usb 3-4: New USB device found, idVendor=17ef, idProduct=3070, 
bcdDevice=50.33
[  252.686994] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  252.686997] usb 3-4: Product: USB3.1 Hub             
[  252.687000] usb 3-4: Manufacturer: VIA Labs, Inc.         
[  252.717594] hub 3-4:1.0: USB hub found
[  252.717869] hub 3-4:1.0: 4 ports detected
[  252.723393] usb 4-2.1: new high-speed USB device number 4 using xhci_hcd
[  252.834987] usb 4-2.1: New USB device found, idVendor=5986, idProduct=2113, 
bcdDevice=54.22
[  252.834992] usb 4-2.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[  252.834995] usb 4-2.1: Product: Integrated Camera
[  252.834997] usb 4-2.1: Manufacturer: SunplusIT Inc
[  252.881964] uvcvideo: Found UVC 1.00 device Integrated Camera (5986:2113)
[  252.905152] uvcvideo 4-2.1:1.0: Entity type for entity Extension 4 was not 
initialized!
[  252.905156] uvcvideo 4-2.1:1.0: Entity type for entity Extension 3 was not 
initialized!
[  252.905159] uvcvideo 4-2.1:1.0: Entity type for entity Processing 2 was not 
initialized!
[  252.905162] uvcvideo 4-2.1:1.0: Entity type for entity Camera 1 was not 
initialized!
[  252.905296] input: Integrated Camera: Integrated C as 
/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb4/4-2/4-2.1/4-2.1:1.0/input/input37
[  252.983172] usb 4-2.4: new full-speed USB device number 5 using xhci_hcd
[  253.102263] usb 4-2.4: New USB device found, idVendor=06cb, idProduct=00bd, 
bcdDevice= 0.00
[  253.102266] usb 4-2.4: New USB device strings: Mfr=0, Product=0, 
SerialNumber=1
[  253.102268] usb 4-2.4: SerialNumber: 0abf8ab68025
[  253.204350] scsi 0:0:0:0: Direct-Access     SanDisk  Ultra            1.00 
PQ: 0 ANSI: 6
[  253.204596] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  253.205014] sd 0:0:0:0: [sda] 240353280 512-byte logical blocks: (123 GB/115 
GiB)
[  253.206229] sd 0:0:0:0: [sda] Write Protect is off
[  253.206232] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  253.206550] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, 
doesn't support DPO or FUA
[  253.215128] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  253.283036] usb 2-4.2: new high-speed USB device number 4 using xhci_hcd
[  253.440994] usb 2-4.2: New USB device found, idVendor=17ef, idProduct=3071, 
bcdDevice=50.34
[  253.440996] usb 2-4.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[  253.440998] usb 2-4.2: Product: USB2.0 Hub             
[  253.440999] usb 2-4.2: Manufacturer: VIA Labs, Inc.         
[  253.484935] hub 2-4.2:1.0: USB hub found
[  253.485205] hub 2-4.2:1.0: 4 ports detected
[  253.548782] usb 3-4.2: new SuperSpeedPlus Gen 2 USB device number 4 using 
xhci_hcd
[  253.672525] usb 3-4.2: New USB device found, idVendor=17ef, idProduct=3070, 
bcdDevice=50.34
[  253.672529] usb 3-4.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[  253.672532] usb 3-4.2: Product: USB3.1 Hub             
[  253.672534] usb 3-4.2: Manufacturer: VIA Labs, Inc.         
[  253.692745] hub 3-4.2:1.0: USB hub found
[  253.692968] hub 3-4.2:1.0: 4 ports detected
[  253.795537] EXT4-fs (sda): recovery complete
[  253.796585] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: 
(null)
[  253.802478] usb 2-4.3: new full-speed USB device number 5 using xhci_hcd
[  253.978167] usb 2-4.3: New USB device found, idVendor=046d, idProduct=c534, 
bcdDevice=29.01
[  253.978171] usb 2-4.3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[  253.978174] usb 2-4.3: Product: USB Receiver
[  253.978176] usb 2-4.3: Manufacturer: Logitech
[  254.069606] logitech-djreceiver 0003:046D:C534.0008: hidraw1: USB HID v1.11 
Keyboard [Logitech USB Receiver] on usb-0000:05:00.3-4.3/input0
[  254.131171] logitech-djreceiver 0003:046D:C534.0009: hiddev1,hidraw2: USB 
HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:05:00.3-4.3/input1
[  254.192229] logitech-djreceiver 0003:046D:C534.0009: device of type eQUAD 
nano Lite (0x0a) connected on slot 1
[  254.193211] logitech-djreceiver 0003:046D:C534.0009: device of type eQUAD 
nano Lite (0x0a) connected on slot 2
[  254.201516] input: Logitech Wireless Keyboard PID:4023 as 
/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb2/2-4/2-4.3/2-4.3:1.1/0003:046D:C534.0009/0003:046D:4023.000A/input/input38
[  254.202055] logitech-hidpp-device 0003:046D:4023.000A: input,hidraw3: USB 
HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on 
usb-0000:05:00.3-4.3/input1:1
[  254.238215] logitech-hidpp-device 0003:046D:4054.000B: HID++ 4.5 device 
connected.
[  254.274060] usb 2-4.2.4: new high-speed USB device number 6 using xhci_hcd
[  254.722920] input: Logitech Wireless Mouse as 
/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb2/2-4/2-4.3/2-4.3:1.1/0003:046D:C534.0009/0003:046D:4054.000B/input/input39
[  254.723264] logitech-hidpp-device 0003:046D:4054.000B: input,hidraw4: USB 
HID v1.11 Mouse [Logitech Wireless Mouse] on usb-0000:05:00.3-4.3/input1:2
[  255.437134] usb 2-4.5: new high-speed USB device number 7 using xhci_hcd
[  255.544417] usb 2-4.5: New USB device found, idVendor=17ef, idProduct=3075, 
bcdDevice= 0.01
[  255.544421] usb 2-4.5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[  255.544422] usb 2-4.5: Product: USB Billboard Device   
[  255.544424] usb 2-4.5: Manufacturer: VIA Labs, Inc.         
[  255.544425] usb 2-4.5: SerialNumber: 0000000000000001
[  255.562278] usb 2-4.2.4: New USB device found, idVendor=17ef, 
idProduct=306f, bcdDevice= 0.12
[  255.562282] usb 2-4.2.4: New USB device strings: Mfr=3, Product=1, 
SerialNumber=0
[  255.562284] usb 2-4.2.4: Product: ThinkPad Dock USB Audio
[  255.562286] usb 2-4.2.4: Manufacturer: Generic
[  256.035452] input: Generic ThinkPad Dock USB Audio Consumer Control as 
/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb2/2-4/2-4.2/2-4.2.4/2-4.2.4:1.3/0003:17EF:306F.000C/input/input40
[  256.092844] input: Generic ThinkPad Dock USB Audio as 
/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb2/2-4/2-4.2/2-4.2.4/2-4.2.4:1.3/0003:17EF:306F.000C/input/input41
[  256.093035] hid-generic 0003:17EF:306F.000C: input,hiddev2,hidraw5: USB HID 
v1.11 Device [Generic ThinkPad Dock USB Audio] on usb-0000:05:00.3-4.2.4/input3
[  275.740659] kauditd_printk_skb: 47 callbacks suppressed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 000000008e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 000000000c5e8d66 [id: 81] 
[master: 000000008e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: 00000000b7fb3125 [id: 86] 
[master: 000000008e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: 00000000e642e447 [id: 91] 
[master: 000000008e933bad]
  [  305.362012] r8169 0000:03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd 0000:05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ....hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd 0000:05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd 0000:05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd 0000:05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 0000:03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 000000008e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: 00000000e2f1a7b4 [id: 100] 
[master: 000000008e933bad]
  [  344.365857] [drm] DM_MST: added connector: 00000000c263592d [id: 105] 
[master: 000000008e933bad]
  [  344.365899] [drm] DM_MST: added connector: 0000000044df80f6 [id: 116] 
[master: 000000008e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux xxxx 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

  lspci: (laptop + docking)
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus A
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
61)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 1
  00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 2
  00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 3
  00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 4
  00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 5
  00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 6
  00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 7
  01:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
  02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller SM981/PM981/PM983
  03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
  03:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 
0e)
  03:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 
0e)
  03:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 0e)
  03:00.4 USB controller: Realtek Semiconductor Co., Ltd. Device 816d (rev 0e)
  04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI 
Express Card Reader (rev 01)
  05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Picasso (rev d2)
  05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] 
Raven/Raven2/Fenghuang HDMI/DP Audio Controller
  05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) Platform Security Processor
  05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] 
Raven/Raven2/FireFlight/Renoir Audio Processor
  05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
10h-1fh) HD Audio Controller

  fwupdmgr get-topology
  ○
  ├─ Prometheus                                
654a303a1e04fc691939521f42e5a306fdc28433
  │ └─ Prometheus IOTA Config                  
35af324dd3c451bc30f39e4c877bc54dd0eb4373
  ├─ 20QJCTO1WW System Firmware                
e4eabd9f25b643f6505492b906237786c51b88a9
  ├─ UEFI Device Firmware                      
45c16422ab5db47f84c0a9ef1ee73645a6332ae7
  ├─ UEFI Device Firmware                      
9169e7d5c798b90147cdc12be3f5155e46e52b74
  └─ SAMSUNG MZVLB512HBJQ-000L7                
03281da317dccd2b18de2bd1cc70a782df40ed7e
  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  DistroRelease: Ubuntu 19.10
  InstallationDate: Installed on 2019-12-23 (0 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 20QJCTO1WW
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-24-generic 
root=UUID=f581f338-3e87-4b63-afef-1045664329fe ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-24-generic N/A
   linux-backports-modules-5.3.0-24-generic  N/A
   linux-firmware                            1.183.3
  Tags:  eoan
  Uname: Linux 5.3.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

  _MarkForUpload: True
  dmi.bios.date: 10/29/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R13ET40W(1.14 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20QJCTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.modalias: 
dmi:bvnLENOVO:bvrR13ET40W(1.14):bd10/29/2019:svnLENOVO:pn20QJCTO1WW:pvrThinkPadT495s:rvnLENOVO:rn20QJCTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T495s
  dmi.product.name: 20QJCTO1WW
  dmi.product.sku: LENOVO_MT_20QJ_BU_Think_FM_ThinkPad T495s
  dmi.product.version: ThinkPad T495s
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1857385/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to