Comments (5)
Hm, it's strange that there's no error being logged. Try running journalctl -xe
as the message states after trying to start thinkfan
. If that doesn't reveal any error message as well, try running thinkfan directly on the terminal: thinkfan -n
. That should definitely give some kind of hint about what's going wrong.
from thinkfan.
Thanks for the quick response;
You were right; there was a problem with my config file. Which I fixed; but I'm still experiencing the problem in getting it to run automatically. It appears to run fine if I do sudo thinkfan ;; (Daemon PID: 22285) ;; but then how can I have this run on startup?
`
[I] ✘ ~ sudo thinkfan -n
[sudo] password for david:
/etc/thinkfan.conf:43:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:44:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:45:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:46:sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:57:(127, 79, 32767)
LOWER limit doesn't overlap with previous UPPER limit.
Refusing to run without usable config file!
[I] ✘ ~ sudo vim /etc/thinkfan.conf
[I] ~ sudo thinkfan -n
/etc/thinkfan.conf:43:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:44:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:45:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:46:sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
WARNING: Using default fan control in /proc/acpi/ibm/fan.
WARNING: You're using simple temperature limits without correction values, and your fan will only start at 55 °C. This can be dangerous for your hard drive.
sleeptime=5, tmax=56, last_tmax=56, biased_tmax=56 -> fan="level 3"
^C
Caught deadly signal. Cleaning up and resetting fan control.
[I] ~ systemctl status thinkfan.service
● thinkfan.service - simple and lightweight fan control program
Loaded: loaded (/lib/systemd/system/thinkfan.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-02-06 13:50:27 CST; 6h ago
Process: 1153 ExecStart=/usr/sbin/thinkfan (code=exited, status=4)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[I] ✘ ~ sudo thinkfan -n
/etc/thinkfan.conf:43:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:44:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:45:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
/etc/thinkfan.conf:46:sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input
WARNING: The sensor' keyword is deprecated. Please use the
hwmon' or `tp_thermal' keywords instead!
WARNING: Using default fan control in /proc/acpi/ibm/fan.
WARNING: You're using simple temperature limits without correction values, and your fan will only start at 55 °C. This can be dangerous for your hard drive.
sleeptime=5, tmax=55, last_tmax=55, biased_tmax=55 -> fan="level 3"
^C
Caught deadly signal. Cleaning up and resetting fan control.
[I] ~
`
from thinkfan.
ps; my config file is here: https://gist.github.com/d9475f5b6926f8b5cd40222037f9e8c6
from thinkfan.
Well, once you fixed your config file, everything should be fine. I don't use Ubuntu, so I don't know how you're supposed to enable a service on bootup there. However on any halfways compliant Linux that runs systemd, it should suffice to enable the systemd service:
systemctl enable thinkfan
from thinkfan.
It's working now! Thanks for your help... what a great piece of software you've written. You can close out this issue.
from thinkfan.
Related Issues (20)
- temperature input value of feature 'temp2' of chip 'thinkpad-isa-0000' is unavailable
- Failing to load thinkfan on startup HOT 1
- can't start thinkfan.service
- Support globs in the `temp1_input` path in the config HOT 1
- Freeze on Thinkpad P14s Gen3 AMD Machine Type 21J5 HOT 30
- "Invalid sensor entry" on "chip" keyword HOT 15
- [ThinkPad E540] Thinkfan change the levels, but not the actual speed HOT 4
- Allow /sys/devices/platform/thinkpad_hwmon/hwmon/*/temp2_input HOT 1
- ERROR: Unhandled thinkfan::Bug: Segmentation fault.. errno = No such file or directory.
- Arch Linux: error while loading shared libraries after yaml-cpp 0.8.0 upgrade HOT 5
- setting RPM that corresponds to the speed levels manually HOT 2
- Could not find a hwmon with this name: thinkpad HOT 1
- ERROR: Unhandled std::bad_optional_access: bad optional access.
- Failed to initialize NVML driver. If gpu is disabled HOT 1
- Thinkfan does not resume after wake from suspend HOT 3
- thinkfan.service won't start HOT 1
- small issue: no thinkfan pkg for debian 11 bullseye?
- Crashed after resume from system sleep
- hwmon model is an invalid keyword
- Thinkfan goes into `device` folder instead of the `hwmonX` folde HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thinkfan.