]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: hp-wmi: Add Omen 16-wf1xxx fan support
authorKrishna Chomal <krishna.chomal108@gmail.com>
Sat, 18 Oct 2025 11:10:01 +0000 (16:40 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 6 Nov 2025 12:19:06 +0000 (14:19 +0200)
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.

Signed-off-by: Krishna Chomal <krishna.chomal108@gmail.com>
Link: https://patch.msgid.link/20251018111001.56625-1-krishna.chomal108@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/hp/hp-wmi.c

index 9a668e2587952c7b818cb90a65d697eaa60a88a4..e10c75d91f248662b775ab1e813ea2ab282bf28a 100644 (file)
@@ -95,7 +95,7 @@ static const char * const victus_thermal_profile_boards[] = {
 /* DMI Board names of Victus 16-r and Victus 16-s laptops */
 static const char * const victus_s_thermal_profile_boards[] = {
        "8BBE", "8BD4", "8BD5",
-       "8C99", "8C9C"
+       "8C78", "8C99", "8C9C",
 };
 
 enum hp_wmi_radio {