Comment 3 for bug 1494546

Revision history for this message
Victor Mataré (matare) wrote :

The patch looks good to me, I committed it to the master branch on github: https://github.com/vmatare/thinkfan .
The plausible explanation for this is that thinkfan may remain idle for 120 seconds or more if temperatures stay below the threshold for level 1. Then after 120 seconds the watchdog timeout kicks in, but cur_lvl has never been initialized because we never did anything. So this means that this bug should be triggered consistently 120 seconds after thinkfan has been started, in case it has been sitting idle the whole time.