[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251225142310.204831-1-krishna.chomal108@gmail.com>
Date: Thu, 25 Dec 2025 19:53:08 +0530
From: Krishna Chomal <krishna.chomal108@...il.com>
To: ilpo.jarvinen@...ux.intel.com,
hansg@...nel.org,
linux@...ck-us.net
Cc: platform-driver-x86@...r.kernel.org,
linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org,
Krishna Chomal <krishna.chomal108@...il.com>
Subject: [PATCH 0/2] platform/x86: hp-wmi: Add manual fan support for Victus S laptops
This series adds support for manual fan speed control and PWM reporting
for HP Victus S-style laptops.
The first patch refactors the hwmon implementation to use a per-device
private context for state tracking. It implements RPM-to-PWM conversion
using linear interpolation based on the laptop's internal fan tables
retrieved via WMI. It also introduces PWM_MODE_MANUAL, allowing users
to set specific fan speeds.
The second patch addresses a firmware-specific behavior where the
system reverts to "Auto" fan mode after a 120-second timeout if no WMI
fan commands are received. A delayed workqueue is implemented to act
as a keep-alive heartbeat, refreshing the fan state every 90 seconds
to ensure user-selected profiles remain active indefinitely.
Tested on: HP Omen 16-wf1xxx (board ID 8C78)
Krishna Chomal (2):
platform/x86: hp-wmi: add manual fan control for Victus S models
platform/x86: hp-wmi: implement fan keep-alive
drivers/platform/x86/hp/hp-wmi.c | 287 ++++++++++++++++++++++++++-----
1 file changed, 243 insertions(+), 44 deletions(-)
--
2.52.0
Powered by blists - more mailing lists