All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a
@ 2012-01-15 20:10 emilio
  2012-01-15 20:29 ` Jean Delvare
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: emilio @ 2012-01-15 20:10 UTC (permalink / raw)
  To: lm-sensors

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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a
  2012-01-15 20:10 [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a emilio
@ 2012-01-15 20:29 ` Jean Delvare
  2012-01-16 10:12 ` Jean Delvare
  2012-01-16 13:42 ` e_defranco
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2012-01-15 20:29 UTC (permalink / raw)
  To: lm-sensors

Hi Emilio,

On Sun, 15 Jan 2012 20:10:39 +0000 (GMT), emilio wrote:
> 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.

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

> 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.

> 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.

> 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.

> 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.)

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a
  2012-01-15 20:10 [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a emilio
  2012-01-15 20:29 ` Jean Delvare
@ 2012-01-16 10:12 ` Jean Delvare
  2012-01-16 13:42 ` e_defranco
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2012-01-16 10:12 UTC (permalink / raw)
  To: lm-sensors

Hi Emilio,

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

On Sun, 15 Jan 2012 23:57:41 +0100, e_defranco wrote:
> 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.

> 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.

> 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

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a
  2012-01-15 20:10 [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a emilio
  2012-01-15 20:29 ` Jean Delvare
  2012-01-16 10:12 ` Jean Delvare
@ 2012-01-16 13:42 ` e_defranco
  2 siblings, 0 replies; 4+ messages in thread
From: e_defranco @ 2012-01-16 13:42 UTC (permalink / raw)
  To: lm-sensors

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" <khali@linux-fr.org>
To: "emilio" <e_defranco@yahoo.co.uk>
Cc: "LM Sensors" <lm-sensors@lm-sensors.org>
Sent: Monday, January 16, 2012 11:12 AM
Subject: Re: [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a


> Hi Emilio,
>
> Please keep the list Cc'd for the interest of other readers (which
> might then turn into helpers.)
>
> On Sun, 15 Jan 2012 23:57:41 +0100, e_defranco wrote:
>> 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.
>
>> 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.
>
>> 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
>
> -- 
> Jean Delvare
> http://khali.linux-fr.org/wishlist.html 


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-16 13:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-15 20:10 [lm-sensors] kernel 2.6.32 i2c-isa w83781d via686a emilio
2012-01-15 20:29 ` Jean Delvare
2012-01-16 10:12 ` Jean Delvare
2012-01-16 13:42 ` e_defranco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.