systemd - fancontrol and sensors changed
Hi folks,
after changing to systemd, I recognized, that fancontrol on my EEEPC did not
work properly any more. First I noticed nothing, but after some time I
noticed, the fan did not run at heavy load.
The reason for it, was the changed sensors. According to the debian wiki my
working configuration looked at this:
Configuration file generated by pwmconfig, changes will be lost
INTERVAL=5
DEVPATH=hwmon0= hwmon1=devices/platform/eeepc
DEVNAME=hwmon0=acpitz hwmon1=eeepc
FCTEMPS= hwmon1/pwm1=hwmon0/temp1_input
FCFANS= hwmon1/pwm1=
MINTEMP= hwmon1/pwm1=55
MAXTEMP= hwmon1/pwm1=65
MINSTART= hwmon1/pwm1=50
MINSTOP= hwmon1/pwm1=50
This worked very well!
After changing to systemd, this did no more work. I ran pwmconfig again
(several times, just to make clear, I made no mistake) and now it looks like
this:
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0= hwmon2=devices/platform/eeepc
DEVNAME=hwmon0=acpitz hwmon2=eeepc
FCTEMPS= hwmon2/pwm1=hwmon0/temp1_input
FCFANS= hwmon2/pwm1=
MINTEMP= hwmon2/pwm1=55
MAXTEMP= hwmon2/pwm1=65
MINSTART= hwmon2/pwm1=150
MINSTOP= hwmon2/pwm1=100
MINPWM=hwmon2/pwm1=0
MAXPWM=hwmon2/pwm1=255
See the difference? This configuration is working very well.
Don't check the coretemp, this will never start the fan. You must check the
virtual device. To do so, enter the following into console, like here:
$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +55.0°C (crit = +88.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +35.0°C (crit = +90.0°C)
eeepc-isa-0000
Adapter: ISA adapter
fan1: 3990 RPM
It is not coretemp-isa-0000 the important one (as it would be logical), the
Virtual device named temp1 is the correct one.
Maybe this should be fixed in the wiki, before someones cpu get overheated.
Just my 2 cents.
Best
Hans
Reply to: