sys/devices/platform/coretemp.0/temp2_input sys/devices/platform/coretemp.0/temp4_input sys/devices/platform/thinkpad_hwmon/temp2_input sys/devices/platform/thinkpad_hwmon/temp8_input sys/devices/platform/thinkpad_hwmon/temp1_input sys/devices/platform/thinkpad_hwmon/temp7_input sys/devices/platform/thinkpad_hwmon/temp6_input sys/devices/platform/thinkpad_hwmon/temp5_input sys/devices/platform/thinkpad_hwmon/temp4_input sys/devices/platform/thinkpad_hwmon/temp3_input For example, on my machine, the output in step 7 yields /sys/devices/virtual/hwmon/hwmon0/temp1_input Repeat this if you have more than one sensor. Add a line starting with sensor (without the #-symbol) and copy-paste you first sensor. (the #-symbol means that that line is commented out). There should already be a line like #sensor /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3) To do this, first open up the file: sudo nano /etc/nf Copy-paste the paths to the sensors into the configuration file /etc/nf. The output should be a list of paths like /sys/devices/. Find out the full paths of these sensors: find /sys/devices -type f -name "temp*_input" (the ones that indicate 0 degrees are not in use, I don't know why those are "detected" too). Figure out which sensors are in use: sensors While for previous versions like 13.04 you instead will need to do: sudo service module-init-tools start From ubuntu 13.10 this done by: sudo service kmod start Detect your laptop's sensors: sudo sensors-detectĪnd just choose the default answers whenever you're prompted by hitting Enter. there should be a line that says: START=yes Making sure that the START key is set to yes, i.e. Make the daemon load automatically at start-up by editting the file: sudo nano /etc/default/thinkfan Make sure that the daemon controls the fan by editting the nf file: sudo nano /etc/modprobe.d/nfīy adding the following line: options thinkpad_acpi fan_control=1 Install the thinkfan software and the sensors: sudo apt-get install thinkfan lm-sensors (which is basically a translated version of this German guide: The thinkfan software is available in the standard ubuntu software repositories, but it does require a few steps to configure. As the name obviously suggests, it is specifically made for ThinkPads ( thinkpad_acpi). If you own a ThinkPad, there's a piece of software called thinkfan that does exactly this. This man page gives some useful info on the settings and what they really do. (Controls hwmon0/device/fan2_input) INTERVAL=2Īnd on a different system it is: INTERVAL=10ĭEVPATH=hwmon1=devices/platform/coretemp.0 hwmon2=devices/platform/nct6775.2608 In my case /etc/fancontrol for CPU I used: This will also make the fancontrol service run automatically at system startup. (In my case I set interval to 2 seconds.)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |