LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-31-2010, 11:35 AM   #1
startover
Member
 
Registered: May 2010
Posts: 37

Rep: Reputation: 2
How to control cpu fan speed? no fan control with BIOS, acpi, lm-sensors


I cannot get any fan information from 'lm-sensors' or 'sensors', I tried to run 'pwmconfig' and got this:
Code:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
I get the following result from 'acpi'
Code:
~$ acpi -c
Cooling 0: LCD 5 of 10
Cooling 1: Processor 0 of 3
Cooling 2: Processor 0 of 3
but I have no tools to control the fan speed from 'acpi'. in particular '/proc/acpi/fan' is an empty directory.

There are no fan info/controls in BIOS either.

I believe the fans do not work as fast as they should and I am trying to find a way to fix this before the cpu cores are melted down from overheating.
Any idea folks?


Laptop information: HP Pavilion dv2500t

Code:
uname -a
Linux uname.host 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
 
Old 12-31-2010, 12:08 PM   #2
Chickenchaser
LQ Newbie
 
Registered: Dec 2010
Location: Slurrey B.C.
Distribution: UNBUNTU CRAPWARE
Posts: 13

Rep: Reputation: 0
im dealing with same problem and im sensors is retarted and never wants to work same as (cough)*ubuntu*(cough)
 
Old 12-31-2010, 02:55 PM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,375

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Been there on a HP Compaq 6715S (quite similar). Twin turion 2 Ghz, etc.

Boot a distro kernel, run sensors-detect and set it up to list the modules. Ignore all smart alecs telling you to install ubuntu. I did that and I have _never_ had a slower starting & running box in my life. I go back as far as 386s, but my first real linux box was a '586 with 64 Megs of ram & kde-2.2. THAT was faster than ubuntu.

EDIT: lm_sensors seems to be for folks with no life who want to reprofile their box's thermal behaviour or add temperature monitoring for their outside jacks or somesuch - I never quite figured out which. What it does a good job of is finding your sensors so you can throw modules at them.

Last edited by business_kid; 12-31-2010 at 02:59 PM.
 
Old 12-31-2010, 03:22 PM   #4
startover
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by business_kid View Post
Boot a distro kernel, run sensors-detect and set it up to list the modules.
I have run sensors-detedt multiple of times. results:
Code:
HWMON_MODULES="coretemp"
MODULE_0=coretemp
no result for cpu fans.
 
Old 01-01-2011, 04:39 AM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,375

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
I'd be surprised if there were. You want temperature monitoring chips.
Are you scanning _everything_ with sensors-detect?

Code:
What you need to see is temperature chips for your cpu. Here is what I get
AMD K8 thermal sensors...                                   Success!
    (driver `k8temp')

Do you want to scan for Super I/O sensors? (YES/no): y
Trying family `SMSC'...                                     Yes
Found unknown chip with ID 0x3600

ISA slots! Do you want to scan the ISA I/O ports? (YES/no): y

Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Using driver `i2c-piix4' for device 0000:00:14.0: ATI Technologies Inc SB600/SB700/SB800 SMBus
Module i2c-dev loaded successfully.

Next adapter: SMBus PIIX4 adapter at 8200 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Probing for `Maxim MAX1617'...                              Success!
    (confidence 3, driver `adm1021')
Probing for `Analog Devices ADM1032'...                     Success!
    (confidence 6, driver `lm90')
 
Old 01-01-2011, 06:13 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello together,

you will need a module to enable the cpu-frequency support, for the AMD-processors it is "powernow-k8", for Intel Core2Duo (which seems to be in startover's laptop) there should be a module "acpi-cpufreq" loaded.

Check
Code:
lsmod | grep acpi
Load
Code:
modprobe acpi-cpufreq
I'd recommend to check this, mostly this module is not automatically loaded without further configuration.

Markus
 
Old 01-01-2011, 10:33 AM   #7
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218
Blog Entries: 7

Rep: Reputation: 32
i have the same problem on my hp laptop on vista the fan is controlled and slow but on opensuse 11.3 is is really loud and gets realy hot (93 degrees c)
 
Old 01-01-2011, 11:50 AM   #8
startover
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by business_kid View Post
Are you scanning _everything_ with sensors-detect?
Yes, I am scanning everything. This is the verbose scanning results:
Code:
~$ su -c 'sensors-detect'
Password: 
Stopping lm_sensors:                                       [  OK  ]
# sensors-detect revision 5861 (2010-09-21 17:21:05 +0200)
# System: Hewlett-Packard HP Pavilion dv2600 Notebook PC (laptop)
# Board: Wistron 30CE

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
Intel Core family thermal sensor...                         Success!
    (driver `coretemp')
Intel Atom thermal sensor...                                No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801H ICH8
Module i2c-dev loaded successfully.

Next adapter: nouveau-0000:01:00.0-2 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: nouveau-0000:01:00.0-0 (i2c-1)
Do you want to scan it? (YES/no/selectively): y

Next adapter: nouveau-0000:01:00.0-1 (i2c-2)
Do you want to scan it? (YES/no/selectively): y

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `coretemp':
  * Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
Starting lm_sensors: loading module coretemp               [  OK  ]
Unloading i2c-dev... OK
 
Old 01-01-2011, 11:56 AM   #9
startover
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by markush View Post
you will need a module to enable the cpu-frequency support, for the AMD-processors it is "powernow-k8", for Intel Core2Duo (which seems to be in startover's laptop) there should be a module "acpi-cpufreq" loaded.
acpi_cpufreq is already loaded

Code:
~$ lsmod | grep acpi
acpi_cpufreq            7345  1 
freq_table              3955  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1481  1 acpi_cpufreq
 
Old 01-01-2011, 02:56 PM   #10
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,375

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Where I have k8, you have coretemp. That is really the critical one, cpu core temperature.
bash-4.1$ lsmod |grep k8
powernow_k8 11244 1
freq_table 2475 2 cpufreq_ondemand,powernow_k8
processor 29915 1 powernow_k8
k8temp 3395 0
hwmon 1449 2 thermal_sys,k8temp

I would run 'modprobe coretemp' and then lsmod |grep coretemp
 
Old 01-01-2011, 06:52 PM   #11
startover
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by business_kid View Post
I would run 'modprobe coretemp' and then lsmod |grep coretemp
it seems that coretemp is already loaded as well

Code:
~$ lsmod |grep coretemp
coretemp                6196  0
 
Old 01-02-2011, 02:54 AM   #12
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,375

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Then I reckon something else is missing and lm_sensors didn't find it, because you don't have a manual for it. Try for other owners
http://www.linux-laptop.net
 
Old 01-03-2011, 11:14 AM   #13
startover
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by business_kid View Post
Then I reckon something else is missing and lm_sensors didn't find it, because you don't have a manual for it. Try for other owners
http://www.linux-laptop.net
Wasn't helpful at all.
I did lots of google search on that website and didn't get anything useful
 
Old 01-04-2011, 02:55 AM   #14
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,375

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Well, I tried. Nobody twists my arm - I'm a volunteer, trying to help.

The bottom line is that I don't think you are talking to temperature control chip.
 
Old 01-04-2011, 03:51 PM   #15
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Make sure to have the modules 'fan' 'processor' 'thermal' inserted. I don't think the lm-sensors are important.
 
  


Reply

Tags
fan


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
ACPI or lm-sensors fan control on Sony Vaio (fan runs at full speed) roanm Linux - Hardware 7 11-14-2009 07:37 PM
HP/Compaq NC8230 ACPI Fan Control / Fan Sensors / ACPI Questions Freaksta Linux - Hardware 2 02-11-2008 07:20 AM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 02:18 AM


All times are GMT -5. The time now is 01:09 AM.

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