![]() |
[SOLVED] How to set up "thinkfan" on a Lenovo Thinkpad T430? - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Installing Software (https://www.linuxliteos.com/forums/forumdisplay.php?fid=18) +--- Thread: [SOLVED] How to set up "thinkfan" on a Lenovo Thinkpad T430? (/showthread.php?tid=1468) Pages:
1
2
|
[SOLVED] How to set up "thinkfan" on a Lenovo Thinkpad T430? - vaikus84 - 01-26-2015 Hello How would I go about installing and setting up "thinkfan" to controll my Thinkpad's system fan 1? And how to make it start with the system permanently? What information do I need to paste here from my hardware? And what commands would they be? I need it to be quiet when doing nothing in particular and revs higher only after 55'C degrees Celsius. Also wondering is there a way to read more fan speed steps than low rpm and high rpm? Would love for it to have at lest 3 or 4 steps on different levels of heat. Does this thinkfan software affect the hdd temps badly in real life situation use? Thank you in advance, vaikus84 [attachment deleted by admin] Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - rokytnji - 01-26-2015 Start Here. http://www.thinkwiki.org/wiki/Category:T430 And give a https://www.linuxliteos.com/manual/hardware.html#report Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - vaikus84 - 01-26-2015 (01-26-2015, 01:45 PM)rokytnji link Wrote: Start Here. This tutorial is for thinkfan_0.8.1-1! (present int Ubuntu Trusty default repos) ================================================= That's what I've done so far: Code: sudo apt-get -y install tp-smapi-dkms thinkfan lm-sensors read-edid i2c-tools Code: sudo modprobe -a tp_smapi Fineprint: If you are installing on a recent Thinkpad that has an Ivy Bridge or newer processor [X230, T430(s), T530, etc.], tp_smapi will not work. You will be mostly limited to thinkpad-acpi capabilities. You can however set battery charge thresholds with tpacpi-bat. But you need to have TLP version 0.7.0 and acpi-call for tpacpi-bat to work You might want to check out which fan levels your fan controller supports by doing something like this: Code: sudo su NOTE! The last echo command is to set your fan back on automatic hardware regulated mode! If you don't set it back to "auto"(hardware regulated) mode, your laptop fan stays at full-speed mode! I'd recommend to have two terminal windows open. One window is for using the script the other window is for setting the level back to "auto" mode. My T430's readouts are: Code: level 0... Find your sensor locations: Code: find /sys/devices -type f -name "temp*_input" As you are going to see I have added "sensor" before the actual sensor location "/sys/devices/virtual/hwmon/hwmon0/temp1_input". This enables the sensor in /etc/thinkfan.conf. My version of /etc/thinkfan.conf so far: Code: gksudo mousepad /etc/thinkfan.conf Code: sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input Configure thinkpad_acpi / thinkfan function: Code: sudo echo "options thinkpad_acpi fan_control=1" | sudo tee /etc/modprobe.d/thinkfan.conf Code: sudo modprobe -rv thinkpad_acpi Code: sudo modprobe -v thinkpad_acpi NOTE! When the first command gives an error like this "modprobe: FATAL: Module thinkpad_acpi is in use", just reboot your machine to use your tweaked configuration file. If you want to start thinkfan automatically with your system, you need to modifie /etc/default/thinkfan as root (sudo is also ok): Just replace "no" with "yes" sudo nano /etc/default/thinkfan Code: START=yes NOTE! Should "thinkfan" change the fanspeed too rapidly between the different levels, you can edit /etc/default/thinkfan as follows: sudo nano /etc/default/thinkfan Code: DAEMON_ARGS="-q -b 1 -s 3" Meaning of Options: -b – so called "Bias" (Default: 5) is for making reaction speed better when temperatures change rapidly -s – max time (in seconds) in between two temperature measurements (Default: 5) Details in Manpage. http://manpages.ubuntu.com/manpages/precise/man1/thinkfan.1.html http://manpages.ubuntu.com/manpages/trusty/man1/thinkfan.1.html After changing this file, enable and start the service: # Traditional: Code: sudo /etc/init.d/thinkfan start # Upstart: Code: sudo service thinkfan start For Stoping the service (only if you need to do so): # Traditional: Code: sudo /etc/init.d/thinkfan stop # Upstart: Code: sudo service thinkfan stop Getting a list of Services (so you can confirm it is working): # Traditional: Code: ls /etc/init.d # Upstart: Code: service --status-all Now Reboot the system! EXTRA INFO: -------------- NOTE! You can measure your current Temperature sensors with this Code: sensors *** You need lm-sensors to be installed. I did it in the beginning of this tutorial! NOTE 2! Everything here is done the way it's done because I have some tp-smapi starting issues on my T430. Thus I could not use the extended method in "thinkfan.conf" like the default example in that file shows. Default Example in "thinkfan.conf" : Code: # I use this on my T61p: Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - vaikus84 - 01-26-2015 I would love to set it up the complex way so it takes in account more than just the CPU temp. Also the HDD/SSD temp and motherboard temp. But it should do that at different temp levels for those separate things. Suggestions? Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - Wirezfree - 01-26-2015 Hi, Maybe this might help, or give pointers to other searches..?? If you don't speak German.?, Try Google translate. http://wiki.ubuntuusers.de/Thinkpad_ACPI Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - vaikus84 - 01-26-2015 (01-26-2015, 08:05 PM)Wirezfree link Wrote: Hi, Lucky for me , I speak, read and write German besides English too ![]() Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - newtusmaximus - 01-26-2015 Might it be worth updating the Kernel LL2.2 runs on Kernel 3.13. Assuming no important files so experimentation OK? Not sure what the latest 64 bit stable Kernel is. Can someone else advise please. https://www.linuxliteos.com/forums/index.php?topic=474.msg8400#msg8400 Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - N4RPS - 01-27-2015 Hello! A factor in tracking temperatures on the motherboard and inside the SSD is whether or not these components even have a temperature sensor built into them. If they do have built-in sensors, that's just wonderful. However, if the laptop is too new, that support may not yet be available in Linux. If they do not have sensors, those features probably won't be available... 73 DE N4RPS Rob Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - vaikus84 - 01-27-2015 My Machines Specs are: Code: System: Host: Matrix-ThinkPad-T430 Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2) http://support.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t430/2349/gzg Re: How to set up "thinkfan" on a Lenovo Thinkpad T430? - rokytnji - 01-27-2015 "Sensors: None detected - is lm-sensors installed and configured?" http://askubuntu.com/questions/53762/how-to-use-to-use-lm-sensors |