Repository navigation
Description
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
- (left rear): USB-C expansion card
- (left front): USB-A expansion card, the failing configuration
- (right rear): USB-C expansion card / SD expansion card (moved during testing)
- (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:
- It logs
xhci_hcd 0000:c3:00.0: Refused to change power state from D0 to D3hotroughly every 1.2 s. The gaps are near-exact multiples of ~1.23 s. - After about 150 s the refusals stop and the controller sits in D3cold.
- From then on, a device plugged into the left-front USB-A card produces no kernel events at all.
usb4-port1/statestaysnot 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=onafter the fact: no, it goes to D0 but the port staysnot 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=onfor 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
- Put an empty USB-A expansion card in port 2 (left front). Leave the default runtime PM settings (
power/control=auto). - Boot, or insert the card into a running system. Both reproduce it.
- Watch
journalctl -kf:Refused to change power state from D0 to D3hotappears every ~1.2 s, then stops after ~2.5 min./sys/bus/pci/devices/0000:c3:00.0/power_statereadsD3cold. - Plug a USB device into the USB-A card.
- 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 256appears 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 --consoleoutput during the refusal phase if useful.
measure-wakeups.sh
snap.sh
usb-hotplug-tests.zip
wait-idle.sh
Activity