Comment posted How to properly control your Lenovo Thinkpad R61 fan rotation cycles on Linux with ThinkFan by .
Recent comments by
Tags: How to properly control your Lenovo Thinkpad R61 fan rotation cycles on Linux with ThinkFan
Thursday, 25th April 2024
Comment posted How to properly control your Lenovo Thinkpad R61 fan rotation cycles on Linux with ThinkFan by .
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Tags: How to properly control your Lenovo Thinkpad R61 fan rotation cycles on Linux with ThinkFan
This entry was posted on Thursday, April 25th, 2024 at 4:53 pm and is filed under Linux, Linux and FreeBSD Desktop. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
If ye then be risen with Christ, seek those things which are above,
where Christ sitteth on the right hand of God.
-- Colossians 3:1
☩ Walking in Light with Christ – Faith, Computing, Diary 2006-2020 Powered by:
Pc Freak Solutions and Comments (RSS).
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
Copyright (C) 2020 by Georgi Georgiev - Website Privacy Policy
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100911 Iceweasel/3.5.12 (like Firefox/3.5.12)
I wonder whether you could give more detailed explanation how to properly add crontab for thinkfan? Moreover, do we need it if we addjust /etc/thinkfan.conf?
Thanks!
View CommentView CommentPM
Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
Hi having the crontab is not absolutely necessery, however it works well for me that’s why I mentioned it.
To add crontab type in your terminal for instance “crontab -u root -e”. Then you will have to deal with saving it after you paste what I point in the article should go in the crontab. Here it depends on your text editor if it’s vim or nano. If you’re with vi/vim you need to press “i” when the editor opens and laters press “esc” then “:x!” this will save the crontab and install it. If you’re with nano just place the crontab just like it’s said in the article and press “ctrl+x” this will save the edit.
Regards,
View CommentView CommentGeorgi
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100911 Iceweasel/3.5.12 (like Firefox/3.5.12)
Thanks, very much!
Actually, I was wondering about the line in crontab, since they differ:
– above, line is: “0,30 * * * * /etc/init.d/thinkfan restart >/dev/null 2>&1”
– but in https://www.pc-freak.net/blog/controlling-fan-with-thinkfan-on-lenovo-thinkpad-r61-on-debian-gnulinux-adjusting-proper-fan-cycling/ (response link), line differs: “0,30 * * * * killall -HUP thinkfan”
That is why I am in doubt.
Thanks again!
View CommentView CommentPM
Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
Well yes they do because, in newer version of thinkfan the package misses the /etc/init.d/thinkfan script.
Thus in newer versions where the scripts is not there just add the killall -HUP thinkfan rule in your crontab.
Best!
View CommentView CommentGeorgi
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Hello! I’ve read some of your publish right here and uncovered it fascinating and it makes a whole lot of sense. Plus i love your theme below. Thumbs up! Maintain on sharing!
View CommentView CommentMozilla/5.0 (X11; Linux i686; rv:6.0a1) Gecko/20110522 Firefox/6.0a1
Well I’m sorry, but the values listed there don’t seem to work with the latest thinkfan, for the LOWER limits don’t overlap with the previous UPPER limits.
I believe some easy adjustments will work.
Cheers!
View CommentView CommentMozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
if you have values that work and you can post info about your exact linux version it will be great.
View CommentView CommentHope it might benefit others.
Mozilla/5.0 (X11; Linux i686; rv:7.0a1) Gecko/20110525 Firefox/7.0a1
just like this: (/etc/thinkfan.conf)
(0, 38, 42)
(1, 40, 46)
(2, 44, 50)
(3, 48, 54)
(4, 52, 58)
(5, 56, 62)
(6, 60, 66)
(7, 64, 32767)
I’m using Arch Linux, kernel 2.6.39, i686 Intel Pentium Dual, ThinkPad R61i.
View CommentView CommentMozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/10.04 Chromium/14.0.811.0 Chrome/14.0.811.0 Safari/535.1
Zdrasti Georgi,
I have a question concerning the auto-start of the thinkfan daemon. The line “0,30 * * * * killall -HUP thinkfan†restarts the thinkfan every 30 minutes, but it does not start it when I boot the machine. Do you have a suggestion how thinkfan can be started automatically through crontab as well?
Cheers for the posts,
View CommentView CommentNikolay
Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
ЗдраÑти Nikolay,
You can configure /etc/init.d/thinkfan to start up.
Or if you’re missing the thinkfan script I can put a link here for you.
Поздрав! 🙂
View CommentView CommentMozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/10.04 Chromium/14.0.813.0 Chrome/14.0.813.0 Safari/535.1
ЗдраÑти и thanks for the fast reply,
I made a thinkfan_auto script which looks like this:
#!/bin/bash
sleep 30 && thinkfan ;
Then I copied it it /etc/init.d/ and run sudo update-rc.d thinkfan_auto defaults. But the program still doesn’t start at boot.
Any suggestion on how the script should look like is welcomed.
БлагодарÑ!
View CommentView CommentÐиколай
Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
ЗдраÑти и ur welcome 🙂
You can download the script I use from below link.
http://www.pc-freak.net/files/thinkfan
Add the script to be loaded in your runlelvel, the Debian standard desktop runlevel is 2.
hipo@noah:/etc/init.d$ /sbin/runlevel
N 2
Issue the commands to add them in runlevel 2.
# cd /etc/rc2.d/; ln -sf /etc/init.d/thinkfan S19thinkfan
To be honest I never get used to update-rc.d 😉
If I can further help it will be a pleasure.
Ð’Ñичко най!
View CommentView CommentГеорги
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/10.04 Chromium/14.0.813.0 Chrome/14.0.813.0 Safari/535.1
Thanks for the reply Georgi,
somehow I managed to get it working yesterday. I found the script you posted, and then enabled thinkfan in /etc/default/thinkfan (as said in the script). As I put the program thinkfan (the binary file) in /usr/local/sbin, I had to change the path in the script from DAEMON=/usr/sbin/$NAME to DAEMON=/usr/local/sbin/$NAME. At the end I run sudo update-rc.d -f thinkfan start 99 2 3 4 5 . and it worked 🙂
I don’t get why the scripts in /etc/init.d can not be a simple one line code (like in my previous post). Is that a security reason, or there is something deeper that I can’t understand?
Ð‘Ð»Ð°Ð³Ð¾Ð´Ð°Ñ€Ñ Ð·Ð° помощта!
View CommentView CommentÐŸÐ¾Ð·Ð´Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¸Ð· блога ти, доÑта интереÑни Ñтатии имаш. Ðай-вероÑтно ще Ñе видим пак по коментарите под Ñ‚ÑÑ… 😉
Поздрави, Ðиколай
Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
Ur welcome 😉
Glad you make it. The reason behind the scripts are not just few lines is that if there are just few lines is versatile, it needs to make different checks related to the service activity up/down restart/stop/start options for the service etc.
ÐÑма проблем за помощта, радвам Ñе че Ñъм помогнал и че Ñ Ð½ÐµÑ‰Ð¾ ти е бил полезен блога.
Ще Ñе виждаме из коментарите.
Ð’Ñичко най!
View CommentView CommentГеорги
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8)
Is there a way to do this for idiots
View CommentView CommentMozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/8.04 (hardy) Firefox/3.6.17
Do that for idiots? 🙂 I think I know what you mean. But I don’t know by so far for another way
View CommentView CommentMozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.0.2) Gecko/2008092313 Ubuntu/9.25 (jaunty) Firefox/3.8
É pá! É que nao quero que te falte nada!!!
View CommentView CommentMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.68 Safari/537.17
Your blog sucks, hard.
http://sourceforge.net/p/thinkfan/discussion/905019/thread/24c3cd47
View CommentView Comment