[Bug 217020] hp-wmi: Unable to change platform profile: Operation not supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #1 from Luis Bocanegra (luisbocanegra17b@xxxxxxxxx) ---
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.



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux