Hi,
Not loading at start here, Also lm-sensors fails to load with this .service
My working setup on a thinkpad t500 is:
udev rule: 98-thinkfan.rules
SUBSYSTEM=="platform", KERNEL=="thinkpad_hwmon", TAG+="systemd"
thinkfan.service:
[Unit]
Description=Thinkfan Daemon - simple and lightweight fan control program
[Service]
Type=forking
ExecStart=/usr/bin/thinkfan
PIDFile=/var/run/thinkfan.pid
ExecReload=/usr/bin/kill -HUP $MAINPID
[Install]
#WantedBy=multi-user.target
WantedBy=sys-devices-platform-thinkpad_hwmon.device
Search Criteria
Package Details: thinkfan 1.3.1-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.91 |
First Submitted: | 2009-03-02 09:01 (UTC) |
Last Updated: | 2025-04-15 16:22 (UTC) |
Dependencies (4)
- libatasmart (libatasmart-gitAUR)
- yaml-cpp
- cmake (cmake-gitAUR, cmake3AUR) (make)
- lm_sensors (lm_sensors-gitAUR) (optional) – hwmon support
Required by (1)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 15 Next › Last »
smldis commented on 2014-10-07 08:11 (UTC)
zaferot commented on 2014-10-06 23:47 (UTC)
Hi @notizblock,
It works fine now. Thanks!
notizblock commented on 2014-10-06 17:49 (UTC)
Sorry for being so unresponsive lately, I uploaded a new version with the following changes:
- Fix installation of README/NEWS (thx @smldis)
- Update thinkfan.service to be closer to upstream (thx @smldis)
- Include optional dependency to lm_sensors (thx @zaferot)
I think an optional dependency is the best solution here, since user may decide to load the required modules manually. @zaferot, @smldis please test, if this version fixes your problems. I was not able to reproduce them.
smldis commented on 2014-10-05 21:09 (UTC)
Yeah, I wrote a comment on the same issue down below but it seams that notizblock is not following this package anymore.
zaferot commented on 2014-10-04 18:54 (UTC)
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-08-29 20:32 (UTC)
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 (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.
Pinned Comments