On Mon, 31 Jan 2000, Edward Schernau wrote:
> Date: Mon, 31 Jan 2000 18:23:50 -0500
> To: [EMAIL PROTECTED]
> From: Edward Schernau <[EMAIL PROTECTED]>
> Reply-To: Discussion List for Linux on Abit Motherboards
> <[EMAIL PROTECTED]>
> Subject: [LINUX-ABIT] i2c, smbus, lm_sensors
> 
> is it me, or is this completely impossible to install?
> 
> Or did I not get the magic install file?  Are there docs?
> 

1. untar a virgin kernel (of your choice, into the appropriate loaction).
2. Read INSTALL in the root of your lm_sensors distro:

There is a special script which should be able to generate diffs against
any 2.0, 2.1, 2.2 and 2.3 kernel. Please report any problems to our
mailinglist. Note that it may fail, and probably silently, if you have
applied other patches to your kernel tree, or for very new kernels.
It *is* safe to run it if your kernel already has the lm_sensors drivers.
It will only work if you applied the i2c patches first.

The kernel diffs are generated by the program `mkpatch.pl' in the mkpatch
subdirectory. It needs two arguments: the first one is the root of the
i2c package, the second one is the root of the kernel tree against
which the diffs will be generated. For example:
  cd /tmp/lm_sensors-2.4.0
  mkpatch/mkpatch.pl . /usr/src/linux > /tmp/sensors-patch
You can apply the diffs as usual:
  cd /usr/src/linux
  patch -p1 -E < /tmp/sensors-patch
Genearation and application can easily be done in one step:
  mkpatch/mkpatch.pl . /usr/src/linux | patch -p1 -E -d /usr/src/linux
The generated diffs are of course only valid for the kernel version 
against which mkpatch.pl was run.

Once you have applied the patches, you can configure and compile your
kernel as usual. You will see the sensors configuration screen under the
`Character Devices' menu in menuconfig, but it will only be available
if you selected base I2C support.

3. Read all the documentation in doc/ (strangely enough)

Timbo.

--
=-          To unsubscribe, email [EMAIL PROTECTED] with the       -=
=-                body of "unsubscribe linux-abit".                 -=

Reply via email to