Package Details: thinkfan 2.0.0-3

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: 194
Popularity: 1.67
First Submitted: 2009-03-02 09:01 (UTC)
Last Updated: 2025-07-15 18:18 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 16 Next › Last »

gwuensch commented on 2025-08-11 15:10 (UTC)

@harmathy I'm using the modconf hook, maybe the systemd modules are at fault here?

HOOKS=(systemd autodetect microcode modconf kms plymouth keyboard sd-vconsole block sd-encrypt filesystems fsck)

The configuration from modprobe.d takes effect when manually reloading the module using modprobe, just not at startup.

harmathy commented on 2025-08-10 14:33 (UTC)

@gwuensch: it seems like the parameter is not required for all models. For me the service only fails if I explicitly set the parameter to 0. Can you check your /etc/mkinitcpio.conf for the modconf hook which, as far as I understand mkinitcpio hooks, should handle the parameter?

tuxxx commented on 2025-08-03 15:40 (UTC)

@gwuensch: I also had to use this kernel boot parameter as modprobe.d did not work (but manually unloading and reloading using modprobe worked). I don't use encrypted root, so the reason must be something else.

gwuensch commented on 2025-07-15 23:14 (UTC)

On another note, I had to use thinkpad_acpi.fan_control=1 as kernel parameter to successfully enable fan control. The module is loaded very early (utilizing a modalias), seemingly too early for the options from modprobe.d to take effect.

I'm surprised that besides @ruaeci no one else reported this issue. I think the most likely candidate is my encrypted root partition, which is only mounted after thinkpad_acpi is loaded. Would be nice if someone with a similiar setup can confirm this :)

gwuensch commented on 2025-07-15 21:30 (UTC)

Thanks for fixing this quickly :D

harmathy commented on 2025-07-15 18:19 (UTC)

good catch, gwuensch!

gwuensch commented on 2025-07-15 18:01 (UTC) (edited on 2025-07-15 18:01 (UTC) by gwuensch)

The override.conf is not installed correctly. It should be like this:

diff --git a/PKGBUILD b/PKGBUILD
index 08f37ee..987fc7f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,7 +42,7 @@ package() {
   install -D -m644 "$pkgname".1 "$pkgdir"/usr/share/man/man1
   install -D -m644 "$pkgname".conf.5 "$pkgdir"/usr/share/man/man5
   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"/usr/lib/systemd/system/thinkfan.service.d
+  install -D -m644 rcscripts/systemd/override.conf "$pkgdir"/usr/lib/systemd/system/thinkfan.service.d/override.conf
   install -D -m644 "$srcdir"/thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
 }

harmathy commented on 2025-06-02 11:19 (UTC)

@Martchus thanks! Yeah, I also recognized that when running namcap. I now fixed all problems it detected.

Martchus commented on 2025-06-01 20:08 (UTC)

Looks like a dependency is missing:

CMake Error at CMakeLists.txt:130 (message):
  USE_LM_SENSORS enabled but libsensors not found.  Please install
  libsensors-dev!

Maybe this is provided by lm_sensors which then shouldn't be optional.

harmathy commented on 2025-04-15 16:24 (UTC)

@FrederickZh thanks for the backport