acer-wmi WMID_gaming_set_fan_mode() behaviour

From: Armin Wolf
Date: Mon Dec 23 2024 - 16:19:18 EST


Hi,

i am currently working on adding fan control to support for the acer-wmi driver. So far
i can already control the fans using a hwmon interface, but support for switching between
manual and automatic mode is missing.

Switching from automatic to manual mode seems to be straight-forward: using WMI method 16
to set the fan speed seems to automatically switch to manual control mode.

However switching back to automatic mode uses a different mechanism. Since you are the author
of the WMID_gaming_set_fan_mode() function i wanted to ask you how the function exactly works.

In the end i hope to use this function to switch fans back to automatic mode. By the way i also
found a way to automatically detect the number of CPU and GPU fans for each machine, so maybe
we can get rid of the quirk entries for that.

Thanks,
Armin Wolf