aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2024-12-10 00:16:56 +0000
committerIlpo Järvinen <[email protected]>2024-12-10 14:40:32 +0000
commit3b6f9c6505a34450a4dd5d9bbbe5cfec4718adb2 (patch)
treedc71e4195dc465f86ca499a73e96f522c52500ed /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86: acer-wmi: Improve error handling when reading gaming system inf... (diff)
downloadkernel-3b6f9c6505a34450a4dd5d9bbbe5cfec4718adb2.tar.gz
kernel-3b6f9c6505a34450a4dd5d9bbbe5cfec4718adb2.zip
platform/x86: acer-wmi: Implement proper hwmon support
After looking at the ACPI AML code, it seems that the command 0x0000 used with ACER_WMID_GET_GAMING_SYS_INFO_METHODID returns a bitmap of all supported sensor indices available through the 0x0001 command. Those sensor indices seem to include both temperature and fan speed sensors, with only the fan speed sensors being currently supported. Use the output of this new command to implement reliable sensor detection. This fixes detection of fans which do not spin during probe, as fans are currently being ignored if their speed is 0. Also add support for the new temperature sensor ids. Tested-by: Rayan Margham <[email protected]> Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions