sensor questions

François Patte francois.patte at math-info.univ-paris5.fr
Thu Jan 5 21:51:22 UTC 2006


Alexander Dalloz a écrit :
> Am Do, den 05.01.2006 schrieb François Patte um 15:45:
> 
> 
>>I have a asus p5wd2 premium mobo and I wonder how control temperatures
>>and fan speeds.
>>
>>there is nothing in /proc/acpi/thermal_zone .../fan
> 
> 
> Wrong location. I2C sensors data is to be found inside
> /sys/bus/i2c/devices/ (when running kernel 2.6).

OK. But informations are not clear at all: for instance (after following
a lot of symlink) I read files: temp1_input   39000 (39000 what?),
temp1_max 45000 (what?), temp1_max_hyst 40000 (what?) Same for temp2 and 3

I got more info using "sensors" command:

Sys Temp:    +38°C  (high =   +45°C, hyst =   +40°C)
CPU Temp:  +55.0°C  (high = +45.0°C, hyst = +40.0°C)
temp3:     +67.5°C  (high = +80.0°C, hyst = +75.0°C)

It seems that CPU is "overheated" but where all this can be configured?
And what is the meaning of "hyst"? And what is this 3rd temperature (one
more time!)

there are also files for fans (x=1, 2, 3, 4) fanx_div fanx_input
fanx_min seem to be related to the fan speed....

> 
> 
>>I used gkrellm
>>
>>this gives me 3 temperatures: I cannot know which is which... average of
>>temp1 is 40°C, temp2 is 55°C and temp3 125°C
>>
>>How can I know what is measured by these temperatures?
> 
> 
> Those are ACPI thermal zones.

Yes, but which ones? I have only 2 thermal reports in the bios: CPU and
MB what is the 3rd one?


> 
> 
>>gkrellm gives me also 4 fans: only one is working, CPU fan I think. How
>>can I get the others working: I have 3 more fans installed on my tower
>>(Antec P180) and is it possible (and how?) to controll all fans speed
>>according to the remperatures in the tower.
> 
> 
> Do all fans provide sensors data? Not all fans do so. Are all fan
> connectors on the motherboard have sensor chip connections or do they
> just provide power? What do you mean by "control": speed regulation or
> just getting the fan speed value?

Speed regulation (and value) but this seems to be available with some
fans only. I openned the tower and the tower fans have only 2 wires, the
sockets on the MB are for 3.

> 
> 
>>I run  2.6.14-1.1653_FC4smp kernel and there are no fan, processor,
>>thermal.... modules available; are these modules necessary to control
>>all these hardwares and, if yes, how can I compile them for my kernel? I
>>read http://fedora.redhat.com/docs/release-notes/fc4/errata/#sn-kernel
> 
> 
> I am sure the kernel has the required I2C modules. Did you run
> sensors-detect?

Yes. I can't understand this:

<----
Next adapter: SMBus I801 adapter at 0400
Do you want to scan it? (YES/no/selectively):
Client found at address 0x08
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!
Client at address 0x50 can not be probed - unload all client drivers first!
Client at address 0x52 can not be probed - unload all client drivers first!
----->

I tried to unload all related i2c modules but, after that, result is the
same.

scan of the ISA bus failed everywhere

scan for Super I/O sensors failed everywhere except:

<----
Probing for `Winbond W83627EHF Super IO Sensors'
  Success... found at address 0x0290
----->

scan for secondary Super I/O sensors failed

> Did you compare the motherboard manual information about
> the sensors chip with the information about the lm_sensors software?

i did not find any info about this (except BIOS settings) n the mobo
booklet.

> 
> 
>>"7.2.2.4. Building Only Kernel Modules"
>>
>>but did not understand how to build the correct Makefile to compile,
>>say, the thermal module: changing what is to be changed in the given
>>example, I get a "nothing to do for default" as a result....
> 
> 
> What do you try to compile? And what did you change from the default?

Here is infos given on redhat site:

<----------

 For example, to build the foo.ko module, create the following Makefile
in the directory containing the foo.c file:

obj-m := foo.o

KDIR  := /lib/modules/$(shell uname -r)/build
PWD   := $(shell pwd)

default:
    $(MAKE) -C $(KDIR) M=$(PWD) modules

Issue the make command to build the foo.ko module.
---------->

I tried to compile "fan" module: I replaced "foo" by "fan". this didn't
work.... I changed $(shell uname -r) by `uname -r` and same for "$(shell
pwd)" for I did not understand what was the exact meaning of this (so
did gcc which complained about "unknown command "shell"!)

In that case I did not get error message, only: nothing to do for default.

> 
> 
>>When compiling some program, I recently got this message:
>>
>>  CPU1: Temperature above threshold, cpu clock throttled
>>
>>Which I don't really understand... "cpu clock throttled" what is the
>>exact meaning and where is the cpu clock defined?
> 
> 
> The Pentium IV and Xeons reduce their clock speed to avoid a burn out,
> i.e. if the cooler is not working properly and temperature values are
> left.

this is a pentium D and according to the "sensors" command, CPU is
always overheated....

> 
> 
>>Last question: I cannot start cpuspeed service, how can I do that and
>>how to configure this service.
> 
> 
> Why can't you start that service?

I run "service cpuspeed start" (no OK displayed), then I check with
"service cpuspeed status". Answer is: "cpuspeed is stopped"

Thanks for your present answer and, I hope, following lights....
-- 
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte





More information about the fedora-list mailing list