Skip to contentSkip to conversation

New: HP Pavilion x2 - Charging over USB-C not working

Bug 217511 [email protected] 1 participant 6 messages May 30, 2023 – Aug 21, 2024 USB

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 217511
           Summary: HP Pavilion x2 - Charging over USB-C not working
           Product: Drivers
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I'm experiencing an issue where the laptop will not charge over USB-C while booted into Linux. If I shutdown then it will charge and I don't experience this behavior in Windows.

Looking at dmesg I see when plugging in the charger:

    hp_wmi: unkown event_id 131073 - 0x0

There are no events when unplugging the charger. The status LED never turns orange which indicates charging while booted into Linux either.

Kernel: 6.3.3
Hardware: HP Pavilion x2 Detachable

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 217511] HP Pavilion x2 - Charging over USB-C not working

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

--- Comment #1 from Aaron ([email protected]) ---
It appears that HP's drivers are required for charging on Windows. I have a fresh Windows 11 22H2 install with no additional drivers or updates installed and charging is not working in it either.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 217511] HP Pavilion x2 12-b020nr - Charging over USB-C not working

In reply to [email protected]

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

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Mario Limonciello (AMD) ([email protected]) --- Did you enable the UCSI-ACPI driver in your kernel config?

Perhaps you can attach your kernel config and dmesg.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 217511] HP Pavilion x2 12-b020nr - Charging over USB-C not working

In reply to [email protected]

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

Johannes Larsen ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Johannes Larsen ([email protected]) ---
I had a similar experience with my laptop. Suddenly the system would not accept charge when I connected it to a particular USB-C charger with error messages every other second like these:

    hp_wmi: Unknown event_id - 131073 - 0x0
    hp_wmi: Unknown event_id - 131073 - 0x1

My guess is that this is a notification from the firmware that it does not like the power supply. Reconnecting the USB-C charger did not help, but the laptop would happily accept charge from another USB-C charger. After I power-cycled the problematic USB-C charger (and/or after I tested it with a PD trigger and a dummy load) the laptop accepts charge from it again. Still getting one of those messages every time I plug in that charger though, but nothing like that from any other charger.

Hardware: HP EliteBook 840 14 inch G9 Notebook PC (6T1L3EA#UUW)
Kernel: 6.7.1-arch1-1

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 217511] HP Pavilion x2 12-b020nr - Charging over USB-C not working

In reply to [email protected]

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

gabriel barros ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from gabriel barros ([email protected]) --- I had this happen to me today, also with an Elitebook, but different model.

Computer bat>95%, plugged to a charger that provides AT LEAST 40W. It charges normally. I never see the Unknown event_id messages.

Computer bat>95%, plugged to a charger that provides UP TO 40W. Computer do charge, but at random times:
- acpi will alternate between "Battery 0: Not charging, 95%" and "Battery 0:
Discharging, 95%", never "charging"
- KDE or any other battery watcher besides acpi command, would just show "charging" at all times, no variation.
- virtualbox guest (win10enterprise ltsc) would sound the "charger unplugged" immediately followed by "charger plugged" notification sound.
- kernel would log "kernel: hp_wmi: Unknown event_id - 131073 - 0x0" (never see the 0x1 event, not once)
- the kernel messages and the windows virtualbox guest sounds were in perfect sync.

In both cases my battery is indeed charging (the percentage always go up no matter what of those things are happening). Can't say for speed/healthy to the battery.

My guess is that is a low power charging mode event that the linux driver doesn't know. And I don't know how much raw information the virtualbox drivers do forward, but that old version (2021?) of windows' drivers was clearly seeing it as a power cable disconnect.

Linux 6.10.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000 x86_64 GNU/Linux

relevant parts of lshw:

capabilities: smbios-3.4.0 dmi-3.4.0 smp vsyscall32

     *-firmware
          description: BIOS
          vendor: HP
          physical id: 10
          version: U82 Ver. 01.07.00
          date: 10/05/2023
          size: 64KiB
          capacity: 32MiB
          capabilities: pci pcmcia upgrade shadowing cdboot bootselect edd

int5printscreen int9keyboard int14serial int17printer acpi biosbootspecification netboot uefi

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 217511] HP Pavilion x2 12-b020nr - Charging over USB-C not working

In reply to [email protected]

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

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|USB                         |Platform_x86
           Assignee|[email protected] |drivers_platform_x86@kernel
                   |nel.org                     |-bugs.osdl.org
Signature · 4 lines
You may reply to this email to add a comment.

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