![]() 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.) Make adjustments to fine-tune /etc/fancontrol and use sudo service fancontrol restart to apply your changes.Run through the prompts and save the changes to the default location.If you have just one fan, make sure to use a temperature sensor for your core to base the fancontrol speed on. You will have to specify what sensors to use.After script loops through all fans, you can configure which fan corresponds to which temperature. This script will stop each fan for 5 seconds to find out which fans can be controlled by which PWM handle. Note: If you're running Ubuntu 12.04 or lower, this 3rd step command should be replaced by sudo service module-init-tools restart Run sudo service kmod start This will read the changes you made to /etc/modules in step 2, and insert the new modules into the kernel. Type "yes" to have sensors-detect insert those modules into /etc/modules, or edit /etc/modules yourself. If you feel unsure, read the comments and try to search a web and get some high-level overview before YES-ing everything, maybe being selective with your YES-es will still be enough)Īt the end of sensors-detect, a list of modules that need to be loaded will be displayed. Saving all your work for eventual crashes/freezes/restarts before handling system configuration is always good idea. ![]() There is no guarantee that this process will not damage your system permanently, I just think that chance of such critical failure is really really low. (Potentially, this can damage your system or cause system crash. In terminal type sudo sensors-detect and answer YES to all YES/no questions. ![]() Install the lm-sensors and fancontrol packages. If it does, but the software (aka kernel) doesn't know how to control it, you are without luck. If your hardware doesn't support fan speed controls, or doesn't show them to the OS, it is very likely that you could not use this solution. What did gets more control with setting the period toĮcho 10000 > /sys/devices/platform/fd8b0010.This functionality depends on both your hardware and software. So without software installed you can do watch -n 1 sudo cat /sys/kernel/debug/pwm in a cli windows and just watch the settingsĮcho 0 > /sys/devices/platform/m/pwm/pwmchip1/exportĮcho normal > /sys/devices/platform/m/pwm/pwmchip1/pwm0/polarityĮcho 40000 > /sys/devices/platform/m/pwm/pwmchip1/pwm0/periodĮcho 20000 > /sys/devices/platform/m/pwm/pwmchip1/pwm0/duty_cycleĮcho 1 > /sys/devices/platform/m/pwm/pwmchip1/pwm0/enableĬhange the duty cycle and until you get to 35000 %87.5 it doesn’t spin. Still really confused as if you take software out of the equation you should be able to do manual control and it still makes no sense. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |