Project 'drm/intel' was moved to 'drm/i915/kernel'. Please update any links and bookmarks that may still have the old path.
External USB-C dock displays not detected after unplugging dock (usb autosuspend)
- Kernel version: latest mainline v6.8-13213-g70293240c5ce, ubuntu-5.15.0-101, ubuntu-6.5.0-26
- Distribution: Ubuntu 22.04.4 Xorg
- Hardware: Razer Blade 15" Base (2018)
- Dock: HP G5 USB-C
# lspci -vnn -d :*:0300
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec4] (rev 07)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. 8th Gen Core Processor Host Bridge/DRAM Registers [1a58:2001]
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=10 <?>
Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 122
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00004000-00004fff [size=4K]
Memory behind bridge: ac000000-ad0fffff [size=17M]
Prefetchable memory behind bridge: 0000000080000000-0000000091ffffff [size=288M]
Capabilities: [88] Subsystem: Razer USA Ltd. 6th-10th Gen Core Processor PCIe Controller (x16) [1a58:2001]
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [140] Root Complex Link
Capabilities: [d94] Secondary PCI Express
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Razer USA Ltd. CoffeeLake-H GT2 [UHD Graphics 630] [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 162
Memory at ab000000 (64-bit, non-prefetchable) [size=16M]
Memory at 40000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915
00:12.0 Signal processing controller [1180]: Intel Corporation Cannon Lake PCH Thermal Controller [8086:a379] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH Thermal Controller [1a58:2001]
Flags: fast devsel, IRQ 16
Memory at ad51f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10) (prog-if 30 [XHCI])
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH USB 3.1 xHCI Host Controller [1a58:2001]
Flags: bus master, medium devsel, latency 0, IRQ 131
Memory at ad500000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=8/8 Maskable- 64bit+
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH Shared SRAM [1a58:2001]
Flags: fast devsel
Memory at ad516000 (64-bit, non-prefetchable) [disabled] [size=8K]
Memory at ad51e000 (64-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [80] Power Management version 3
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 [8086:a368] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH Serial IO I2C Controller [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 72000000 (64-bit, non-prefetchable) [virtual] [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH HECI Controller [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 163
Memory at ad51c000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [a4] Vendor Specific Information: Len=14 <?>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller [8086:a353] (rev 10) (prog-if 01 [AHCI 1.0])
DeviceName: Onboard - SATA
Subsystem: Razer USA Ltd. Cannon Lake Mobile PCH SATA AHCI Controller [1a58:2001]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 130
Memory at ad514000 (32-bit, non-prefetchable) [size=8K]
Memory at ad51b000 (32-bit, non-prefetchable) [size=256]
I/O ports at 5090 [size=8]
I/O ports at 5080 [size=4]
I/O ports at 5060 [size=32]
Memory at ad51a000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci
Kernel modules: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #18 [8086:a341] (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 123
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00003000-00003fff [size=4K]
Memory behind bridge: ad400000-ad4fffff [size=1M]
Prefetchable memory behind bridge: 0000000092100000-00000000921fffff [size=1M]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Razer USA Ltd. Cannon Lake PCH PCI Express Root Port [1a58:2001]
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport
00:1b.3 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #20 [8086:a343] (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 124
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: ad300000-ad3fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Razer USA Ltd. Cannon Lake PCH PCI Express Root Port [1a58:2001]
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 [8086:a330] (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 125
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: ad200000-ad2fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Razer USA Ltd. Cannon Lake PCH PCI Express Root Port [1a58:2001]
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport
00:1d.4 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #13 [8086:a334] (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 126
Bus: primary=00, secondary=05, subordinate=3d, sec-latency=0
I/O behind bridge: 00006000-00007fff [size=8K]
Memory behind bridge: 94000000-aa0fffff [size=353M]
Prefetchable memory behind bridge: 0000000050000000-0000000071ffffff [size=544M]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Razer USA Ltd. Cannon Lake PCH PCI Express Root Port [1a58:2001]
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [220] Secondary PCI Express
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport
00:1e.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller [8086:a328] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH Serial IO UART Host Controller [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 20
Memory at 72001000 (64-bit, non-prefetchable) [virtual] [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM470 Chipset LPC/eSPI Controller [8086:a30d] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. HM470 Chipset LPC/eSPI Controller [1a58:2001]
Flags: bus master, medium devsel, latency 0
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
DeviceName: Onboard - Sound
Subsystem: Razer USA Ltd. Cannon Lake PCH cAVS [1a58:2001]
Flags: bus master, fast devsel, latency 32, IRQ 181
Memory at ad510000 (64-bit, non-prefetchable) [size=16K]
Memory at ad100000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH SMBus Controller [1a58:2001]
Flags: medium devsel, IRQ 16
Memory at ad518000 (64-bit, non-prefetchable) [size=256]
I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
DeviceName: Onboard - Other
Subsystem: Razer USA Ltd. Cannon Lake PCH SPI Controller [1a58:2001]
Flags: fast devsel
Memory at fe010000 (32-bit, non-prefetchable) [size=4K]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Razer USA Ltd. GP106M [GeForce GTX 1060 Mobile] [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 161
Memory at ac000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at ad000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Kernel driver in use: nouveau
Kernel modules: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition Audio Controller [10de:10f1] (rev a1)
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at ad080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Razer USA Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at 3000 [size=256]
Memory at ad400000 (64-bit, non-prefetchable) [size=4K]
Memory at 92100000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller [0280]: Intel Corporation Wireless-AC 9260 [8086:2526] (rev 29)
Subsystem: Intel Corporation Wireless-AC 9260 [8086:0014]
Flags: bus master, fast devsel, latency 0, IRQ 180
Memory at ad300000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] MSI-X: Enable- Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
04:00.0 Non-Volatile memory controller [0108]: Lite-On Technology Corporation Device [14a4:2300] (rev 01) (prog-if 02 [NVM Express])
Subsystem: Marvell Technology Group Ltd. Device [1b4b:1093]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ad200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable+ Count=19 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [158] Power Budgeting <?>
Capabilities: [168] Alternative Routing-ID Interpretation (ARI)
Capabilities: [178] Secondary PCI Express
Capabilities: [2b8] Latency Tolerance Reporting
Capabilities: [2c0] L1 PM Substates
Kernel driver in use: nvme
Kernel modules: nvme
05:00.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02) (prog-if 00 [Normal decode])
Physical Slot: 16
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=05, secondary=06, subordinate=3d, sec-latency=0
I/O behind bridge: 00006000-00006fff [size=4K]
Memory behind bridge: 94000000-aa0fffff [size=353M]
Prefetchable memory behind bridge: 0000000050000000-0000000071ffffff [size=544M]
Capabilities: [80] Power Management version 3
Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [ac] Subsystem: Razer USA Ltd. JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [1a58:2001]
Capabilities: [c0] Express Upstream Port, MSI 00
Capabilities: [100] Device Serial Number 85-37-41-31-46-b7-d0-00
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Virtual Channel
Capabilities: [400] Power Budgeting <?>
Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8 <?>
Capabilities: [600] Latency Tolerance Reporting
Capabilities: [700] Secondary PCI Express
Kernel driver in use: pcieport
06:00.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 127
Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: aa000000-aa0fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [80] Power Management version 3
Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [ac] Subsystem: Razer USA Ltd. JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [1a58:2001]
Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
Capabilities: [100] Device Serial Number 85-37-41-31-46-b7-d0-00
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Virtual Channel
Capabilities: [400] Power Budgeting <?>
Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8 <?>
Capabilities: [700] Secondary PCI Express
Kernel driver in use: pcieport
06:01.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 128
Bus: primary=06, secondary=08, subordinate=3c, sec-latency=0
I/O behind bridge: 00006000-00006fff [size=4K]
Memory behind bridge: 94000000-a9efffff [size=351M]
Prefetchable memory behind bridge: 0000000050000000-0000000071ffffff [size=544M]
Capabilities: [80] Power Management version 3
Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [ac] Subsystem: Razer USA Ltd. JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [1a58:2001]
Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
Capabilities: [100] Device Serial Number 85-37-41-31-46-b7-d0-00
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Virtual Channel
Capabilities: [400] Power Budgeting <?>
Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8 <?>
Capabilities: [700] Secondary PCI Express
Kernel driver in use: pcieport
06:02.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 129
Bus: primary=06, secondary=3d, subordinate=3d, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: a9f00000-a9ffffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [80] Power Management version 3
Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [ac] Subsystem: Razer USA Ltd. JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [1a58:2001]
Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
Capabilities: [100] Device Serial Number 85-37-41-31-46-b7-d0-00
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Virtual Channel
Capabilities: [400] Power Budgeting <?>
Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8 <?>
Capabilities: [700] Secondary PCI Express
Kernel driver in use: pcieport
07:00.0 System peripheral [0880]: Intel Corporation JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016] [8086:15d9] (rev 02)
Subsystem: Razer USA Ltd. JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016] [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at aa000000 (32-bit, non-prefetchable) [size=256K]
Memory at aa040000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [c0] Express Endpoint, MSI 00
Capabilities: [a0] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Device Serial Number 85-37-41-31-46-b7-d0-00
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Virtual Channel
Capabilities: [400] Power Budgeting <?>
Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=088 <?>
Capabilities: [600] Latency Tolerance Reporting
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
3d:00.0 USB controller [0c03]: Intel Corporation JHL6340 Thunderbolt 3 USB 3.1 Controller (C step) [Alpine Ridge 2C 2016] [8086:15db] (rev 02) (prog-if 30 [XHCI])
Subsystem: Razer USA Ltd. JHL6340 Thunderbolt 3 USB 3.1 Controller (C step) [Alpine Ridge 2C 2016] [1a58:2001]
Flags: bus master, fast devsel, latency 0, IRQ 140
Memory at a9f00000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [80] Power Management version 3
Capabilities: [88] MSI: Enable+ Count=8/8 Maskable- 64bit+
Capabilities: [c0] Express Endpoint, MSI 00
Capabilities: [100] Device Serial Number 85-37-41-31-46-b7-d0-00
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Virtual Channel
Capabilities: [400] Power Budgeting <?>
Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8 <?>
Capabilities: [600] Latency Tolerance Reporting
Capabilities: [700] Secondary PCI Express
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
To reproduce:
- boot with dock connected and 2 external monitors connected to the dock DisplayPorts
- use Screen Settings to activate at least one external monitor (so desktop is showing on that monitor)
- unplug the dock
- plug the dock back in
- the external monitors will not be detected.
ls /sys/class/drm/
shows no new devices. - cat
/sys/bus/usb/devices/usb4/power/control
shows "suspended".lsusb -t
shows usb4 has no devices. - echo "on" > /sys/bus/usb/devices/usb4/power/control
- now the external monitors and bus usb4 devices are detected
Notes:
- the problem does not occur if I boot with
usbcore.autosuspend=-1
in the kernel parameters. - the problem does not occur with only one external monitor on replug. There is something about the replug with 2 monitors (race condition?).
- following the dock unplug, plugging in an external NVME to the USB-C socket is not detected. So it seems once the bus state is suspended, new USB3 devices are not detected either. Also, power cycling the dock does not help, so this is definitely an issue with Linux/the laptop and not the dock.
- the problem is specific to USB3 and dock DisplayPort. The dock USB2 devices still work.
- the problem only occurs in the case where an external monitor is active when the dock is unplugged. If the external monitors are physically connected but not enabled, then unplug and replug works as expected.
- the problem seems to be specific to the use of a USB-C dock. The problem does not occur when a DisplayPort MST hub is plugged instead (with a miniDP to USB-C adaptor).
- Some errors appear but seem intermittent, for example:
[ 623.865888] xhci_hcd 0000:3d:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 623.865943] usb 4-1: unable to get BOS descriptor or descriptor too short
[ 623.865969] usb 4-1: unable to read config index 0 descriptor/start: -19
[ 624.065970] usb 4-1: new SuperSpeed USB device number 13 using xhci_hcd
[ 624.086700] usb 4-1: New USB device found, idVendor=03f0, idProduct=066b, bcdDevice= 6.11
[ 624.086716] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 624.086724] usb 4-1: Product: HP USB-C Dock G5
[ 624.086730] usb 4-1: Manufacturer: Microchip
[ 3048.118284] xhci_hcd 0000:3d:00.0: xHC error in resume, USBSTS 0x401, Reinit
[ 3048.118300] usb usb3: root hub lost power or was reset
[ 3048.118307] usb usb4: root hub lost power or was reset
- dmesg.txt - laptop booted with dock attached, then unplug and replug. After replug, the dock external displays are not detected.