You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Laptop 13 Pro] Core Ultra Series 3: UCSI stops sending notifications after s2idle resume; unplugged charger stays "online", so the OS never suspends or hibernates on battery #286
Framework Laptop 13 Pro (Intel® Core™ Ultra Series 3)
BIOS Version
03.02
DIY Edition Information
No response
Port/Peripheral Information
No response
Standalone Operation
Full System, Standalone mode NOT enabled (normal usage)
Describe the Bug
After resuming from s2idle, the UCSI interface often stops delivering connector-change notifications to the OS:
ucsi_acpi USBC000:00: failed to re-enable notifications (-110)
The OS then keeps the connector state it had before suspend. If a charger was attached at some point and later removed, the USB-C port stays reported as a PD source the laptop is sinking from, even with the port physically empty:
The ACPI AC adapter (ACAD) and the battery update correctly, but the stale UCSI power supply makes the system believe it is on external power (systemd-ac-power returns true). As a result:
Desktop idle policies that only act on battery never run (screen-off, suspend on idle).
With systemd suspend-then-hibernate and HibernateOnACPower=false, the system goes back to suspend instead of hibernating.
Reloading the driver clears the stale state immediately (the port goes to online=0, port3-partner disappears, systemd-ac-power returns false):
Suspend (s2idle) and resume a few times (the failure has occurred on 3 of the last 4 resumes here).
Check journalctl -k for ucsi_acpi USBC000:00: failed to re-enable notifications (-110).
Unplug the charger.
Read /sys/class/power_supply/ucsi-source-psy-USBC000:00*/online and /sys/class/typec/port*-partner, or run systemd-ac-power -v.
Expected Behavior
UCSI notifications keep working after resume. Unplugging the charger sets the UCSI power supply to online=0 and removes the typec partner, so the OS correctly sees that it is on battery.
Screenshots
No response
Operating System
NixOS 26.11
Linux Kernel Version
No response
Additional Context
Kernel log for the current boot. The unknown error 256 at boot matches #264, #266 and #269.
Oct 21 08:44:57 kernel: ucsi_acpi USBC000:00: unknown error 256
Oct 21 16:16:27 kernel: ucsi_acpi USBC000:00: failed to re-enable notifications (-110)
Oct 21 16:16:27 kernel: ucsi_acpi USBC000:00: possible UCSI driver bug 1
Oct 21 16:16:27 kernel: ucsi_acpi USBC000:00: failed to re-enable notifications (-22)
Oct 21 20:00:13 kernel: ucsi_acpi USBC000:00: failed to re-enable notifications (-110)
Oct 23 23:38:57 kernel: ucsi_acpi USBC000:00: failed to re-enable notifications (-110)
Each of the -110 lines follows a PM: suspend exit within about 10 seconds.
Workaround: reload ucsi_acpi after every resume
Possibly related: #264, #266, #269 (UCSI errors on the same board with BIOS 03.02).
changed the title [-][Laptop 13 Pro][/-][+][Laptop 13 Pro] Core Ultra Series 3: UCSI stops sending notifications after s2idle resume; unplugged charger stays "online", so the OS never suspends or hibernates on battery[/+]on Oct 24, 2026
I see the same problem on BIOS 03.04 and have some more data on it.
Setup
Framework Laptop 13 Pro (Intel Core Ultra Series 3), BIOS 03.04, EC sakura-3.0.4-34ebc93, PD controllers 1.0.0B (from framework_tool --versions)
NixOS 26.11, kernel 6.18.64
Two USB-C cables on the left side go to a KVM switch. Each carries DisplayPort to a monitor, and one of them also supplies 60 W (20 V, 3 A) to the laptop.
Test procedure
Laptop on, lid open, both KVM cables connected.
Suspend with systemctl suspend-then-hibernate, wait a few seconds, wake the laptop.
Wait 20 seconds and check journalctl -k for ucsi_acpi USBC000:00: failed to re-enable notifications (-110). When it appears, it is logged 10 seconds after PM: suspend exit, which is the command timeout (UCSI_TIMEOUT_MS, 10000 ms in 6.18.64).
After a resume that logged the error, unplug both KVM cables and read the power supplies.
I ran the procedure five times after updating to 03.04:
Resume (PM: suspend exit)
Result
22:22:51
-110 at 22:23:01
23:02:15
no error
23:04:07
-110 at 23:04:17
23:17:01
-110 at 23:17:11 (patched kernel module, see below)
08:19:24
-110 at 08:19:34 (patched kernel, see below)
Step 4 after the 22:22:51 resume, with both cables unplugged:
The kernel logged no UCSI messages for the unplug, where it normally logs the connector change. With the lid closed on battery the laptop did not suspend, because logind uses the same external power check (HandleLidSwitchExternalPower=ignore here).
Trace
To see whether the PPM answers late or not at all, I added kprobes on ucsi_resume_work, on ucsi_acpi_notify (records the ACPI notify value) and on ucsi_notify_common (records the CCI value the driver reads):
Resume at 23:02:15, no error. The first ACPI notification arrives 29 ms after ucsi_resume_work starts, with CCI 0x80000000 (command complete) for SET_NOTIFICATION_ENABLE. The connector status reads that follow complete in about 20 ms each. Timestamps are seconds since boot.
Resume at 23:04:07, with the -110 error. ucsi_resume_work starts and no ACPI notification from USBC000 follows. I unplugged one KVM cable 40 seconds after the resume and plugged it back in at 53 seconds, and those produced no notification either. The whole trace from the resume until I stopped it:
Other EC events still reach the OS in this state: in the step 4 test above, ACAD went to online=0 when the cables were unplugged. Reloading ucsi_acpi restores the UCSI notifications. ucsi_init() starts with ucsi_reset_ppm(), which resets the PPM by polling the CCI and does not depend on notifications.
Kernel side
Mainline commit a2463e239443 ("usb: typec: ucsi: allow retries of ucsi_resume_work", first in v7.4-rc1, not in 6.18.y) retries SET_NOTIFICATION_ENABLE four more times, 500 ms apart. It does not reset the PPM. In the failing case above the PPM sent nothing for at least 53 seconds, longer than those retries take, so I don't expect that commit to help here. I have not tested it.
I tested a change that resets the PPM when SET_NOTIFICATION_ENABLE fails on resume and then sends it once more, the same way ucsi_init() brings the PPM up:
--- a/drivers/usb/typec/ucsi/ucsi.c+++ b/drivers/usb/typec/ucsi/ucsi.c@@ -2086,6 +2086,16 @@
command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy;
ret = ucsi_send_command(ucsi, command, NULL, 0);
if (ret < 0) {
+ /*+ * Some PPMs stop signalling after resume until they are reset.+ * Reset by polling, as ucsi_init() does, and try once more.+ */+ dev_warn(ucsi->dev, "re-enabling notifications failed (%d), resetting PPM\n", ret);+ ret = ucsi_reset_ppm(ucsi);+ if (!ret)+ ret = ucsi_send_command(ucsi, command, NULL, 0);+ }+ if (ret < 0) {
dev_err(ucsi->dev, "failed to re-enable notifications (%d)\n", ret);
return;
}
I tested it twice. First as out-of-tree typec_ucsi and ucsi_acpi modules loaded in place of the stock ones (resume at 23:17:01), then built into the kernel (resume at 08:19:24). Both resumes logged re-enabling notifications failed (-110), resetting PPM and no failed to re-enable notifications after it. After each one I ran step 4:
ACAD: online=0
ucsi-source-psy-USBC000:004: online=0
systemd-ac-power -v: no
The kernel logged the connector change for the unplug, so notifications were working again without reloading the module.
The kernel change is a workaround. The PPM stops completing commands and raising notifications after some resumes until it is reset, and that needs fixing in the EC or PD firmware.
Activity
[-][Laptop 13 Pro][/-][+][Laptop 13 Pro] Core Ultra Series 3: UCSI stops sending notifications after s2idle resume; unplugged charger stays "online", so the OS never suspends or hibernates on battery[/+]djacu commentedon Nov 28, 2026
I see the same problem on BIOS 03.04 and have some more data on it.
Setup
sakura-3.0.4-34ebc93, PD controllers1.0.0B(fromframework_tool --versions)Test procedure
systemctl suspend-then-hibernate, wait a few seconds, wake the laptop.journalctl -kforucsi_acpi USBC000:00: failed to re-enable notifications (-110). When it appears, it is logged 10 seconds afterPM: suspend exit, which is the command timeout (UCSI_TIMEOUT_MS, 10000 ms in 6.18.64).I ran the procedure five times after updating to 03.04:
PM: suspend exit)-110at 22:23:01-110at 23:04:17-110at 23:17:11 (patched kernel module, see below)-110at 08:19:34 (patched kernel, see below)Step 4 after the 22:22:51 resume, with both cables unplugged:
The kernel logged no UCSI messages for the unplug, where it normally logs the connector change. With the lid closed on battery the laptop did not suspend, because logind uses the same external power check (
HandleLidSwitchExternalPower=ignorehere).Trace
To see whether the PPM answers late or not at all, I added kprobes on
ucsi_resume_work, onucsi_acpi_notify(records the ACPI notify value) and onucsi_notify_common(records the CCI value the driver reads):Resume at 23:02:15, no error. The first ACPI notification arrives 29 ms after
ucsi_resume_workstarts, with CCI0x80000000(command complete) for SET_NOTIFICATION_ENABLE. The connector status reads that follow complete in about 20 ms each. Timestamps are seconds since boot.Resume at 23:04:07, with the
-110error.ucsi_resume_workstarts and no ACPI notification fromUSBC000follows. I unplugged one KVM cable 40 seconds after the resume and plugged it back in at 53 seconds, and those produced no notification either. The whole trace from the resume until I stopped it:Other EC events still reach the OS in this state: in the step 4 test above,
ACADwent toonline=0when the cables were unplugged. Reloadingucsi_acpirestores the UCSI notifications.ucsi_init()starts withucsi_reset_ppm(), which resets the PPM by polling the CCI and does not depend on notifications.Kernel side
Mainline commit a2463e239443 ("usb: typec: ucsi: allow retries of ucsi_resume_work", first in v7.4-rc1, not in 6.18.y) retries SET_NOTIFICATION_ENABLE four more times, 500 ms apart. It does not reset the PPM. In the failing case above the PPM sent nothing for at least 53 seconds, longer than those retries take, so I don't expect that commit to help here. I have not tested it.
I tested a change that resets the PPM when SET_NOTIFICATION_ENABLE fails on resume and then sends it once more, the same way
ucsi_init()brings the PPM up:I tested it twice. First as out-of-tree
typec_ucsianducsi_acpimodules loaded in place of the stock ones (resume at 23:17:01), then built into the kernel (resume at 08:19:24). Both resumes loggedre-enabling notifications failed (-110), resetting PPMand nofailed to re-enable notificationsafter it. After each one I ran step 4:The kernel logged the connector change for the unplug, so notifications were working again without reloading the module.
The kernel change is a workaround. The PPM stops completing commands and raising notifications after some resumes until it is reset, and that needs fixing in the EC or PD firmware.
Assisted-by: Claude Code (claude-opus-5-5)