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.
Search Criteria
Package Details: thinkfan 2.0.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/thinkfan.git (read-only, click to copy) |
---|---|
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-3.0-or-later |
Submitter: | FALKER |
Maintainer: | harmathy |
Last Packager: | harmathy |
Votes: | 190 |
Popularity: | 0.36 |
First Submitted: | 2009-03-02 09:01 (UTC) |
Last Updated: | 2025-06-02 11:14 (UTC) |
Dependencies (6)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- libatasmart (libatasmart-gitAUR)
- lm_sensors (lm_sensors-gitAUR, lm_sensors-it87-gitAUR)
- yaml-cpp
- cmake (cmake3AUR, cmake-gitAUR) (make)
Required by (1)
Sources (3)
smldis commented on 2014-08-29 20:32 (UTC)
NotSure commented on 2014-08-29 18:16 (UTC)
@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 (UTC)
@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 (UTC)
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 (UTC)
@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 (UTC)
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
smldis commented on 2014-07-29 14:21 (UTC)
maybe is better also to use
Type=forking
ExecStart=/usr/sbin/thinkfan
PIDFile=/var/run/thinkfan.pid
ExecReload=/bin/kill -HUP $MAINPID
for section [service] like suggested in the thinkfan sources
smldis commented on 2014-07-29 13:51 (UTC)
Hi, I'm having some issues with systemd trying running thinkfan before thermal devices are exposed.
My setup is a thinkpad T500.
I came up with this solution, asking for review:
1 - added a rule that expose the device to systemd
/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 -s5 -q
[Install]
#WantedBy=multi-user.target
WantedBy=sys-devices-platform-thinkpad_hwmon.device
Is this solution better than just a udev rule like TEST{444}=="/proc/acpi/ibm/thermal", ENV{SYSTEMD_WANTS}="thinkfan.service"
s1gk1ll commented on 2014-01-17 13:51 (UTC)
Hi notizblock,
Thanks for your reply.
Ok, the segfault ocurred because in my previous config I didn't declare the tp_fan and tp_thermal variables. With these variables in the config my previous configuration values are working again :)
Thanks for your help.
notizblock commented on 2014-01-17 13:34 (UTC)
Hi s1gk1ll,
I use the following »simple« config, maybe it works for you too:
tp_fan /proc/acpi/ibm/fan
tp_thermal /proc/acpi/ibm/thermal
(0, 0, 55)
(1, 48, 60)
(2, 50, 61)
(3, 52, 63)
(4, 56, 65)
(5, 59, 66)
(6, 61, 66)
(7, 63, 32767)
Pinned Comments