
i2c and sensor drivers ported from 2.4.0-test-x i2c drivers and lm_sensors-2.5.4.
A few of them are rewritten and modified to make it work with 2.2.x and 2.4.x.

You need kernel source tree which has .config file on top of the source tree.
And it should be the kernel which will be run with this i2c drivers.

To compile

# make

It will use /usr/src/linux source tree.
To change it, use KERNSRC like this.

# make KERNSRC=/root/linux-2.4.0

To install

# make install

It'll install modules to appropriate directoies depends on kernrel version.
Version informantion in Makefile under kernel source tree is very important.
Redhat has multiple kernels in their distribution but their Makefile in
kernel source tree has incorrect version information for smp.
Actually they are not wrong but they named smp kernel like 2.2.4-6.0smp
so Makefile for smp kernel has to have the same name.
So you need to modify that information 
like
EXTRAVERSION=-6.0    ->    EXTRAVERSION=-6.0smp

without that modules will resist to be insloaded.

And a daemon program named hwmon will be installed to /usr/sbin/
after everything is installed just run hwmon. 
and copy a appropriate configuration file to /etc/hwmon.conf
And it has a few options

hwmon [-d] [-f fan_low_lim] [-u temp_high] [-l temp_low] [-i poll_interval]

-d is for daemon mode.

And another file hwmon.d will be installed to /etc/rc.d/init.d/hwmon
and symlink /etc/rc.d/rc3.d/S99hwmon to that file.
So from next reboot it'll be run as a daemon process automatically.

