Changeset 3828 for i2c/trunk/QUICKSTART

Show
Ignore:
Timestamp:
07/25/03 09:56:42 (11 years ago)
Author:
khali
Message:

Moved from lk2-4; see that branch for additional history.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/QUICKSTART

    r3484 r3828  
    33system, and may cause problems. 
    44 
    5 Quickstart: 
     5Quickstart for compiling outside the kernel. 
     6This is by far the EASIEST METHOD. 
     7Other methods are described in INSTALL. 
     8------------------------------------------ 
     9 
     10  * Verify you are running a 2.4 kernel, 2.4.9 or later. 
     11 
    612  * Make sure you have the kernel tree corresponding to your current 
    7     kernel in /usr/src/linux. Distribution kernels usually won't do, 
    8     compile your own from a 'vanilla' tree (get one from 
    9     ftp://ftp.kernel/org/pub/linux/kernel/). 
     13    kernel in /lib/modules/(uname -r)/build. 
     14    Even if the source is there, it may not correspond to your running 
     15    kernel. If so, you will have to recompile your kernel. 
     16 
     17  * Do `lsmod'. If there are any old i2c or sensors modules loaded, 
     18    you MUST remove them (as root) with `rmmod'. 
     19 
     20  * Verify that your i2c support in the kernel is configured as 
     21    modules or is disabled. If it is compiled-in, you obviously 
     22    cannot replace it with modules in the next step. 
     23 
    1024  * Do a `make' followed by a `make install'. The warnings about .d 
    1125    files at the start are harmless. 
     26 
    1227  * Make sure you do a `depmod -a'. 
     28 
    1329  * That's all (but you need client drivers from some other source to do  
    14     anything interesting) 
     30    anything interesting - see the lm_sensors page: 
     31    http://secure.netroedge.com/~lm78/