Kernel hard lockup when disconnecting USB-C devices - HDMI Expansion Card triggers xhci deadlock
System Info
-
Linux distro: Arch Linux
-
Last updated: 2026-02-17
-
Kernel: 6.18.9-arch1-2
-
BIOS: 03.05
-
Model: Framework Laptop 16 (AMD Ryzen 7040 Series)
-
CPU: AMD Ryzen 9 7940HS
-
Expansion cards: 4x USB-C, 1x HDMI, 1x 3.5mm Audio
What Happened
After a Microsoft Teams video call, I disconnected my external USB-C peripherals (Anker PowerConf S330 speakerphone, Anker webcam, and an HDMI cable to a TV). During disconnection, the system completely froze and required a hard power-cycle reboot.
Root Cause from Logs
The journal (journalctl -b -1) ends abruptly with no shutdown messages, confirming a hard kernel lockup.
The HDMI Expansion Card (usb 5-1, on controller c4:00.3) disconnected and reconnected on its own 3 times during the session — even though it was never physically touched. The cycles were triggered by plugging/unplugging other USB-C devices in nearby slots. On the third cycle, the kernel deadlocked:
11:05:39 - usb 5-1: USB disconnect, device number 4 (HDMI Expansion Card)
11:05:40 - ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
11:05:41 - xhci_hcd 0000:c4:00.3: Refused to change power state from D0 to D3hot
11:05:42 - HDMI Expansion Card reconnects as device number 5
*** JOURNAL ENDS — system frozen, no further entries ***
The key error is xhci_hcd 0000:c4:00.3: Refused to change power state from D0 to D3hot. After this, nothing further was logged — no kernel panic, no OOM, no GPU errors. The kernel appears to have deadlocked in the USB power state transition.
Steps to Reproduce
-
Have the HDMI Expansion Card installed with a display connected
-
Connect additional USB-C peripherals to other expansion card slots
-
Use normally for a period of time
-
Disconnect the USB-C peripherals
The HDMI Expansion Card cycles each time nearby USB-C devices change, and the system may freeze during one of these cycles.
Additional Notes
-
The UCSI driver also logged
GET_CABLE_PROPERTY failed (-5)errors during each HDMI card cycle -
Waybar crashed (SIGABRT) as a side effect of the display disappearing — not the root cause
-
The previous boot shut down cleanly, so this is not a recurring boot issue
-
No MCE (machine check exceptions) were recorded