vitorafsr / i8kutils

Fan control for some Dell laptops
https://launchpad.net/i8kutils
GNU General Public License v3.0
216 stars 29 forks source link

State change stops working #12

Open smesterheide opened 6 years ago

smesterheide commented 6 years ago

Hello, it appears the state change stops working sporadically in my case. I am using version 1.43.

Here is my log output:

Jun 07 23:17:03 vostro systemd[1]: Started Dell laptop thermal monitoring.
Jun 07 23:17:03 vostro i8kmon[2779]: i8kmon
Jun 07 23:17:03 vostro i8kmon[2779]: config(0)          = {-1 1} -1 55 -1 55
Jun 07 23:17:03 vostro i8kmon[2779]: config(1)          = {-1 1} 45 70 45 70
Jun 07 23:17:03 vostro i8kmon[2779]: config(2)          = {-1 1} 60 85 60 85
Jun 07 23:17:03 vostro i8kmon[2779]: config(3)          = {-1 2} 75 128 75 128
Jun 07 23:17:03 vostro i8kmon[2779]: config(acpi)       = acpi
Jun 07 23:17:03 vostro i8kmon[2779]: config(i8kfan)     = /usr/bin/i8kfan
Jun 07 23:17:03 vostro i8kmon[2779]: config(sysconfig)  = /etc/i8kmon.conf
Jun 07 23:17:03 vostro i8kmon[2779]: config(t_high)     = 80
Jun 07 23:17:03 vostro i8kmon[2779]: config(timeout)    = 2
[...]
Jun 08 00:11:41 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 75 -1 1 0
Jun 08 00:11:43 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 91 -1 1 0
Jun 08 00:11:43 vostro i8kmon[2779]: # (91>=85), state=3, low=75, high=128
Jun 08 00:11:43 vostro i8kmon[2779]: /usr/bin/i8kfan - 2
Jun 08 00:11:45 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 78 -1 2 0
Jun 08 00:11:47 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 75 -1 2 0
Jun 08 00:11:47 vostro i8kmon[2779]: # (75<=75), state=2, low=60, high=85
Jun 08 00:11:47 vostro i8kmon[2779]: /usr/bin/i8kfan - 1
Jun 08 00:11:49 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 86 -1 2 0
Jun 08 00:11:49 vostro i8kmon[2779]: # (86>=85), state=3, low=75, high=128
Jun 08 00:11:49 vostro i8kmon[2779]: /usr/bin/i8kfan - -
Jun 08 00:11:51 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 79 -1 1 0
Jun 08 00:11:53 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 78 -1 1 0
Jun 08 00:11:55 vostro i8kmon[2779]: temp, left fan state, right fan state, ac state: 90 -1 1 0

Note the last entry for Jun 08 00:11:49. From there on it is stuck in state 2. Under heavy load my system just shuts down. It also happens in the opposite direction, ie. when the temp goes down the fan stays in state 3.

I am using SMM with a patched dell-smm-hwmon kernel module on a Vostro 3300 (right fan only).

Thank you for maintaining i8kutils. It has served me and my ears well for years!

smesterheide commented 6 years ago

The config from the previous post was an attempt to fix the issue. Up until then I was using the following:

set config(0)   {{-1 0} -1  50  -1  50}
set config(1)   {{-1 1} 40  85  40  85}
set config(2)   {{-1 2} 75  128 75  128}
set config(3)   {{-1 2} 75  128 75  128}