I use fan on my VIM2.
VIM2 drives the fan in automatic mode (the fan turns on at 50 degrees).
If the fan is on and VIM2 goes into a sleep mode, the fan never stops!!!
The fan stops when resuming from sleep only.
How to fix it?
Did you means depth sleep or early suspend?
It need to modify the Fan driver drivers/misc/khadas-fan.c
I mean on depth sleep - fan never stops.
I’m sorry to reply for you so late. You can refer to this commit
Thank you, Terry!