I am using ASUS Vivobook pro 15 i5 laptop.
using this repo i was able to to get the cpu fan full or auto, and i also noticed that we could only write 0 or 2 to pwm1_enable(cpu fan under /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/)
if in cases we would like to control the fan speed based on the current temperature of the cpu(just like windows does), can you provide some insites on how we could proceed.
Regarding GPU fan:-
It looks like pwm2 is related to GPU fan, but writing anything to it, it says invalid (bash: echo: write error: Input/output error
). So my doubt is what could be the origin of this problem. like kernal level or os level. it looks like the device is recognized.