All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
@ 2026-09-16 17:52 bugzilla-daemon
  2026-09-18  6:17 ` [Bug 222021] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-09-16 17:52 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

            Bug ID: 222021
           Summary: Not charging via USB C after Kernel update
                    "underpowered" Dell XPS + workaround
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: splint.em85@gmail.com
        Regression: No

System: Dell XPS 15 9500
Kernel: 7.2.4-3-cachyos
Distro: CachyOS (Arch-based)

Description:
When the AC adapter is connected while the system is powered off,
or already connected during boot, charging works normally. However,
plugging in the same (original Dell) AC adapter while the system is
already running and unplugged causes the OS to report the adapter as
underpowered / "not charging", even though the identical adapter
charges correctly at boot or offline.

Steps to reproduce:
1. Boot the laptop with the AC adapter unplugged
2. Once fully booted, plug in the original Dell AC adapter
3. Observe: system reports adapter as underpowered / not charging
4. Power off and charge while off → works normally
5. Reboot with adapter already connected → charges normally
6. Suspend and resume with adapter connected → charging resumes correctly

dmesg (relevant excerpt from boot):
[    8.703625] ucsi_acpi USBC000:00: unknown error 0
[    8.703631] ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)

This started suddenly following a routine system/kernel update via
pacman; no hardware or adapter changes were made. Adapter and battery
confirmed functional via the offline/boot-charging test described above.

Workaround: a suspend/resume cycle after plugging in restores correct
charging behavior.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 222021] Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
  2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
@ 2026-09-18  6:17 ` bugzilla-daemon
  2026-09-18 16:18 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-09-18  6:17 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |regressions@leemhuis.info

--- Comment #1 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
Please check if vanilla 7.3-rc3 or later is still affected. If it is, attach a
dmesg from 7.3 and a working kernel (ideally vanilla, too); and if no developer
shows up within a few days with an idea what's wrong, please use a git
bisection to identify the culprit.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 222021] Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
  2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
  2026-09-18  6:17 ` [Bug 222021] " bugzilla-daemon
@ 2026-09-18 16:18 ` bugzilla-daemon
  2026-09-18 16:20 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-09-18 16:18 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

Lovekesh Solanki (lovekeshsolanki00@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovekeshsolanki00@gmail.com

--- Comment #2 from Lovekesh Solanki (lovekeshsolanki00@gmail.com) ---
I wonder if this could be a firmware side issue, but you said this started
after a kernel update so I guess git bisection is useful.

When you do test mainline and bisect, could you also test this attached patch?
I suppose when UCSI_GET_PDOS fails  we could reset PPM and retry the read once.
Also, did you perform a firmware or bios update around same time?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 222021] Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
  2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
  2026-09-18  6:17 ` [Bug 222021] " bugzilla-daemon
  2026-09-18 16:18 ` bugzilla-daemon
@ 2026-09-18 16:20 ` bugzilla-daemon
  2026-09-19  8:00 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-09-18 16:20 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

--- Comment #3 from Lovekesh Solanki (lovekeshsolanki00@gmail.com) ---
Created attachment 310869
  --> https://bugzilla.kernel.org/attachment.cgi?id=310869&action=edit
Reset if Error

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 222021] Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
  2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
                   ` (2 preceding siblings ...)
  2026-09-18 16:20 ` bugzilla-daemon
@ 2026-09-19  8:00 ` bugzilla-daemon
  2026-10-09 15:41 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-09-19  8:00 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

--- Comment #4 from SpliNter (splint.em85@gmail.com) ---
Thanks for the reply! Ill test it as soon as I can.Regarding bios/firmware
updates: no updates where done before the bug appeared.
-------- Ursprüngliche Nachricht --------Von: bugzilla-daemon@kernel.org Datum:
18.09.26  18:20  (GMT+01:00) An: splint.em85@gmail.com Betreff: [Bug 222021]
Not cha https://bugzilla.kernel.org/show_bug.cgi?id=222021--- Comment #3 from
Lovekesh Solanki (lovekeshsolanki00@gmail.com) ---Created attachment 310869 
--> https://bugzilla.kernel.org/attachment.cgi?id=310869&action=editReset if
Error-- You may reply to this email to add a comment.You are receiving this
mail because:You reported the bug.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 222021] Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
  2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
                   ` (3 preceding siblings ...)
  2026-09-19  8:00 ` bugzilla-daemon
@ 2026-10-09 15:41 ` bugzilla-daemon
  2026-10-10  9:20 ` bugzilla-daemon
  2026-10-10 12:58 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-10-09 15:41 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

--- Comment #5 from SpliNter (splint.em85@gmail.com) ---
Update: I'm now on 7.2.9-1-cachyos (not vanilla mainline, so I
haven't tested 7.3-rc yet).
On hotplug the charger now ends upcharging, but the state is unstable for a few
seconds.
udevadmmonitor -s power_supply after plugging in the original Dell adapter
shows within ~6 s: 4 change events for ucsi-source-psy-USBC000:003,
1 for AC and 2 for BAT0 (I saw "not charging" briefly, then charging,
flipping twice).

dmesg shows "ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)" not only
at boot but on plug-in as well; the latest one (409.498) is logged
right after the AC change event at 409.34, so it coincides with the
hotplug.
Earlier today it stayed "not charging" on the same kernel
(at about 70% battery, it is allowed to charge up to 80%), so the problem is
intermittent.

I'm about to test mainline and patch today and report back.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 222021] Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
  2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
                   ` (4 preceding siblings ...)
  2026-10-09 15:41 ` bugzilla-daemon
@ 2026-10-10  9:20 ` bugzilla-daemon
  2026-10-10 12:58 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-10-10  9:20 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

--- Comment #6 from SpliNter (splint.em85@gmail.com) ---
Tested mainline 7.3.0-rc6-1 (Arch AUR linux-mainline, unpatched, default
config)
Result: no change compared to 7.2.9.

- dmesg: "ucsi_acpi USBC000:00: unknown error 0" followed by "UCSI_GET_PDOS
failed (-5)" at boot (9.2 s) and again when plugging in AC while running (396.2
s, coincides with the AC event at 396.3 s).
- The desktop battery status flaps on plug-in: plugged in -> not charging ->
charging (3 changes). BAT0 ends up as "Charging".
- udevadm monitor --subsystem-match=power_supply: 4 changes of
ucsi-source-psy-USBC000:003 within ~6 s, 1x AC, 2x BAT0 (identical to 7.2.9).

udevadm monitor --subsystem-match=power_supply (AC plugged in at ~396 s):

KERNEL[394.326132] change
.../USBC000:00/power_supply/ucsi-source-psy-USBC000:003
KERNEL[394.869343] change
.../USBC000:00/power_supply/ucsi-source-psy-USBC000:003
KERNEL[396.322197] change .../ACPI0003:00/power_supply/AC
KERNEL[396.382409] change .../PNP0C0A:00/power_supply/BAT0
KERNEL[397.542787] change
.../USBC000:00/power_supply/ucsi-source-psy-USBC000:003
KERNEL[399.928510] change .../PNP0C0A:00/power_supply/BAT0
KERNEL[400.631229] change
.../USBC000:00/power_supply/ucsi-source-psy-USBC000:003

dmesg:
[    9.247627] ucsi_acpi USBC000:00: unknown error 0
[    9.247630] ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)
[  396.214445] ucsi_acpi USBC000:00: unknown error 0
[  396.214454] ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)

Next I will test 7.3.0-rc6 with the "Reset if Error" patch (attachment 310869).

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 222021] Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround
  2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
                   ` (5 preceding siblings ...)
  2026-10-10  9:20 ` bugzilla-daemon
@ 2026-10-10 12:58 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-10-10 12:58 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222021

--- Comment #7 from SpliNter (splint.em85@gmail.com) ---
Tested 7.3.0-rc6 with the patch.
Kernel: Arch linux-mainline 7.3rc6-2 with the patch added, default config
(uname: 7.3.0-rc6-2-mainline-dirty).

Summary: charging works on plug-in with and without the patch (as it already
did on 7.2.9). The remaining symptoms (UCSI error, status flapping) are not
changed by the patch.

- AC plugged in while running (~352 s uptime): "ucsi_acpi USBC000:00: unknown
error 0" + "UCSI_GET_PDOS failed (-5)" appears twice (352.38 s and 352.87 s).
Unpatched 7.3.0-rc6 had it once at the same event (396.2 s).
- No UCSI error at boot this time (unpatched: one at 9.2 s). This is a single
boot, so I would not read much into it.
- udevadm monitor --subsystem-match=power_supply: identical to the unpatched
run: 4 changes of ucsi-source-psy-USBC000:003 within ~6 s, 1x AC, 2x BAT0.
- The desktop battery status flaps on plug-in: "plugged in but discharging" ->
"not charging" -> "charging" (3 states).
BAT0 ends up as "Charging", so the battery does charge, which fixes my issue.

Unpatched 7.3.0-rc6 and 7.2.9 behave the same.

Thank you for the effort.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-10-10 12:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 17:52 [Bug 222021] New: Not charging via USB C after Kernel update "underpowered" Dell XPS + workaround bugzilla-daemon
2026-09-18  6:17 ` [Bug 222021] " bugzilla-daemon
2026-09-18 16:18 ` bugzilla-daemon
2026-09-18 16:20 ` bugzilla-daemon
2026-09-19  8:00 ` bugzilla-daemon
2026-10-09 15:41 ` bugzilla-daemon
2026-10-10  9:20 ` bugzilla-daemon
2026-10-10 12:58 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.