Package Details: thinkfan 1.3.1-1

Git Clone URL: (read-only, click to copy)
Package Base: thinkfan
Description: A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi
Upstream URL:
Licenses: GPL
Submitter: FALKER
Maintainer: dude
Last Packager: dude
Votes: 184
Popularity: 0.82
First Submitted: 2009-03-02 09:01 (UTC)
Last Updated: 2022-02-05 19:50 (UTC)

Pinned Comments

Latest Comments

HariSeldon commented on 2021-10-27 03:46 (UTC)

@dude ah, that makes sense. Thanks!

dude commented on 2021-10-27 01:04 (UTC)

@HariSeldon You need to rebuild thinkfan after updating its dependencies.

HariSeldon commented on 2021-10-27 00:49 (UTC)

I'm having the same issue as Github user zijian-x:

bobarch64 commented on 2021-06-21 10:57 (UTC)

@dude, thanks for maintaining this!

dude commented on 2021-01-11 06:54 (UTC)

Thanks for the patch, it is much appreciated. I will apply it and update the package in the morning.

edacval commented on 2021-01-11 06:47 (UTC) (edited on 2021-01-11 06:48 (UTC) by edacval)

Some improvements:

Dont fail if BUILDDIR in makepkg.conf is not empty.
Installing "$pkgname".service once is enough :)

diff --git a/.SRCINFO b/.SRCINFO
index 4417b42..6c419bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = thinkfan
    pkgdesc = A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi
    pkgver = 1.2.1
-   pkgrel = 2
+   pkgrel = 3
    url =
    install = thinkfan.install
    arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 3c99a7e..17905ea 100644
@@ -4,7 +4,7 @@

 pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
 arch=('i686' 'x86_64')
@@ -37,10 +37,9 @@ package() {
   install -D -m644 examples/* "$pkgdir"/usr/share/doc/"$pkgname"/examples
   install -D -m644 src/"$pkgname".1 "$pkgdir"/usr/share/man/man1
   install -D -m644 src/"$pkgname".conf.5 "$pkgdir"/usr/share/man/man5
-  install -D -m644 ../"$pkgname".service rcscripts/systemd/thinkfan-wakeup.service "$pkgdir"/usr/lib/systemd/system
-  install -D -m644 ../"$pkgname".service rcscripts/systemd/thinkfan-sleep.service "$pkgdir"/usr/lib/systemd/system
+  install -D -m644 "$srcdir/$pkgname".service rcscripts/systemd/thinkfan-{sleep,wakeup}.service "$pkgdir"/usr/lib/systemd/system
   install -D -m644 rcscripts/systemd/override.conf "$pkgdir"/etc/systemd/system/thinkfan.service.d
-  install -D -m644 ../thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
+  install -D -m644 "$srcdir"/thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d

 # vim:set ts=2 sw=2 noet:

dude commented on 2021-01-09 21:35 (UTC)

@FirstAirBender silentnoodle has added the service file for thinkfan-sleep. Please let me know if there are any other changes you see that need to be made.

silentnoodle commented on 2021-01-08 21:54 (UTC)

@dude all yours

dude commented on 2021-01-08 21:45 (UTC)

@silentnoodle I can if you don't want to.

silentnoodle commented on 2021-01-08 20:42 (UTC)

@dude do you want to maintain this?

dude commented on 2021-01-08 20:18 (UTC)

@silentnoodle How are you going to test if the package works without a thinkpad?

FirstAirBender commented on 2021-01-08 19:21 (UTC) (edited on 2021-01-08 19:23 (UTC) by FirstAirBender)

Missing important configurations from upstream. Please see thinkfan-git as an example. For example, it is missing the thinkfan-sleep.service file

dude commented on 2020-11-18 14:53 (UTC)

@BubuIIC Those packages usually aren't included in makedepends because it's assumed that you have the base-devel group installed if you're building packages

BubuIIC commented on 2020-11-18 14:50 (UTC)

This needs a makedepends on make and pkgconf

dude commented on 2020-08-15 10:25 (UTC)

I'm disowning this package because I don't use Arch as my main distro anymore...anyone who has the time, feel free to adopt it. Thanks

post-factum commented on 2020-07-28 12:15 (UTC)

@dude thanks for willing to help. Apparently, it was something with indentation. I've re-checked and corrected all the indents (by space), and now it doesn't complain. I guess yaml-cpp error reporting is meh.

BTW, there's v1.2.1 available.

dude commented on 2020-07-28 12:08 (UTC)

@post-factum It's hard to tell without seeing your full config file. Email me and I'll see if I can help. My address is in the first line of the PKGBUILD.

post-factum commented on 2020-07-28 09:19 (UTC)

I'm puzzled a little bit with this:

čec 28 10:57:18 butterfly thinkfan[162228]: ERROR: /etc/thinkfan.conf:1: Invalid syntax:


dude commented on 2020-07-01 22:46 (UTC)

I've updated to the new release, 1.2. Thank you to the guy who flagged it as out of date and brought this to my attention.

You can see the changelog here:

Most importantly, the old syntax is now deprecated, so you may have to update your config file to the new YAML based syntax.

SaberJ64 commented on 2020-04-28 18:26 (UTC)

@dude yep, the examples where great help, thanks!

dude commented on 2020-04-28 14:43 (UTC)

@SaberJ64 It looks like you have /usr/lib/modprobe.d/thinkpad_acpi.conf mixed up with /etc/thinkfan.conf. For thinkfan.conf, check /usr/share/doc/thinkfan/examples/.

SaberJ64 commented on 2020-04-28 14:39 (UTC) (edited on 2020-04-28 14:43 (UTC) by SaberJ64)

@anthezium I install package in manjaro for my T440p, can't make it work due to a syntax error. I'm a newcomer to linux in general but if someone can point what I did wrong, I'd be more than glad

" options thinkpad_acpi fan_control=1 "

when I make the /etc/thinkfan.conf file it asks for it spits out an error...


ERROR: /etc/thinkfan.conf:1: Invalid syntax: options thinkpad_acpi fan_control=1 ^

anthezium commented on 2020-04-03 22:05 (UTC)

thanks @dude, i have no idea how that happened. running arch. installing pkgconf solved it!

dude commented on 2020-04-03 15:54 (UTC) (edited on 2020-04-03 16:47 (UTC) by dude)

@anthezium This is just a guess, but your output says you don't have pkgconfig installed. I'm not sure why, since it's part of core. Are you running Arch or Manjaro? Could pkgconfig be the reason for the build failure? Try installing that and let me know if it fixes the issue. Thanks

anthezium commented on 2020-04-02 23:40 (UTC) (edited on 2020-04-02 23:44 (UTC) by anthezium)

Hey, when I try to build this it fails to find yaml-cpp (same for thinkfan-git). Any ideas?

0 theod@beor:~$ yay -S thinkfan
:: There are 2 providers available for thinkfan:
:: Repository AUR
    1) thinkfan 2) thinkfan-git

Enter a number (default=1): 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  thinkfan-1.0.2-2

  1 thinkfan                                 (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/theod/.cache/yay/thinkfan
:: Downloaded PKGBUILD (1/1): thinkfan
  1 thinkfan                                 (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: Parsing SRCINFO (1/1): thinkfan
==> Making package: thinkfan 1.0.2-2 (Thu 02 Apr 2020 04:30:12 PM PDT)
==> Retrieving sources...
  -> Downloading thinkfan-1.0.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   123  100   123    0     0    675      0 --:--:-- --:--:-- --:--:--   675
100 77653    0 77653    0     0   157k      0 --:--:-- --:--:-- --:--:--  157k
  -> Found thinkfan.service
  -> Found thinkpad_acpi.conf
==> Validating source files with sha256sums...
    thinkfan-1.0.2.tar.gz ... Passed
    thinkfan.service ... Passed
    thinkpad_acpi.conf ... Passed
==> Making package: thinkfan 1.0.2-2 (Thu 02 Apr 2020 04:30:15 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found thinkfan-1.0.2.tar.gz
  -> Found thinkfan.service
  -> Found thinkpad_acpi.conf
==> Validating source files with sha256sums...
    thinkfan-1.0.2.tar.gz ... Passed
    thinkfan.service ... Passed
    thinkpad_acpi.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting thinkfan-1.0.2.tar.gz with bsdtar
==> Sources are ready.
==> Making package: thinkfan 1.0.2-2 (Thu 02 Apr 2020 04:30:19 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
CMake Error at CMakeLists.txt:59 (message):
  USE_YAML enabled but yaml-cpp not found.  Please install yaml-cpp[-devel]!

-- Configuring incomplete, errors occurred!
See also "/home/theod/.cache/yay/thinkfan/src/thinkfan-1.0.2/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Error making: thinkfan
1 theod@beor:~$ sudo pacman -S yaml-cpp
warning: yaml-cpp-0.6.3-2 is up to date -- reinstalling

xma11 commented on 2019-11-01 10:03 (UTC)

A full upgrade + reinstalling thinkfan resolved the "undefined symbol" issue. Thanks jodizzle!

abhixec commented on 2019-10-18 06:57 (UTC) (edited on 2019-10-18 07:00 (UTC) by abhixec)

got it to work thanks!

dude commented on 2019-10-06 21:02 (UTC)

Not sure why you are getting that error. If you clone the package repository, you can see thinkfan.install is present. Which directory are you running makepkg from?

abhixec commented on 2019-10-05 23:50 (UTC) (edited on 2019-10-05 23:50 (UTC) by abhixec)

Getting the following error:

makepkg -p thinkfan ==> ERROR: install file (thinkfan.install) does not exist or is not a regular file.

jodizzle commented on 2019-10-01 08:11 (UTC)

To anyone else having problems after a recent update: You may need to recompile. After installing yaml-cpp 0.6.3-1, I was getting this error:

/usr/bin/thinkfan: symbol lookup error: /usr/bin/thinkfan: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E

Recompiling and reinstalling thinkfan fixed the issue.

dude commented on 2019-02-27 17:22 (UTC)

Package has been updated to include the fix for the bug discussed below.

xiliyi commented on 2019-02-22 14:10 (UTC) (edited on 2019-02-22 14:19 (UTC) by xiliyi)

With pacman-git, the problem doesn’t occur on my system, so it seems to be fixed on the master branch.

dude commented on 2019-02-22 09:05 (UTC)

@xiliyi I noticed that. As this package only tracks official releases though, I will wait for the new version. In the meantime, you can help test the fix using the thinkfan-git package, which pulls from the git master branch.

xiliyi commented on 2019-02-22 09:01 (UTC)

The developer responded to the issue on github.

dude commented on 2019-02-20 20:08 (UTC) (edited on 2019-02-20 20:09 (UTC) by dude)

@helirexi and anyone else having the 100% CPU issue: please see the GitHub issue referenced below and provide the software maintainer with any relevant info in order to help him fix it. I am not involved with the development of this software, I just packaged the latest version that they released.

helirexi commented on 2019-02-20 20:03 (UTC)

I was faced same problem, eat 100% of one core, and rise temp up to 70C. Just downgrade to 0.9.3 version "solved" this issue. my arch all up-to-date. Now just add this package to Ignored in pacman. I have Lenovo Thinkpad T61 if this help.

dude commented on 2019-02-20 14:17 (UTC)

@xiliyi Thanks for letting me know. The owner of the project has completely rewritten the software and it seems that certain systems are having problems with the new implementation. I don't believe it is a packaging issue, but if you find a problem with the PKGBUILD please let me know and I will fix it ASAP.

xiliyi commented on 2019-02-20 13:56 (UTC)

@dude I believe I’m facing the same problem as @nfishr. Changing the line and rebuilding as suggested here ( did not resolve the issue, CPU load is still at 100% (although this hits only one core, with or without the changed source).

dude commented on 2019-02-19 15:22 (UTC) (edited on 2019-02-19 15:25 (UTC) by dude)

@nfishr It's very simple, there's only a single line of code that needs to be changed. Check the wiki if you don't know how to build packages manually.

nfishr commented on 2019-02-19 07:57 (UTC)

@dude I was able to get rid of the log-warning by adding values to the thinkfan.conf, but the CPU-Load is still 100%. That issue from Github looks interesting, although I'm not sure how I would go about implementing it. Thanks though

dude commented on 2019-02-18 23:38 (UTC)

@nfishr That Sensor warning looks somewhat suspicious to me. Sounds like it could be a config issue. I would also recommend taking a look at the issues on github, this one in particular:

nfishr commented on 2019-02-18 23:19 (UTC)

@dude unfortunately nothing suspicious in the logs:

Feb 18 23:26:08 host systemd[1]: Starting simple and lightweight fan control program... Feb 18 23:26:08 host thinkfan[642]: Daemon PID: 646 Feb 18 23:26:08 host systemd[1]: Started simple and lightweight fan control program. Feb 18 23:26:08 host thinkfan[646]: WARNING: Sensor /proc/acpi/ibm/thermal has 16 temperatures, but you have 10 correction values for it. Feb 18 23:27:08 host systemd[1]: thinkfan.service: Main process exited, code=killed, status=9/KILL Feb 18 23:27:08 host systemd[1]: thinkfan.service: Failed with result 'signal'.


tp_fan /proc/acpi/ibm/fan tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)

(0, 0, 50) (1, 47, 55) (2, 50, 61) (3, 52, 63) (4, 56, 65) (5, 59, 66) (7, 63, 32767)

dude commented on 2019-02-18 22:52 (UTC) (edited on 2019-02-18 23:06 (UTC) by dude)

@nfishr I haven't had this issue. Can you post your configuration and recent journald log entries for thinkfan?

nfishr commented on 2019-02-18 22:31 (UTC)

just updated via this package to thinkfan 1.0.1 - VERY DANGEROUS: uses 100% CPU-Load when running. Could easily burn your CPU if not saved by BIOS!

dude commented on 2019-02-18 20:55 (UTC)

I've just adopted this and updated it to v1.0.1. Please let me know if you run into any issues. Thanks

gunar commented on 2018-03-29 22:03 (UTC) (edited on 2018-03-29 22:04 (UTC) by gunar)

We should update thinkfan.service from



ExecStart=/usr/bin/thinkfan -n

instead. This prevents thinkfan from starting as a deamon and allows us to debug it with journalctl -u thinkfan.

random-archer commented on 2016-06-26 02:03 (UTC)

please vote:

Alad commented on 2015-07-07 17:24 (UTC)

Also, the .install file should contain instructions on reloading the thinkpad_acpi module (or reboot if not possible).

Alad commented on 2015-07-07 17:14 (UTC)

Braces are NOT quotes, this will break when pkgdir contains spaces. srcdir is also a noop (see Creating packages on the wiki), and .install files don't have to be included in the source array. Rewrite:

kaptoxic commented on 2015-01-27 04:06 (UTC)

@smldis: not sure if this is a good solution, but I switched to using /sys/devices/virtual/thermal/thermal_zone*/temp after having similar issues (thinkfan failing to read /sys/devices/platform/coretemp.0/hwmon/...)

ptrv commented on 2014-12-23 23:29 (UTC)

I have the problem with thinkfan, that after resuming from suspend, thinkfan quits because a sensor has vanished. The log says: A sensor has vanished! Exiting since there's no safe way of handling this. If I restart the thinkfan systemd service, it works properly again. Any suggestions how to solve this?

smldis commented on 2014-11-21 14:11 (UTC)

I opened a bug report here if someone wanna help:

smldis commented on 2014-10-08 19:09 (UTC)

Ok, I do Not want To waste our time on tricks, I just published my solution for other people here. Thanks for your effort.

notizblock commented on 2014-10-08 18:21 (UTC)

@smldis, thx for your report, I'll try thinkpad_hwmon asap and try to find a solution.

smldis commented on 2014-10-08 10:40 (UTC)

I don't use lm-sensors. My driver interface is thinkpad_hwmon. Thank you

notizblock commented on 2014-10-07 19:34 (UTC)

@smldis have you configured lm-sensors? Does it start properly, if you start it manually?

smldis commented on 2014-10-07 08:11 (UTC)

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/ ExecReload=/usr/bin/kill -HUP $MAINPID [Install] WantedBy=sys-devices-platform-thinkpad_hwmon.device

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 ( 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 --------- ( @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 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.

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 [Service] ExecStart=/usr/bin/thinkfan -n -b 1 -s 3 [Install] 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/ 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 [Service] ExecStart=/usr/bin/thinkfan -n -s5 -q [Install] 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)

s1gk1ll commented on 2014-01-16 22:34 (UTC)

Hi FALKER, everyone, The recent update broke my "simple" config. I get a segfault using this configuration now, everything was perfect before: -- (0, 0, 54) (1, 50, 58) (2, 54, 62) (3, 58, 66) (4, 62, 70) (5, 66, 74) (6, 70, 78) (7, 67, 32767) -- I tried to create a new "complex" configuration and get an error saying that I need 9 temps but only got 8, I removed the sensor entry related with the missing one and the config was accepted: -- root@tp ~ # cat /proc/acpi/ibm/thermal temperatures: 37 40 30 -128 50 -128 29 -128 40 44 31 -128 -128 -128 -128 -128 -- The problems is that I'm not able to get the previous behaviour with the complex config, can someone try to help me adapting the previous simple config to the new complex one? Thanks.

notizblock commented on 2014-01-16 18:22 (UTC)

Good idea, done.

jlp2 commented on 2014-01-16 08:26 (UTC)

What do you think about to compile the package with the new option to read aout the s.m.a.r.t-temperatures directly? The NEWS tells: 1) S.M.A.R.T via libatasmart ---------------------------- Thinkfan can now read temperatures directly from hard disks via libatasmart. To enable it, you need to compile with -DUSE_ATASMART.

notizblock commented on 2014-01-07 16:23 (UTC)

Done, thx for the hint @cap_sensitive.

cap_sensitive commented on 2014-01-06 22:29 (UTC)

Hi, I think the thinkpad_acpi.conf should better be placed under /usr/lib/modprobe.d

notizblock commented on 2014-01-02 09:13 (UTC)

I've uploaded a new version with the following changes: - Remove initscripts support - Provide a install file with a note regarding creating a thinkfan.conf - Install thinkpad_acpi.conf in /etc/modprobe.d NOTE: You might get a conflict for '/etc/modprobe.d/thinkpad_acpi.conf'. Please remove the file before installing/uprading. The content of the installed config file is: options thinkpad_acpi fan_control=1

notizblock commented on 2014-01-02 08:29 (UTC)

Hi, thx for your comments. [1] is fine, I'll include that later. [2] is a bit dangerous, as sensor data/thermal control my differ for several devices. In my oppinion, it may be sufficient to show a note when installing the package. [new version], yes I'm aware of it, but it is not yet marked as stable.

donniezazen commented on 2014-01-02 04:03 (UTC)

What do you think about including following two files with the package? [1] /etc/modprobe.d/thinkpad_acpi.conf options thinkpad_acpi fan_control=1 [2] And the simple config file included in examples folder thinkfan.conf.simple as /etc/thinkfan.conf Fedora includes both of these files. Also version 0.9 beta2 is available.

Raziel23 commented on 2013-06-04 06:59 (UTC)

You should remove old initscripts support.

KaiSforza commented on 2013-06-01 06:49 (UTC)

May want to check the .service file. After the usr move it won't matter, but before, and people will be complaining about breakage.

notizblock commented on 2013-06-01 06:40 (UTC)

thx for the hint, fixed.

donniezazen commented on 2013-05-31 23:27 (UTC)

I suppose binaries should be moved to /usr/bin.

w0ng commented on 2013-03-27 10:36 (UTC)

Suggestion: Install a defualt thinkfan.conf into /etc by adding install -D -m644 examples/thinkfan.conf.thinkpad ${pkgdir}/etc/thinkfan.conf

notizblock commented on 2013-01-07 19:32 (UTC)

thank you very much! :)

jyc commented on 2013-01-07 00:36 (UTC)

Works great on fresh install with systemd on T430. Thanks for maintaining the package, notizblock! yaourt -S thinkfan sudo systemctl enable thinkfan.service # edit /etc/thinkfan.conf (used sudo echo "options thinkpad_acpi experimental=1 fan_control=1" > /etc/modprobe.d/thinkfan.conf

notizblock commented on 2012-11-27 17:24 (UTC)

@KaiSforza: included your changes. Thank you!

KaiSforza commented on 2012-11-26 22:51 (UTC)

Updated the pkgbuild. With pacman-git, pkgbuilds without a 'package()' function throw a non-fetal error, and there really should be a distinction between the 'make' and installing into the pkgdir. Thanks!

notizblock commented on 2012-11-08 19:04 (UTC)

@spambanane, good point; updated

commented on 2012-11-08 16:58 (UTC)

Hello, can you please put the example config files somewhere (/usr/share/doc/thinkfan probably)? They are referred to in the README and give a good starting point. thank you

einseenai commented on 2012-10-06 08:40 (UTC)

@Hspasta Thanks a lot!

Hspak commented on 2012-09-29 19:49 (UTC)

@einseenai yes

einseenai commented on 2012-09-12 17:12 (UTC)

Guys, for this to work besides "sudo systemctl enable thinkfan.service", do I need to insert "options thinkpad_acpi fan_control=1" to /etc/modprobe.d/thinkfan.conf?

notizblock commented on 2012-09-11 17:29 (UTC)

updated, thx @popsch

popsch commented on 2012-09-11 16:28 (UTC)

please add the -q option in /usr/lib/systemd/system/thinkfan.service otherwise it's spamming the journal

notizblock commented on 2012-07-12 17:26 (UTC)

included the systemd unit file. I haven't tested it since I don't use systemd.

eworm commented on 2012-07-12 08:55 (UTC)

Can you please provide a systemd unit file? Just install this file linked below to /usr/lib/systemd/system/thinkfan.service. Thanks!

commented on 2012-05-10 21:56 (UTC)

BUMP! 0.8.0 is out!

foalsrock commented on 2012-05-03 11:46 (UTC)

any chance you could include a systemd unit file? thinkfan.service - updated PKGBUILD - thanks

donniezazen commented on 2012-04-22 23:10 (UTC)

@spikeh Thanks for the links. I have used @mejo's method to make thinkfan work. Now that Thinkfan can use complex settings, I was wondering if someone has a worked out the complex config file.

notizblock commented on 2012-04-17 19:49 (UTC)

good catch, fixed.

eworm commented on 2012-04-17 09:09 (UTC)

Uh, this was my build script messing things up if a package has a file that is named exactly as the package is. Fixed now, it was not your fault. However I still get a warning: ==> WARNING: backup entry file not in package : etc/thinkfan.conf You should remove the backup array if you do no longer ship the config file.

notizblock commented on 2012-04-14 22:11 (UTC)

Have you used the Tarball or just the PKGBUILD?

eworm commented on 2012-04-14 21:56 (UTC)

I can not build this package: ==> ERROR: thinkfan was not found in the build directory and is not a URL.

commented on 2012-04-13 11:49 (UTC)

Thank you notizblock and foalsrock! @donniezazen you can find example config files from the author's source tarball: For those with Thinkpad T420, use the coretemp kernel module to access the CPU temp sensors. The following contains non-Arch advice but can be adapted:

donniezazen commented on 2012-04-12 22:46 (UTC)

How are you guys setting up new 0.8 thinkfan, since no thinkfan.conf is included?

notizblock commented on 2012-04-11 17:41 (UTC)

looks good to me. Thx @foalsrock

foalsrock commented on 2012-04-11 13:57 (UTC)

Hi, As of 0.8 alpha, thinkfan does not work on laptops which return temp with a newline char (as is the case for with X220, for example). There's a solution in the form of a patch here Here's a PKGBUILD with the included patch Thanks

cb474 commented on 2012-04-10 20:22 (UTC)


notizblock commented on 2012-04-10 20:12 (UTC)

I updated the package. The default config files are gone in this release. So, you have to create your own /etc/thinkfan.conf before you can start the daemon. See the README in /usr/share/doc/thinkfan/README for more information.

cb474 commented on 2012-04-10 19:42 (UTC)

On the thinkfan website he writes: "0.8 is out, but I named it alpha since there are no unit tests and I really can't test every possible scenario. We do need some more testing since there have been significant changes to functionality." So it doesn't seem like he considers this version especially more or less stable (or more or less "alpha") than the previous version. He's just tring to be honest that this is something so few people use, he can't really say that it's been effectively tested. And that was six months ago that .8 came out. This is something that is so infrequently updated, I wouldn't hold my breath for the "stable" version. Anyway, that's my point of view. Maybe a separate alpha package is needed, if you're not comfortable upgrading this one?

notizblock commented on 2012-04-10 17:06 (UTC)

0.8 is marked as 'alpha2'. It seems, that 0.8 is not considered a stable release.

cb474 commented on 2012-04-10 05:35 (UTC)

0.8 is available. please update.

apol commented on 2011-10-20 14:08 (UTC)

Please update to 0.7.3. It corrects an important problem.

notizblock commented on 2011-03-04 09:30 (UTC)

please update or disown the package... thank you

joschi commented on 2010-07-23 14:52 (UTC)

PKGBUILD for thinkfan-0.7.1:

awagner commented on 2010-07-08 01:26 (UTC)

there's a new version at, maybe this should be made the program's homepage?

eworm commented on 2010-06-09 06:06 (UTC)

Could you please install both config files? I build my packages on a Samung Notebook and use thinkfan on a Lenovo one...