All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 217020] hp-wmi: Unable to change platform profile: Operation not supported
Date: Fri, 14 Apr 2023 03:42:54 +0000	[thread overview]
Message-ID: <bug-217020-215701-e8GINElcqY@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-217020-215701@https.bugzilla.kernel.org/>

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

--- Comment #1 from Luis Bocanegra (luisbocanegra17b@gmail.com) ---
So tried to debug this issue the best I could and these are my findings
omen_get_thermal_policy_version() (HPWMI_GET_SYSTEM_DESIGN_DATA) reads as 0x03,
same as windows using ec-probe tool

Bypassing the return in omen_get_thermal_policy_version()
seems to allow platform_profile_omen_set() to change the power profile, at
least with 
cool because I hear the fans spin up and then down when setting balanced, just
like the gaming hub on windows

But omen_thermal_profile_get() (HP_OMEN_EC_THERMAL_PROFILE_OFFSET) always 
returns 0 making the sysfs entry always stay on balanced and breaking the
funcionality of power-profiles-daemon

Here the logs of changing to cool then performance profiles

[Thu Apr 13 21:29:40 2023] hp_wmi: omen_thermal_profile_get > data = 0x0
[Thu Apr 13 21:29:42 2023] hp_wmi: platform_profile_omen_set > profile = 0x1
[Thu Apr 13 21:29:42 2023] hp_wmi: omen_get_thermal_policy_version > ret = 0x3
[Thu Apr 13 21:29:42 2023] hp_wmi: omen_get_thermal_policy_version > buffer[3]
= 0x0 //bypassed
[Thu Apr 13 21:29:42 2023] hp_wmi: omen_thermal_profile_set 2 > ret = 0x0
[Thu Apr 13 21:29:43 2023] hp_wmi: omen_thermal_profile_get > data = 0x0
[Thu Apr 13 21:29:49 2023] hp_wmi: platform_profile_omen_set > profile = 0x5
[Thu Apr 13 21:29:49 2023] hp_wmi: omen_get_thermal_policy_version > ret = 0x3
[Thu Apr 13 21:29:49 2023] hp_wmi: omen_get_thermal_policy_version > buffer[3]
= 0x0
[Thu Apr 13 21:29:49 2023] hp_wmi: omen_thermal_profile_set 1 > ret = 0x0
[Thu Apr 13 21:29:52 2023] hp_wmi: omen_thermal_profile_get > data = 0x0

Is this a very edge case bug or the controller somehow broken? Happy to provide
more information/test patches as needed.

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

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

  parent reply	other threads:[~2023-04-14  3:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-11  3:51 [Bug 217020] New: hp-wmi: Unable to change platform profile: Operation not supported bugzilla-daemon
2023-02-11  3:57 ` [Bug 217020] " bugzilla-daemon
2023-04-14  3:42 ` bugzilla-daemon [this message]
2023-04-14 10:09 ` bugzilla-daemon

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=bug-217020-215701-e8GINElcqY@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /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 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.