Package Details: thinkfan 1.2-1

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
Submitter: FALKER
Maintainer: dude
Last Packager: dude
Votes: 167
Popularity: 3.32
First Submitted: 2009-03-02 09:01
Last Updated: 2020-07-01 22:43

Latest Comments

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

post-factum commented on 2020-07-28 12:15

@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

@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

I'm puzzled a little bit with this:

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

Why?

dude commented on 2020-07-01 22:46

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: https://github.com/vmatare/thinkfan/releases/tag/1.2

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

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

dude commented on 2020-04-28 14:43

@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

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


thinkfan

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


anthezium commented on 2020-04-03 22:05

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

dude commented on 2020-04-03 15:54

@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

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().
    Aborting...
Error making: thinkfan
1 theod@beor:~$ sudo pacman -S yaml-cpp
warning: yaml-cpp-0.6.3-2 is up to date -- reinstalling