Skip to contentSkip to conversation

lmsensors-CVS on 2.6.0-test10

DISCUSSION Daniel Schregenberger 3 participants 5 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello!

I'm using an ASUS P4C800E-Deluxe which has a Winbond w83627thf SuperIO-Chip. I have to use the beta Kernel because the Onboard LAN and the SerialATA-Controller cause each other problems under 2.4.x (the LAN won't work there).

I've tried to load the new user-space tools as suggested on the homepage but it didn't work out. I'm not sure where the problem is. Maybe I missed something I should compile into the kernel (do I need those I2C-Algorithm-Modules (BitBanging-Device etc.) ?; and what about ISA-Support? I don't have any ISA-Slots so I turned it off but apparently the ISA-Bus is still present...)

Here are the results of my tries:

# modprobe i2c-i801
# ./lm_sensors2/prog/detect/i2cdetect 
Error: No i2c-bus specified!
Syntax: i2cdetect I2CBUS
  I2CBUS is an integer
  Installed I2C busses:
    i2c-0       unknown         SMBus I801 adapter at 0400             
Algorithm unavailable
# modprobe w83781d
# sensors 
No sensors found!
# lsmod
Module                  Size  Used by
w83781d                33856  0 
i2c_sensor              2304  1 w83781d
i2c_i801                7052  0 
i2c_core               21124  3 w83781d,i2c_sensor,i2c_i801

I also tried 2.7.1 before I figured out I need 2.6 to enable my LAN and this is what sensorsdetect (under 2.4.x) told me to load:
MODULE_0=i2c-i801
MODULE_1=i2c-isa
MODULE_2=lm75
MODULE_3îprom
MODULE_4=smbus-arp
MODULE_5=it87

So now I tried to load these modules (as far as they existed) on 2.6:

# modprobe lm75
# modprobe eeprom
# modprobe it87  
# sensors 
eeprom-i2c-0-52
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: data 1

eeprom-i2c-0-50
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: data 1

lm75-i2c-0-49
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: Can't get temperature data!

lm75-i2c-0-48
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: Can't get temperature data!

Since this didn't work out and sensorsdetect not always gave me the same results when I started it back in 2.4.x I don't really know what to do know. sensorsdetect isn't yet functional on 2.6 kernels so I'm a bit lost.

Any help appreciated. I can provide more information if necessary, just tell me what you need.

Oh and I also tried it on test9 before I installed test10 with the same results.

-- Daniel

#1 lore raw

[Replying to my own mail]

I got it working!
All I had to do was to include ISA support in the kernel. (in the meantime I switched to test11)

Now I load the following modules:
w83781d, i2c_sensor, i2c_dev, i2c_isa, i2c_i801, i2c_core and get these results from sensors:

w83627thf-isa-0290

Adapter: ISA adapter
Algorithm: ISA algorithm
in0:       +3.14 V  (min =  +0.00 V, max =  +0.00 V)              
in1:       +3.20 V  (min =  +0.00 V, max =  +0.00 V)              
in2:       +3.36 V  (min =  +2.98 V, max =  +3.63 V)              
in3:       +3.04 V  (min =  +2.69 V, max =  +3.26 V)              
in4:       +3.07 V  (min =  +2.85 V, max =  +3.46 V)              
in7:       +3.04 V  (min =  +2.69 V, max =  +3.26 V)              
in8:       +3.30 V  (min =  +2.70 V, max =  +3.30 V)       ALARM  
fan1:        0 RPM  (min =  187 RPM, div = 32)                     
fan2:        0 RPM  (min = 3000 RPM, div = 2)                     
fan3:     2500 RPM  (min = 1500 RPM, div = 4)                     
temp1:       +31?C  (high =  +127?C, hyst =   +60?C)   sensor thermistor           
temp2:     +33.0?C  (high =   +60?C, hyst =   +50?C)   sensor PII/Celeron diode           
temp3:    +208.0?C  (high =   +50?C, hyst =   +50?C)   sensor thermistor           
vid:      +0.000 V

alarms:
beep_enable:
Sound alarm disabled

Now I'll have to find the proper settings in the conf file for my board. Some strange things in the above listing are: fan3 is the power supply and corresponds exactly with the real values but the processor fan is not listed. Maybe because my BIOS always complains it "failed"? It rotates very slow since I exchanged the Intel boxed for a more silent one. But it definately rotates. :)
And I don't know what temperature belongs to CPU or mainboard and what's the third?

Anyway: seems I'm on the right way.

-- Daniel

Quoted 86 lines · Daniel Schregenberger

Hello!

I'm using an ASUS P4C800E-Deluxe which has a Winbond w83627thf SuperIO-Chip. I have to use the beta Kernel because the Onboard LAN and the SerialATA-Controller cause each other problems under 2.4.x (the LAN won't work there).

I've tried to load the new user-space tools as suggested on the homepage but it didn't work out. I'm not sure where the problem is. Maybe I missed something I should compile into the kernel (do I need those I2C-Algorithm-Modules (BitBanging-Device etc.) ?; and what about ISA-Support? I don't have any ISA-Slots so I turned it off but apparently the ISA-Bus is still present...)

Here are the results of my tries:

# modprobe i2c-i801
# ./lm_sensors2/prog/detect/i2cdetect 
Error: No i2c-bus specified!
Syntax: i2cdetect I2CBUS
  I2CBUS is an integer
  Installed I2C busses:
    i2c-0       unknown         SMBus I801 adapter at 0400             
Algorithm unavailable
# modprobe w83781d
# sensors 
No sensors found!
# lsmod
Module                  Size  Used by
w83781d                33856  0 
i2c_sensor              2304  1 w83781d
i2c_i801                7052  0 
i2c_core               21124  3 w83781d,i2c_sensor,i2c_i801

I also tried 2.7.1 before I figured out I need 2.6 to enable my LAN and this is what sensorsdetect (under 2.4.x) told me to load:
MODULE_0=i2c-i801
MODULE_1=i2c-isa
MODULE_2=lm75
MODULE_3îprom
MODULE_4=smbus-arp
MODULE_5=it87

So now I tried to load these modules (as far as they existed) on 2.6:

# modprobe lm75
# modprobe eeprom
# modprobe it87  
# sensors 
eeprom-i2c-0-52
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: data 1

eeprom-i2c-0-50
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: data 1

lm75-i2c-0-49
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: Can't get temperature data!

lm75-i2c-0-48
Adapter: SMBus I801 adapter at 0400
Algorithm: Unavailable from sysfs
ERROR: Can't get temperature data!

Since this didn't work out and sensorsdetect not always gave me the same results when I started it back in 2.4.x I don't really know what to do know. sensorsdetect isn't yet functional on 2.6 kernels so I'm a bit lost.

Any help appreciated. I can provide more information if necessary, just tell me what you need.

Oh and I also tried it on test9 before I installed test10 with the same results.

-- Daniel

#2 lore raw
In reply to Daniel Schregenberger
Quoted 6 lines · Jean Delvare
Quoted 3 lines

I got it working!
All I had to do was to include ISA support in the kernel. (in the meantime I switched to test11)

You are also invited to update your local lm_sensors2 CVS repository. We've been fixing a couple of problems these last few days.

I did this right before I started. On the last try sensors gave me segfaults no matter what modules were loaded, but now it's ok.

Quoted 3 lines
Quoted 3 lines

Now I load the following modules:
w83781d, i2c_sensor, i2c_dev, i2c_isa, i2c_i801, i2c_core and get these results from sensors:

[...]

Quoted 7 lines
Quoted 2 lines

Now I'll have to find the proper settings in the conf file for my board.

That's the least to say. Looks like you don't have a config file at all. Make sure you have /etc/sensors.conf. If not, copy it from lm_sensors2/etc/sensors.conf.eg. It should be a lot better (both labels and values).

You're right, I don't have one. :)
I remember seeing a post on the web by someone with the same board as me. I think I'll search my history and use this as a starting configuration.

Quoted 10 lines
Quoted 5 lines

Some strange things in the above listing are: fan3 is the power supply and corresponds exactly with the real values but the processor fan is not listed. Maybe because my BIOS always complains it "failed"? It rotates very slow since I exchanged the Intel boxed for a more silent one. But it definately rotates. :)

Then you want to play with divisors. Slower fans need increased divisors. If it's very slow, you need a very big divisor. In this case it would be fan2 (since fan1 already as max divisor and still doesn't show any value).

OK. Thanks for the hint. I'll try this.

Quoted 8 lines
Quoted 2 lines

And I don't know what temperature belongs to CPU or mainboard and what's the third?

Usually, temp1 is the chipset internal temperature, which is considered to be your motherboard temperature. temp2 would be your CPU here, you can run some compilation job or even cpuburn to make sure (the CPU temperature will raise quickly). temp3 is probably not wired to anything, 208 is a common value in this case.

OK. Thanks. I think this conforms with my BIOS, there are also onyl 2 temperatures as far as I remember. And yes, I tried it: temp2 is my CPU...it's also indicated in the output but I didn't realize it at first.

-- Daniel

#3 lore raw
In reply to Daniel Schregenberger
Quoted 3 lines

I got it working!
All I had to do was to include ISA support in the kernel. (in the meantime I switched to test11)

You are also invited to update your local lm_sensors2 CVS repository. We've been fixing a couple of problems these last few days.

Quoted 21 lines

Now I load the following modules:
w83781d, i2c_sensor, i2c_dev, i2c_isa, i2c_i801, i2c_core and get these results from sensors:

w83627thf-isa-0290

Adapter: ISA adapter
Algorithm: ISA algorithm
in0:       +3.14 V  (min =  +0.00 V, max =  +0.00 V)              
in1:       +3.20 V  (min =  +0.00 V, max =  +0.00 V)              
in2:       +3.36 V  (min =  +2.98 V, max =  +3.63 V)              
in3:       +3.04 V  (min =  +2.69 V, max =  +3.26 V)              
in4:       +3.07 V  (min =  +2.85 V, max =  +3.46 V)              
in7:       +3.04 V  (min =  +2.69 V, max =  +3.26 V)              
in8:       +3.30 V  (min =  +2.70 V, max =  +3.30 V)       ALARM  
fan1:        0 RPM  (min =  187 RPM, div = 32)                     
fan2:        0 RPM  (min = 3000 RPM, div = 2)                     
fan3:     2500 RPM  (min = 1500 RPM, div = 4)                     
temp1:       +31?C  (high =  +127?C, hyst =   +60?C)   sensor > thermistor           
temp2:     +33.0?C  (high =   +60?C, hyst =   +50?C)   sensor > PII/Celeron diode           
temp3:    +208.0?C  (high =   +50?C, hyst =   +50?C)   sensor > thermistor           
vid:      +0.000 V
Quoted 6 lines

alarms:
beep_enable:
Sound alarm disabled

Now I'll have to find the proper settings in the conf file for my board.

That's the least to say. Looks like you don't have a config file at all. Make sure you have /etc/sensors.conf. If not, copy it from lm_sensors2/etc/sensors.conf.eg. It should be a lot better (both labels and values).

Quoted 5 lines

Some strange things in the above listing are: fan3 is the power supply and corresponds exactly with the real values but the processor fan is not listed. Maybe because my BIOS always complains it "failed"? It rotates very slow since I exchanged the Intel boxed for a more silent one. But it definately rotates. :)

Then you want to play with divisors. Slower fans need increased divisors. If it's very slow, you need a very big divisor. In this case it would be fan2 (since fan1 already as max divisor and still doesn't show any value).

Quoted 2 lines

And I don't know what temperature belongs to CPU or mainboard and what's the third?

Usually, temp1 is the chipset internal temperature, which is considered to be your motherboard temperature. temp2 would be your CPU here, you can run some compilation job or even cpuburn to make sure (the CPU temperature will raise quickly). temp3 is probably not wired to anything, 208 is a common value in this case.

Let us know how it goes.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Daniel Schregenberger

Replying to myself again, to have some context.

Quoted 2 lines · Daniel Schregenberger
Quoted 2 lines
Quoted 2 lines

Now I load the following modules:
w83781d, i2c_sensor, i2c_dev, i2c_isa, i2c_i801, i2c_core

I could strip this down to: i2c-core, i2c-i801, i2c-isa, i2c-sensor and w83781d.

Quoted 10 lines
Quoted 1 line
Quoted 1 line

and get these results from sensors:

[...]

Quoted 7 lines
Quoted 2 lines

Now I'll have to find the proper settings in the conf file for my board.

That's the least to say. Looks like you don't have a config file at all. Make sure you have /etc/sensors.conf. If not, copy it from lm_sensors2/etc/sensors.conf.eg. It should be a lot better (both labels and values).

Quoted 4 lines

You're right, I don't have one. :)
I remember seeing a post on the web by someone with the same board as me. I think I'll search my history and use this as a starting configuration.

I did this and didn't had to make any changes. Temperatures and Fan-Speeds seem ok and that's all I need.

[Source for my sensors.conf:
http://archives.andrew.net.au/lm-sensors/msg04948.html
]

Sidenote: integration with gkrellm2 is also working.

Thanks for your help and for a great piece of software!

-- Daniel