Skip to contentSkip to conversation

kernel 2.6.32 i2c-isa w83781d via686a

lm-sensors emilio 2 participants 4 messages Jan 15, 2012 – Jan 16, 2012

lore
Share & tools
lore

emilio

author
#0 lore raw

I have an old mb austek K7V with via686a and w83781d devices.

Until some day ago, I was using a debian system with kernel 2.6.18.1 and lm-sensors 2.10.1.

sensors-detect correctly detect the devices and suggest to use the respective modules.

lsmod tell me that this module are loaded:

via686a;
w83781d;
i2c_isa;
i2c_viapro;
i2c_core.

with this configuration all working fine. In sensors.conf I have fine tunning the data for as99127 and the accuracy of the voltages and of the cpu fan is good (matched with the bios reading).

Now, on the same hardware I have installed an Ubuntu 10.04-03 LTS with kernel 2.6.32-37-generic.

I have installed the lm sensors 3.3.1 directly from ubuntu repository.

sensors-detect don't recognize the w83781d but only the via686a.

All reading are incorrect.

If I try to load with modprobe the w83781d this is loaded but I cannot read the sensors correctly (I read only via686a).

Installing from source code (recompiling for my kernel) the 2.10.8 lm sensor version (I have not the source code for the 2.10.1) the result is the same of the 3.3.1.

I think that the problem is the missing in kernel source of the module i2c-isa.

I read in internet that now the i2c support is included in the kernel, but if this is true, why lm-sensor not working with kernel 2.6.32-37 ?

ok, the mb is old, the via686a is not good supported, but: with kernel 2.6.18.1 and the i2c-isa all working fine for many years, why, now, with the new kernel I cannot have lm-sensors working again ?

There are some people that have some experience with ic2-isa missing in new kernel and have resolved the problem in other way ?

Thank in advance,

Emilio

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Emilio,

Quoted 18 lines · emilio

I have an old mb austek K7V with via686a and w83781d devices.

Until some day ago, I was using a debian system with kernel 2.6.18.1 and lm-sensors 2.10.1.

sensors-detect correctly detect the devices and suggest to use the respective modules.

lsmod tell me that this module are loaded:

via686a;
w83781d;
i2c_isa;
i2c_viapro;
i2c_core.

with this configuration all working fine. In sensors.conf I have fine tunning the data for as99127 and the accuracy of the voltages and of the cpu fan is good (matched with the bios reading).

Quoted 7 lines

Now, on the same hardware I have installed an Ubuntu 10.04-03 LTS with kernel 2.6.32-37-generic.

I have installed the lm sensors 3.3.1 directly from ubuntu repository.

sensors-detect don't recognize the w83781d but only the via686a.

All reading are incorrect.

Boot with additional parameter acpi_enforce_resources=no [1], blacklist module via686a [2] and run sensors-detect again. You should then be back on the same state you were before your upgrade.

[1] More details at:
http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31
Don't be frightened, on such an old board it is definitely safe.

[2] This is done by adding the following line to any file under /etc/modprobe.d/ :
blacklist via686a

Quoted 3 lines

If I try to load with modprobe the w83781d this is loaded but I cannot read the sensors correctly (I read only via686a).

Installing from source code (recompiling for my kernel) the 2.10.8 lm sensor version (I have not the source code for the 2.10.1) the result is the same of the 3.3.1.

Note: if you were using lm-sensors 2.10.x before and 3.x now, you'll have to run your old custom configuration script through sensors-conf-convert.

Quoted 1 line

I think that the problem is the missing in kernel source of the module i2c-isa.

No, it is not. i2c-isa is no longer needed.

Quoted 1 line

I read in internet that now the i2c support is included in the kernel, but if this is true, why lm-sensor not working with kernel 2.6.32-37 ?

Yes, i2c support is included in the kernel. It already was in kernel 2.6.18, this has nothing to do with your problem.

Quoted 1 line

ok, the mb is old, the via686a is not good supported, but: with kernel 2.6.18.1 and the i2c-isa all working fine for many years, why, now, with the new kernel I cannot have lm-sensors working again ?

See above. And I am fairly certain that i2c-isa was never actually needed on your board to start with, as it was a dependency of via686a which is NOT the right module for your system to start with (w83781d is.)

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to emilio

Hi Emilio,

Please keep the list Cc'd for the interest of other readers (which might then turn into helpers.)

Quoted 5 lines · e_defranco

thank you very much for your very fast and very accurate info. I am very gratefull to you ... I have spend my weekend to try to get lm-sensor working again.

I have applied what you suggest me and all working now !!!

You're welcome :) I had the same problem on my old Asus A7V133-C one year ago.

Quoted 8 lines

In this moment I have installed old 2.10.8 of lm-sensors (yes, I know, I am very lazy ... but i promise: update again to 3.3.1 in the next day) and I have copied my old sensors.conf in /etc (without, the negative voltage are not correct).

I have read that for new version 3.3.1 is sufficient put the part of old sensors.conf that working for the hardware in /etc/sensors.d ... is correct ??

Yes, this is correct. For performance reasons if nothing else, avoid copying the old very large default configuration file we had. Instead, copy only the specific configuration section you need to a separate configuration file.

Quoted 2 lines

If no, how I must convert the old file ? sensors-conf-convert /etc/sensors.conf ??

Assuming you have saved the relevant part of your old configuration file to /tmp/sensors-Asus-A7V.conf.old, you'd do:

# sensors-conf-convert < /tmp/sensors-Asus-A7V.conf.old > /etc/sensors.d/sensors-Asus-A7V.conf
Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author
#3 lore raw
In reply to emilio

Hi dear Jean !!

Thank again ... tonight I have removed the old version of lm-sensor and re installed the latest available in ubuntu repository (3.3.1).

I have copied only the relevant part for my chip from old sensors.conf in the new file in /etc named sensors.conf and all working fine !!!

What else ? .... working :-)

1000 Thank,

Emilio

----- Original Message -----
From: "Jean Delvare" <[email protected]>
To: "emilio" <[email protected]>
Cc: "LM Sensors" <[email protected]>
Sent: Monday, January 16, 2012 11:12 AM
Subject: Re: [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a

Quoted 33 lines

Hi Emilio,

Please keep the list Cc'd for the interest of other readers (which might then turn into helpers.)

Quoted 6 lines · e_defranco

thank you very much for your very fast and very accurate info. I am very gratefull to you ... I have spend my weekend to try to get lm-sensor working
again.

I have applied what you suggest me and all working now !!!

You're welcome :) I had the same problem on my old Asus A7V133-C one year ago.

Quoted 11 lines

In this moment I have installed old 2.10.8 of lm-sensors (yes, I know, I am
very lazy ... but i promise: update again to 3.3.1 in the next day) and I have copied my old sensors.conf in /etc (without, the negative voltage are
not correct).

I have read that for new version 3.3.1 is sufficient put the part of old sensors.conf that working for the hardware in /etc/sensors.d ... is correct
??

Yes, this is correct. For performance reasons if nothing else, avoid copying the old very large default configuration file we had. Instead, copy only the specific configuration section you need to a separate configuration file.

Quoted 12 lines
Quoted 2 lines

If no, how I must convert the old file ? sensors-conf-convert /etc/sensors.conf ??

Assuming you have saved the relevant part of your old configuration file to /tmp/sensors-Asus-A7V.conf.old, you'd do:

# sensors-conf-convert < /tmp/sensors-Asus-A7V.conf.old > 
/etc/sensors.d/sensors-Asus-A7V.conf
Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html 

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors