This evening, I installed
tMon 1.3, another Karamba Theme
I noticed, that I never installed lm_sensors on one of my systems, so I took the chance and patched my system.
Here is, what I did. It's really easy:
First of all, I checked if my chipset is supported. You can do this
here. WARNING: If you're a IBM Thinkpad user, DON'T DO IT. It might seriously
destroy your hardware.
If your hardware is supported go to the
Download Section and download both packages:
i2c-2.8.0 (121kB)
lm_sensors-2.8.0 (656kB)
As always, the version numbers might have changed in the meantime. Extract the archives anywhere and go to this directory. We're going to create kernel patches, which we will apply to your kernel in the next step. Attention: Kernel 2.4.13 or higher
required!
# cd i2c-2.8.0
# mkpatch/mkpatch.pl . /usr/src/linux > /tmp/i2c-patch
# cd ..
# cd lm_sensors-2.8.0
# mkpatch/mkpatch.pl . /usr/src/linux > /tmp/sensors-patch
Let's apply those patches:
# cd /usr/src/linux
# patch -p1 < /tmp/i2c-patch
# patch -p1 < /tmp/sensors-patch
Now configure your kernel as usual (make menuconfig e.g.), go to "Character Devices" and "I2C". Select as modules:
"I2C support"
"I2C mainboard interfaces"
-> "Pseudo ISA adapter (for some hardware sensors)"
"I2C device interface"
"I2C /proc interface (required for hardware sensors)"
Go back to "Character Devices", select "Hardware sensors support". Select your individual device there! To find it out, try: lspci -v
Last step, full kernel recompile:
make clean dep bzImage modules modules_install
After the reboot, you should at least load these modules:
- i2c-core
- i2c-proc
- i2c-isa
- your device module (in my case: it87)
- i2c-dev
To get the information out of the sensors, you'll still need the userland tools. Those are usually delivered with your distribution. Although, it might be possible, that your distribution is not up-to-date. In this case, you'll have to compile them yourself. They are stored in ".../lm_sensors-2.8.0/prog/...", which you recently extracted.
Good luck!