[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: monitoring cpu temperature, fan etc...



Hugo Vanwoerkom wrote:
------------------------------------------
Thomas Beresford wrote:

    Hello,

    I'm using a debian woody mixed system (have stable, testing and unstable packages
    installed). My kernel version is 2.4.18-k7 (stable). The machine is an AMD Athlon
    XP 2000+ with ASUS A7V8X motherboard.

    First of all, I'd like to know if it is actually possible to monitor the CPU
temperature and Fan speed and voltage on my computer.


yes it is. I do it: http://esquipulas.homeunix.com/index.php?p=59
This is a 2.6.9 system so i2c is in the kernel, it uses the -dev package to
access the sensor data, and Qt to show it, placed in a wharf with fvwm.
I have an ABIT KT7A mobo, older than yours, with an 850MHz Athlon, also older
than yours.


     I thought about using Gkrellm with lm_sensors. However, I had some problems
installing lm_sensors and i2c. Firt, I downloaded the latest unstable lm-sensors
package, the lm-sensors-source and i2c-source packages through apt-get. Then I
tried to build lm_sensors and i2c modules using module-assistant following the
docs instructions. It all went fine, except that after running the command:


    # module-assistant build lm-sensors-source

    In the end of the process I've got the following message:

    # Done! Run # m-a install lm-sensors-source # to install.

    and right below:

    # Done with /usr/src/lm-sensors-source-2.4.18-k7_1:2.7.0-13+2.4.18-5_i386.deb .

I've tried to run m-a install lm-sensors-source but it shows an error message
saying that the package was not built succesfully. However, the deb package that
was supposed to be created is there. So I installed the deb package with dpkg -i
without any problems.


    The exact same thing happened when building i2c-source.

So I tried to run sensors-detect. It detected a few things and loaded a few
modules. I followed all the instructions given. But after rebooting, the modules
were loaded but no info came out from the sensors command except a module name



let's stick with sensors for a second, what exactly does it say?



    and Gkrellm didn't detect any sensor. Why is that? Did I make a mistake in some
    point or lm_sensors does not support the sensors in the A7V8X motherboard?
    Please help me!

--------------------------------------------

Well, I managed to solve the problem somehow. The problem was that the
lm-sensors-source and i2c-source packages provided by the debian repository are
outdated (version 2.7)! So the asb100 chip was not supported on that version and
it was exactly the asb100 module that was missing! 

So I downloaded the latest source from the lm_sensors site and compiled it.
Howver, I've faced some problems doing that, since the debian system has a
different directory structure and the configuration of certain things follow a
certain policy. So to install i2c and lm_sensors I had to "screw up" some
configuration files... :)
Anyway, in the end, I was able to make my Gkrellm display all the info from my board.

In order to minimize the configuration files "screwing up", I installed the
latest lm-sensors package from the debian repository (version 2.8) and installed
the i2c and lm_sensors modules from the original source. However I made the
lm_sensors install its files in /opt/lm-sensors so it wouldn't conflict with
those provided by the debian package. 

That was the best way I found out to solve this. If anyone has a better solution,
please don't hesitate in telling me! Thanks for your help!

Thomas Beresford 





Reply to: