I just went back to using my Precision 5520 with the TB16 dock, after that duo was benched for a few months while I waited for a replacement battery to be shipped, and now the situation is similar but worse:
Every time I connect the dock cable, Linux tries to attached the USB hub, fails and disconnects the XHcI bus. Running the reset script details above (basically running "unbind" and the "bind" with the dock's bus address) allows the bus to be usable, though often it takes a couple of tries.
Attached is the dmesg log from connection through the error and the reset (timepoint documented in the log itself).
Interesting things that may or may not be related:
1. it takes a *very*long*time* for the system to connect the USB devices: the reset command occurred at 455, all the devices except the mouse got connected by 458 (13 seconds), with the mouse waiting until 471 (there were a few errors in the log specific to the logitech-hidpp-device, probably related).
2. I see a lot of `BAR 13: no space for [io size 0xXXXX]` in dmesg, followed by `BAR 13: failed to assign [io size 0xXXXX]`.
I'm running eoan full updated with kernel 5.3.0-24-generic. I have ran all the BIOS firmware updates and the MS-Windows "Dell Precision Optimizer" system updates including the Thunderbolt controller driver update.
I just went back to using my Precision 5520 with the TB16 dock, after that duo was benched for a few months while I waited for a replacement battery to be shipped, and now the situation is similar but worse:
Every time I connect the dock cable, Linux tries to attached the USB hub, fails and disconnects the XHcI bus. Running the reset script details above (basically running "unbind" and the "bind" with the dock's bus address) allows the bus to be usable, though often it takes a couple of tries.
Attached is the dmesg log from connection through the error and the reset (timepoint documented in the log itself).
Interesting things that may or may not be related: hidpp-device, probably related).
1. it takes a *very*long*time* for the system to connect the USB devices: the reset command occurred at 455, all the devices except the mouse got connected by 458 (13 seconds), with the mouse waiting until 471 (there were a few errors in the log specific to the logitech-
2. I see a lot of `BAR 13: no space for [io size 0xXXXX]` in dmesg, followed by `BAR 13: failed to assign [io size 0xXXXX]`.
I'm running eoan full updated with kernel 5.3.0-24-generic. I have ran all the BIOS firmware updates and the MS-Windows "Dell Precision Optimizer" system updates including the Thunderbolt controller driver update.
Here's the fwupdmgr report:
``` 1d8707a72ab7b93 86a98527ee 2ec3-5092- b30e-03bdb1a53e 4a updatable| require- ac|registered
Precision M5520 Thunderbolt Controller
DeviceId: 51d36e5f8f25bea
Guid: c5364422-
Summary: Unmatched performance for high-speed I/O
Plugin: thunderbolt
Flags: internal|
Vendor: Dell
VendorId: TBT:0x00D4
Version: 26.01
VersionFormat: pair
Icon: computer
Created: 2019-12-09
Dell Thunderbolt Cable 8ad913550d24197 8e3562f8bf 7732cfc7591b65a 8d36384cc9 4e3a-5090- a583-45367cfd64 21 require- ac|registered
DeviceId: aa4dfab63945b6e
ParentDeviceId: 84edf044a6b5303
Guid: b4fd3cdf-
Plugin: thunderbolt
Flags: updatable|
Vendor: Dell
VendorId: TBT:0x00D4
Version: 16.00
VersionFormat: pair
Icon: audio-card
Created: 2019-12-09
Dell Thunderbolt Dock 959942f4b2275c1 c4d0ac2ac5 7732cfc7591b65a 8d36384cc9 f062-5b93- a11c-8d2a58a258 48 require- ac|registered
DeviceId: 64575ad9f31dbe3
ParentDeviceId: 84edf044a6b5303
Guid: 76cc74d4-
Plugin: thunderbolt
Flags: updatable|
Vendor: Dell
VendorId: TBT:0x00D4
Version: 16.00
VersionFormat: pair
Icon: audio-card
Created: 2019-12-09
Precision 5520 System Firmware bf8ad1f2ed2922b 76df457271 11dc-4378- bc7f-b643866f59 8c updatable| require- ac|supported| registered| needs-reboot a7857150e2c6263 dc59b1e51b944a8 ) 384c7594f033f64 900148798be5593 9cdabfe502f8458 febeb02884b920c f460)
DeviceId: f49999b6e3af5b4
Guid: 34578c72-
Plugin: uefi
Flags: internal|
Checksum: SHA1(de646f75ad
Checksum: SHA256(
Version: 0.1.16.0
VersionLowest: 0.1.16.0
VersionFormat: quad
Icon: computer
Created: 2019-12-09
UpdateState: success
Synaptics VMM3320 inside Dell WD15/TB16/TB18 wired Dock 839263dd4711c84 ea99bb6dc3 7732cfc7591b65a 8d36384cc9 41e6-5c21- 9dde-0ff8984f3e 20 26d5-59a0- ae44-6b00e276d7 75 2de6-5a52- 8a86-d5f69fd73d 34 registered
DeviceId: 7b3cbc344094ace
ParentDeviceId: 84edf044a6b5303
Guid: 152a9833-
Guid: 0a52c8c7-
Guid: 51000744-
Summary: Multi-Stream Transport Device
Plugin: synapticsmst
Flags: updatable|
Vendor: Synaptics
Version: 3.10.002
VersionFormat: triplet
Icon: computer
Created: 2019-12-09
Synaptics VMM3330 inside Dell WD15/TB16/TB18 wired Dock 7b0b99c8a3b42ae 5127c75eb8 7732cfc7591b65a 8d36384cc9 4fc0-509b- 80f8-5f871f3751 a8 ca5c-546c- 97c6-ee2160ba48 9d 6bcf-5fab- 94e7-4f8739eb90 aa registered
DeviceId: d83854e8c81f5d4
ParentDeviceId: 84edf044a6b5303
Guid: c0f73159-
Guid: be025b25-
Guid: 190e8d7c-
Summary: Multi-Stream Transport Device
Plugin: synapticsmst
Flags: updatable|
Vendor: Synaptics
Version: 3.10.002
VersionFormat: triplet
Icon: computer
Created: 2019-12-09
Dell TB16 Thunderbolt Cable 72a2e67c1d89018 c7a5219841 7732cfc7591b65a 8d36384cc9 5bb0-4e63- a2ff-02aaba5bc1 dc require- ac|registered| needs-reboot
DeviceId: f8194a423205184
ParentDeviceId: 84edf044a6b5303
Guid: 6dc832fc-
Summary: A Thunderbolt™ 3 docking station
Plugin: uefi
Flags: updatable|
Vendor: Dell Inc.
Version: 0.0.3.18
VersionFormat: quad
Icon: computer
Created: 2019-12-09
Dell TB16 Port Controller 1 50bb17910417562 e5b6cf69d0 7732cfc7591b65a 8d36384cc9 c94e-4804- b319-0f1ba5457a 69 require- ac|registered| needs-reboot
DeviceId: b3fa3dc04e34504
ParentDeviceId: 84edf044a6b5303
Guid: 8fe183da-
Summary: A Thunderbolt™ 3 docking station
Plugin: uefi
Flags: updatable|
Vendor: Dell Inc.
Version: 0.1.2.17
VersionFormat: quad
Icon: computer
Created: 2019-12-09
Dell TB16 Port Controller 2 12993240dd1edd8 b0ebb6d491 7732cfc7591b65a 8d36384cc9 86f6-4aee- 9f0c-474dc6be49 b6 require- ac|registered| needs-reboot
DeviceId: 4bcf1477575b559
ParentDeviceId: 84edf044a6b5303
Guid: 1b52c630-
Summary: A Thunderbolt™ 3 docking station
Plugin: uefi
Flags: updatable|
Vendor: Dell Inc.
Version: 0.1.2.50
VersionFormat: quad
Icon: computer
Created: 2019-12-09
Dell TB16 7732cfc7591b65a 8d36384cc9 bf73-4574- afe6-a4ccacabf4 79 require- ac|registered| needs-reboot
DeviceId: 84edf044a6b5303
Guid: e7ca1f36-
Summary: A Thunderbolt™ 3 docking station
Plugin: uefi
Flags: updatable|
Vendor: Dell Inc.
Version: 0.0.0.0
VersionFormat: quad
Icon: computer
Created: 2019-12-09
```
I haven't had a spurious failure during work yet (just started working with it today), I'll report if that happens.