Closed adrfantini closed 5 years ago
The value of pwmX_enable
is checked, and set to 1 if needed, everytime a value is written to the PWM file.
What error are you having after resuming?
I got no errors in the logs and stuff seems to function normally. I guess that when I was looking, hddfancontrol
did not need to turn the fan on, so I did not notice it resetting the value. I assumed, wrongly, that it did so only after startup. Sorry for wasting your time, closing.
When
hddfancontrol
starts, I get this warning:After a suspend-resume, the kernel apparently resets the value to 2, and
hddfancontrol
is not able to control fan speed anymore. In fact, if I manually try:Maybe
hddfancontrol
should periodically check thepwm_enable
file, instead of just at startup?