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
Search Criteria
Package Details: thinkfan 1.3.1-1
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.194580 |
First Submitted: | 2009-03-02 09:01 (UTC) |
Last Updated: | 2024-07-09 06:52 (UTC) |
Dependencies (4)
- libatasmart (libatasmart-gitAUR)
- yaml-cpp
- cmake (cmake-gitAUR) (make)
- lm_sensors (lm_sensors-gitAUR) (optional) – hwmon support
Required by (1)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 Next › Last »
NotSure commented on 2014-08-26 21:20 (UTC)
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)
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.
Pinned Comments