Re: Trip points crossed not detected when no cooling device bound

Daniel Lezcano
2024-06-26T22:24:50Z

On 26/06/2024 23:21, Daniel Lezcano wrote:

[ ... ]

>> Oh, I see where the problem can be.  If the zone is polling only, it
>> will not rearm the timer when the current zone temperature is invalid
>> after the above commit, so does the attached patch help?
>
> At this point, I went far when bisecting another problem and I ended up
> screwing my config file. So I had to generate a new one from the default
> config. Since then the issue is no longer happening which sounds very
> strange to me.
>
> I'm still investigating but if you have a suggestion coming in mind, it
> would be welcome because I'm failing to find out what is going on ... :/

I finally reproduced the issue. That happens when there is *no* cooling
device bound on *any* thermal zones.

Your patch seems to fix the problem but I'm not sure to understand the
conditions of the bug