


Now run sensors-detect and answer YES to all YES/no questions. Run mkdev.sh from the current directoryģ. If grep -q "/dev devfs" /proc/mounts thenĮcho "You do not need to run this script as your system uses devfs." # This script doesn't need to be run if devfs is used # The number of devices to create (max: 256) Copy the script file below to a text editor and save it to a file named mkdev.sh. Run the mkdev.sh script in the lm-sensors source. Install lm-sensors using apt-get or the Synaptic GUI.Ģ. My /etc/fancontrol config looks like this:ġ. Press 5 again to display the config file one more time, then press 4 to save and quit. If you see the fan stops spinning, press y and enter. Same for the next step, but the other way around. Keep pressing enter until you hear (or better: see) the fan spinning up. Go with the defaults until you see: "Enter the minimum PWM value (0-255)Īt which the fan STARTS spinning (press t to test) (150):" Select a temperature that matches your CPU temp (usually the same number as the fan number, but check and double check!).

Now press 5 to look at the configuration file. Let the script run until you see "Select fan output to configure, or other action:" (all default options are fine, you can basically enter you way through the script). I set the interval to 5 seconds, just to be safe, but 10 should be fine too. Pwmconfig will write a config file in /etc. One by one, all fans will be tested for 'speedcontrol' (Pulse Width Modulation, actually). You just turned the if/else around! Now pwmconfig should work. $ sudo cp /usr/sbin/pwmconfig /usr/sbin/pwmconfig_originalĪnd go to line 68. Finally, sensors-detect detects the supported drivers if all drivers in kernel section Hardware Monitoring support are enabled./usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed This step will be performed after installation during the configuration section below.Īnother option is to check the Supported Device List on. Once the hardware has been determined the program will display the output on what is or is not included in the kernel configuration. In any case a simple hardware detection should be performed using the sensors-detect tool to scan the hardware on the motherboard. If something is missing then the user will have to take the actions necessary to correct the absence. It is also possible the Kernel is lacking the modules or features. There is a chance these modules have been previously built as modules or are currently included the Kernel's binary (built-in). Before lm_sensors will work as intended, the currently running Linux kernel must have the proper modules available to or built-in to the binary in order to give lm_sensors the sensor-related data needed for correct operation.
