Skip to content

[Laptop 13] Empty USB-A card in left-front slot: xHCI c3:00.0 refuses D3hot, then left-front port stops detecting hot-plug #313

Backlog

Description

@fnicolini

System Model or SKU

Framework Laptop 13 (AMD Ryzen™ AI 300 Series)

BIOS Version

04.02

DIY Edition Information

Memory: 2× Kingston KF556S40-32 (32 GB DDR5-5600 SO-DIMM, 64 GB total)
Storage: WD_BLACK SN7100 2TB

Port/Peripheral Information

Peripheral vendor and name: Kingston DataTraveler 3.0 USB-A stick (0951:1666), also reproduced with a Kingston DataTraveler 70 USB-C stick (0951:172b) for comparison

  1. (left rear): USB-C expansion card
  2. (left front): USB-A expansion card, the failing configuration
  3. (right rear): USB-C expansion card / SD expansion card (moved during testing)
  4. (right front): SD expansion card / USB-A expansion card (moved during testing)

Slot → controller map from sysfs: ports 2 and 4 (front) = xHCI 0000:c3:00.0 (1022:1118), usb4-port1 / usb4-port2. Port 1 = c3:00.4 (1022:111e). Port 3 = c3:00.3 (1022:111c).

Standalone Operation

Full System, Standalone mode NOT enabled (normal usage)

Describe the Bug

When the USB-A expansion card sits empty in port 2 (left front), xHCI controller 0000:c3:00.0 cannot runtime-suspend normally:

  1. It logs xhci_hcd 0000:c3:00.0: Refused to change power state from D0 to D3hot roughly every 1.2 s. The gaps are near-exact multiples of ~1.23 s.
  2. After about 150 s the refusals stop and the controller sits in D3cold.
  3. From then on, a device plugged into the left-front USB-A card produces no kernel events at all. usb4-port1/state stays not attached.

Only port 2 is broken. In the same state, a device inserted into port 4 (right front, same controller) wakes it and enumerates instantly.

What recovers port 2:

  • xhci unbind + bind of 0000:c3:00.0: yes, the device enumerates 0.5 s after bind.
  • power/control=on after the fact: no, it goes to D0 but the port stays not attached. It rescued the port once in 2 attempts, after about 40 s.
  • Physically replugging the device: no.

What prevents it:

  • Putting the USB-A card in any other port (0–1 refusals per boot, hot-plug works everywhere), or
  • Putting a USB-C card in port 2, or
  • Setting power/control=on for 1022:1118 from boot with a udev rule: 0 refusals, hot-plug works.

5-minute wake-up measurement, empty cards, 20 Hz sampling of runtime_status plus power/wakeup_count:

USB-A in port 4 USB-A in port 2
Runtime resumes of c3:00.0 0 0
PCI wake events 0 0
D3hot refusals 0 93 over 155 s
Time awake 0 % 17 %

Nothing is waking the controller. It keeps failing to enter D3hot until something lets it reach D3cold, and port 2 does not come back from that.

Full write-up with all results: https://community.frame.work/t/workaround-framework-13-refused-to-change-power-state-from-d0-to-d3hot/81297/7

Steps To Reproduce

  1. Put an empty USB-A expansion card in port 2 (left front). Leave the default runtime PM settings (power/control=auto).
  2. Boot, or insert the card into a running system. Both reproduce it.
  3. Watch journalctl -kf: Refused to change power state from D0 to D3hot appears every ~1.2 s, then stops after ~2.5 min. /sys/bus/pci/devices/0000:c3:00.0/power_state reads D3cold.
  4. Plug a USB device into the USB-A card.
  5. Nothing is logged and the device is never detected, until an xhci rebind or a reboot.

Reproduced 3/3 times when plugging in after step 3 settled. Plugging in during the refusal phase (first ~2.5 min) works, which made the bug look random for a long time.

Expected Behavior

c3:00.0 should enter D3hot/D3cold normally with an empty USB-A card in port 2, as it does when the card is in port 4. A device plugged into port 2 afterwards should wake the controller and enumerate.

Screenshots

No response

Operating System

Fedora Linux 45 (Workstation Edition)

Linux Kernel Version

Linux fabio-laptop 7.3.4-300.fc45.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 11 00:15:32 UTC 2026 x86_64 GNU/Linux

Additional Context

  • ucsi_acpi USBC000:00: unknown error 256 appears 2–3 times per boot in every layout, so it doesn't seem to be the trigger. Possibly related to ucsi_acpi USBC000:00: unknown error 256 #185, which mentions a fix in BIOS 4.03. I will retest on 4.03 when it is available.
  • I have seen the same refusal messages reported in the forum thread linked above (same controller address c3:00.0, USB-A card in the left-side slot), so it doesn't appear to be unique to my unit.
  • Attached: usb-hotplug-tests.zip, containing per-test sysfs/journal snapshots, a summary CSV, the wake-up measurements, and the scripts used (snap.sh, wait-idle.sh, measure-wakeups.sh) so the test can be reproduced on another unit.
  • Happy to capture framework_tool --console output during the refusal phase if useful.

measure-wakeups.sh
snap.sh
usb-hotplug-tests.zip
wait-idle.sh

Activity

  1. added
    Laptop 13
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Laptop 13

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions