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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1494546 Title: Thinkfan will occasionally send garbage to fan control (setfan_ibm: Error writing to /proc/acpi/ibm/fan) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thinkfan/+bug/1494546/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
