Package Details: thinkfan 1.0.2-1

Git Clone URL: https://aur.archlinux.org/thinkfan.git (read-only)
Package Base: thinkfan
Description: A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi
Upstream URL: https://github.com/vmatare/thinkfan
Licenses: GPL
Submitter: FALKER
Maintainer: dude
Last Packager: dude
Votes: 156
Popularity: 1.977714
First Submitted: 2009-03-02 09:01
Last Updated: 2019-02-27 17:20

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

zaferot commented on 2014-10-04 18:54

Hi All,

I've started experiencing a problem with thinkfan.service during system startup. The thinkfan.service fails to start because 'hwmon' subsystem is not ready yet ( e.g. '/sys/class/hwmon/hwmon0/temp1_input' for the temperature information). The 'hwmon' subsystem becomes ready when the responsible kernel module is loaded ("coretemp" in my case). This module is loaded by lm_sensors.service (https://wiki.archlinux.org/index.php/Lm_Sensors).
So, currently the thinkfan.service is started before the lm_sensors.service and that is why it fails to start.
Looks like something has changed in the lm_sensors.service recently.

I have fixed this behavior by redefining the unit's startup dependency:
---------
/etc/systemd/system/thinkfan.service.d/customdependency.conf
[Unit]
After=
After=lm_sensors.service
Requires=lm_sensors.service
---------
(https://wiki.archlinux.org/index.php/Systemd#Editing_provided_unit_files)

@notizblock could you please correct the main PKGBUILD?

smldis commented on 2014-09-11 21:14

EDIT I misunderstood. What do u mean? My setup has that file installed correctly.

smldis commented on 2014-09-11 21:07

Shouldn't you just copy instead of moving?

wwn commented on 2014-09-11 19:23

Hello all

I found this warning: Warning: thinkfan: /usr/lib/modprobe.d/thinkpad_acpi.conf (Datei oder Verzeichnis nicht gefunden) (file or directory not found)
width a sudo pacman -Qk | grep warning

This should not happen after moving thinkfan.conf to /etc

smldis commented on 2014-08-29 20:32

I noticed the readme file in /usr/share/doc/thinkfan/ is different from https://sourceforge.net/p/thinkfan/code/ci/master/tree/README.
Last one is a little guide to thinkfan, check out!

And follow also /usr/share/doc/thinkfan/examples/thinkfan.conf.complex that is self explenatory.

NotSure commented on 2014-08-29 18:16

@smldis

I do. Deleted the udev rule and the think.service file
--> but how should a new rule look for my config?

Conf. fot thinkfan:
/etc/thinkfan.conf

hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input

#(FAN_LEVEL, LOW, HIGH)
(0, 0, 62)
(1, 50, 68)
(3, 60, 74)
(7, 72, 80)
(127, 78, 32767)

Thanks for your help.

smldis commented on 2014-08-28 11:34

@NotSure
You are trying to use some patch code present in the comments without hitting te same issue. Don't do that!
It seems you don't know what you are doing and this is bad if u are playing with your fan.

Please, read all the documentation of this software in /usr/share/doc/thinkfan/ and follow it precisely

NotSure commented on 2014-08-27 07:42

I have change this:

1. added a rule like smldis do
/etc/udev/rules.d/10-myuser.rules

SUBSYSTEM=="platform", KERNEL=="thinkpad_hwmon", TAG+="systemd"

2. added the file
/etc/systemd/system/thinkfan.service

[Unit]
Description=Thinkfan Daemon - simple and lightweight fan control program
#After=basic.target

[Service]
ExecStart=/usr/bin/thinkfan -n -b 1 -s 3

[Install]
#WantedBy=multi-user.target
WantedBy=sys-devices-platform-thinkpad_hwmon.device

3. and this are my conf for thinkfan
/etc/thinkfan.conf

hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input

#(FAN_LEVEL, LOW, HIGH)
(0, 0, 62)
(1, 50, 68)
(3, 60, 74)
(7, 72, 80)
(127, 78, 32767)

Where is my fault? Thanks for your help.



smldis commented on 2014-08-27 00:46

@NotSure
For now you run it trought systemd?
In that case u should create a file in /etc/systemd/system/thinkfan.service
that overrides the default one

NotSure commented on 2014-08-26 21:20

Hello, I need help =(

i try to setup thinkfan with my Thinkpad T530 and all is good but:

- how can i change rule for exampe thinkfan -s 3 -b

my aim is to start thinkfan not with default settings