platform/x86: hp-wmi: Add Omen 16-wf1xxx fan support
PATCH 1/1 platform/x86: hp-wmi: Add Omen 16-wf1xxx fan support
The newer HP Omen laptops, such as Omen 16-wf1xxx, use the same WMI-based thermal profile interface as Victus 16-r1000 and 16-s1000 models.
Add the DMI board name "8C78" to the victus_s_thermal_profile_boards list to enable proper fan and thermal mode control.
Tested on: HP Omen 16-wf1xxx (board 8C78)
Result:
* Fan RPMs are readable
* echo 0 | sudo tee /sys/devices/platform/hp-wmi/hwmon/*/pwm1_enable allows the fans to run on max RPM.
--- drivers/platform/x86/hp/hp-wmi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/platform/x86/hp/hp-wmi.c +4 -2
@@ -92,9 +92,11 @@ static const char * const victus_thermal_profile_boards[] = {"8A25" }; -/* DMI Board names of Victus 16-r1000 and Victus 16-s1000 laptops */ +/* DMI Board names of newer Victus S series and some Omen laptops sharing the +* same WMI thermal profile. +*/ static const char *const victus_s_thermal_profile_boards[] = { -"8C99" ,"8C9C" +"8C99" ,"8C9C" ,"8C78" };enum hp_wmi_radio {
Signature · 1 line
2.51.0
Ilpo Järvinen
maintainerQuoted 8 lines · Krishna Chomal
The newer HP Omen laptops, such as Omen 16-wf1xxx, use the same WMI-based thermal profile interface as Victus 16-r1000 and 16-s1000 models.
Add the DMI board name "8C78" to the
victus_s_thermal_profile_boardslist to enable proper fan and thermal mode control.[...]
Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: hp-wmi: Add Omen 16-wf1xxx fan support
commit: 0c40199bbce35242ad78247ea357ec94489f2e89
--
i.