Controlling fan speed according to temperature in Kubuntu 7.04
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Solved] Controlling fan speed according to temperature in Kubuntu 7.04
Hi, I'm running Kubuntu 7.04 (and Puppy 2.15) on my Asus M5N (aka M5200N) notebook, alongside Windows XP. From the very first the fan on this machine was very noisy, I put up with it until today when I finally got Speedfan configured in XP - thanks to the following posting: http://jakobskipper.dk/html/fan_fix.html
Fan control. Load the i2c-i801 and lm85 kernel modules, and set new "trip points" to make the fan less aggressive. Here's how to make the fan come on at 55°C and go off at 50°C:
cd '/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002e'
echo 50000 > temp1_auto_temp_off
echo 55000 > temp1_auto_temp_min
Note that on kernels 2.6.17 and later, fan control only works if ACPI sleep states are disabled. Details here. Offending patch here. This patch wasn't necessary for the M5N. If you revert it, fan control and sleep states should still both work. I'll be interested to hear your experiences if you try patching.
The trouble is, I don't have a "i2c-0/0-002e" directory, and so am stuck. I believe I have the modules mentioned. Can anyone explain to this newbie what to do? Thanks.
pb
in a console as root, type 'lsmod' and see if those modules mentioned appear in the list. Chances are, they won't, but if they do, you need to 'insert' them into the kernel with the 'modprobe' command. To locate them if they exist anywhere, try:
1 - type 'modprobe -l'
or
2 - search through /lib/modules/<your-kernel-name>/
or
3 - type 'cat /lib/modules/<your-kernel-name>/'
you should be able to locate/identify the modules you need, **IF** they are compiled as modules for your kernel. If they aren't around, and they aren't built-into your kernel, you will need to either build the modules, or recompile the kernel with the needed support.
Let us know if you find them or not. If not, you'll need to look into making them, and if you need help with that, search around here and/or let us know where you're at with this, and we'll try to help
Last edited by GrapefruiTgirl; 05-08-2007 at 04:39 PM.
Well, I don't see those modules in the list. However, I've been in touch by email with the author of that web page, and he's giving me some direct help. Will report back on the results.
Hey, I was pleased to see a Nova Scotian replying, I'm a Canadian myself and spent 1/2 a year in NS (also 2 1/2 in NF). I was in the Annapolis Valley. Currently I'm in Almaty, Kazakhstan, but am moving to Moscow come fall.
OK, problem solved! It did involve loading the kernel modules, and then I could follow the instructions on the page I mentioned. If anyone would like specifics, just post a reply here, I think different machines would be different though - and probably not to many still running this model laptop, since it's three years old.
pb
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.