LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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

Reply
 
Search this Thread
Old 05-08-2007, 12:31 PM   #1
pashabear
LQ Newbie
 
Registered: Jan 2006
Location: Moscow, Russia
Distribution: Mint, Puppy, PCLinuxOS, Mepis, Freespire
Posts: 10

Rep: Reputation: 0
[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

Anyway, in rundown about Debian on this model (Debian GNU/Linux on Asus M5N) I found the following:

Quote:
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 55C and go off at 50C:

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

Last edited by pashabear; 05-09-2007 at 01:02 PM.
 
Old 05-08-2007, 04:37 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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.
 
Old 05-09-2007, 05:28 AM   #3
pashabear
LQ Newbie
 
Registered: Jan 2006
Location: Moscow, Russia
Distribution: Mint, Puppy, PCLinuxOS, Mepis, Freespire
Posts: 10

Original Poster
Rep: Reputation: 0
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.

More later!
pb

Last edited by pashabear; 05-09-2007 at 05:41 AM.
 
Old 05-09-2007, 01:00 PM   #4
pashabear
LQ Newbie
 
Registered: Jan 2006
Location: Moscow, Russia
Distribution: Mint, Puppy, PCLinuxOS, Mepis, Freespire
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
  


Reply

Tags
fan, laptop, temperature


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fan constantly blowing, temperature and emifreq problems DiZASTiX Ubuntu 2 12-31-2006 10:06 PM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 02:18 AM
My fan and temperature sensor dont get detected!! _UnPrEdictAbLe_ Linux - Hardware 25 08-19-2004 06:21 AM
controlling a fan ondrej.ilcik Linux - Laptop and Netbook 1 01-31-2004 03:13 AM
RedHat not controlling fan speed alansk Linux - Hardware 1 09-29-2003 02:45 AM


All times are GMT -5. The time now is 10:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration