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

            Bug ID: 220008
           Summary: Regression: Unable to set power profiles with hp-wmi
                    after upgrading kernel to 6.14.2
           Product: ACPI
           Version: 2.5
    Kernel Version: 6.14.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: acpi_ot...@kernel-bugs.osdl.org
          Reporter: gulumovt...@gmail.com
        Regression: Yes

After upgrading to kernel version 6.14.2 (from 6.13.8-zen1-1), I am unable to
use the `powerprofilesctl` command to switch between power profiles on my HP 
Envy x360 laptop.

- `cat /sys/firmware/acpi/platform_profile_choices` correctly shows the
available profiles (`quiet`, `balanced`, `performance`).
- However, attempting to set a profile using `powerprofilesctl set power-saver`
results in the following error:

```
Failed to communicate with power-profiles-daemon: g-io-error-quark:
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code15:
Failed to activate platform driver 'platform_profile': Failed to write to
acpi_platform_profile: Error writing '/sys/firmware/acpi/platform_profile':
Operation not supported (15)
```

- Additionally, `sudo dmesg | grep -i platform_profile` return the following
errors:

```
[    6.300457] platform_profile: Failed to get profile for handler hp-wmi
[    6.711893] platform_profile: Failed to get profile for handler hp-wmi
[   47.403499] platform_profile: Failed to get profile for handler hp-wmi
[   47.618315] platform_profile: Failed to get profile for handler hp-wmi
[  190.105790] platform_profile: Failed to get profile for handler hp-wmi
[  205.254258] platform_profile: Failed to get profile for handler hp-wmi
[  592.201706] platform_profile: Failed to get profile for handler hp-wmi
[  599.126851] platform_profile: Failed to get profile for handler hp-wmi

```
hp-wmi should be pertinent


- If relevant, running `cat /sys/firmware/acpi/platform_profile` returns:

```
cat: /sys/firmware/acpi/platform_profile: Invalid argument
```
- Trying to change it manually with the command `echo "performance" | sudo tee
/sys/firmware/acpi/platform_profile` just return the mode back with no
noticeable changes:
```
performance
```



- This functionality worked fine with kernel version 6.13.8.arch1-1.

**Steps to Reproduce:**
1. Upgrade to kernel 6.14.2
2. Try to set a power profile using `powerprofilesctl` or manually writing to
`/sys/firmware/acpi/platform_profile`.
3. Error

**Expected Behavior:**
The power profiles should be applied without errors when using
`powerprofilesctl` or writing directly to
`/sys/firmware/acpi/platform_profile`.

**Actual Behavior:**
The `platform_profile` cannot be set, and the `hp-wmi` handler fails to work as
expected.


- After downgrading to 6.13.8.arch1-1, the functionality of `powerprofilesctl
set power-saver` works as expected and ``sudo dmesg | grep -i platform_profile`
doesn't return anything, meaning no errors.

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

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

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to