From: "Kurt Borja" <kuurtb@gmail.com>
To: "Benjamin Hasselgren-Hallén" <benjamin@benis.se>
Cc: "Armin Wolf" <W_Armin@gmx.de>,
"platform-driver-x86@vger.kernel.org"
<platform-driver-x86@vger.kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Daniel Lezcano" <daniel.lezcano@linaro.org>,
"Zhang Rui" <rui.zhang@intel.com>,
"Linux PM" <linux-pm@vger.kernel.org>
Subject: Re: HP Omnibook Ultra Flip 14 - power profiles
Date: Fri, 27 Jun 2025 21:45:09 -0300 [thread overview]
Message-ID: <DAXR1M1W2XFZ.3H2AWUO3N1X5E@gmail.com> (raw)
In-Reply-To: <jCZyBwYNgVSM_Qk2XkfweZRlZNiSh06WVUBqya9leWoWXAmNFL9fdbgBX038OzfQUEaGE5PU8yhtJL2zq_PRW67FmLYTnoK_SPUPmzoTdco=@benis.se>
On Fri Jun 27, 2025 at 5:49 PM -03, Benjamin Hasselgren-Hallén wrote:
> Hi Kurt,
>
> I do not experience the same error messages as in the bug report - no error message at all. It respons to changing power profile without any errors.
> I also tried 6.12 but same behaviour as 6.15.3 (just getting some gpu glitches - problably because of Lunar Lake).
Can you paste the output of `cat /sys/firmware/acpi/platform_profile` on
Linux v6.12?
>
> I am trying to understand how power profiles work - I guess on a high level it's controlled by uefi and the profile is set by the OS? Or is it more complicated than that?
Yes, as quick overview. Power profiles are usually a capability of
individual devices. Drivers of these devices expose this profiles to
userspace through some predefined interfaces. Then your DE enviroment
exposes this to you.
KDE and Gnome use power-profiles-daemon. This program controlls mainly
two kernel interfaces: CPUFreq and platform-profile (there may be more).
You can read about CPUFreq here [1], although I don't know much about
it. The platform-profile interface may be used by any platform driver -
in your case this is the hp-wmi driver.
This driver exposes some firmware defined profiles to sysfs trough the
following paths.
/sys/firmware/acpi/
/sys/class/platform-profile/
You won't find the latter in the Linux LTS version though. You will find
documentation on these paths here [2] and [3] respectively.
PD: Please, avoid top-posting in kernel mailing lists, interleaved style
is very much preferred [4].
[1] https://docs.kernel.org/admin-guide/pm/cpufreq.html
[2] https://docs.kernel.org/admin-guide/abi-testing-files.html#abi-file-testing-sysfs-platform-profile
[3] https://docs.kernel.org/admin-guide/abi-testing-files.html#abi-file-testing-sysfs-class-platform-profile
[4] https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
--
~ Kurt
next prev parent reply other threads:[~2025-06-28 0:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <GXa7F-PA_8BE7nlK9r8dkdSv7c-DW52GvOUiyYHQ6RyoZDxIpNAocWDPYQDeS7WEZeUisqQH_bqmgSV-eaRmuw5r68MGKxyU9X_4Erd0RYQ=@benis.se>
[not found] ` <1037e223-a6ad-4d12-9619-f69a29cecba1@gmx.de>
[not found] ` <5I8UDmgF_DcJBmBE0zgCXjuvmmhLamDCHkpnkAwRjSAkCa5xcFUvU-SmAeymxTajjDPR8avuW55RxOjhd8idK6jLy-hz8i-Ma3RHSaFy2Gs=@benis.se>
[not found] ` <9642ad7e-3e57-45f9-bfd9-beac3e55418e@gmx.de>
[not found] ` <GXC8NQl6AY_N7nQAOCRLt7SDGjFNll_TnqQyzYnP_b1weGkRqITOR-kHKcM66lPonOCo9xO2nSWXr7yycwfFuKmjRMtXVlJKya8-qvvkGik=@benis.se>
[not found] ` <de8321ce-e595-460a-81d7-f7dae8a7b790@gmx.de>
[not found] ` <X-40AqXfdmQw5shUOk3VSaHSXmwJYWHPmDDMLyGUH6GpMt56ty5SbNg8EVfyI_uC9J07uqZ2TtGJmmpB_x8-xpcVOw29fnKzJZ4n9L0x78A=@benis.se>
2025-06-27 17:10 ` HP Omnibook Ultra Flip 14 - power profiles Armin Wolf
2025-06-27 19:15 ` Kurt Borja
2025-06-27 20:49 ` Benjamin Hasselgren-Hallén
2025-06-27 21:56 ` Benjamin Hasselgren-Hallén
2025-06-28 0:40 ` Armin Wolf
2025-06-30 12:31 ` Benjamin Hasselgren-Hallén
2025-06-28 0:45 ` Kurt Borja [this message]
2025-06-30 12:32 ` Benjamin Hasselgren-Hallén
2025-06-30 12:39 ` Armin Wolf
2025-06-30 12:46 ` Benjamin Hasselgren-Hallén
2025-06-30 14:49 ` Armin Wolf
2025-06-30 22:29 ` Benjamin Hasselgren-Hallén
2025-06-27 20:45 ` Benjamin Hasselgren-Hallén
2025-06-30 1:18 ` Zhang, Rui
2025-06-30 12:48 ` Benjamin Hasselgren-Hallén
2025-06-30 13:23 ` Benjamin Hasselgren-Hallén
2025-07-01 7:01 ` Zhang, Rui
2025-07-01 7:44 ` Benjamin Hasselgren-Hallén
[not found] ` <1e02c8f28200d8e3f27589e0ba75a67f2e99d1a4.camel@intel.com>
[not found] ` <Hsi54U41U6V6LB65SJ9b8D_q4OsW-xsvWJSQmvmxo7EfsebwJKc6NnNHLO20CerbcNGL-Q8huoeWtzNuGsCVNrQvJW8ndwTdnIKZJIDbTjg=@benis.se>
2025-07-15 21:21 ` Benjamin Hasselgren-Hallén
[not found] ` <4d0e07edfa83653fa8330e08fb4520f07bb38448.camel@intel.com>
2025-07-19 20:19 ` Benjamin Hasselgren-Hallén
2025-07-19 20:38 ` Benjamin Hasselgren-Hallén
2025-07-23 21:18 ` Benjamin Hasselgren-Hallén
2025-07-01 6:54 ` Zhang, Rui
2025-07-01 7:04 ` Benjamin Hasselgren-Hallén
2025-07-02 1:13 ` Zhang, Rui
2025-07-07 19:53 ` Benjamin Hasselgren-Hallén
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DAXR1M1W2XFZ.3H2AWUO3N1X5E@gmail.com \
--to=kuurtb@gmail.com \
--cc=W_Armin@gmx.de \
--cc=benjamin@benis.se \
--cc=daniel.lezcano@linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox