Changeset 3828 for i2c/trunk/QUICKSTART
- Timestamp:
- 07/25/03 09:56:42 (10 years ago)
- Files:
-
- 1 modified
-
i2c/trunk/QUICKSTART (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/QUICKSTART
r3484 r3828 3 3 system, and may cause problems. 4 4 5 Quickstart: 5 Quickstart for compiling outside the kernel. 6 This is by far the EASIEST METHOD. 7 Other methods are described in INSTALL. 8 ------------------------------------------ 9 10 * Verify you are running a 2.4 kernel, 2.4.9 or later. 11 6 12 * 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 10 24 * Do a `make' followed by a `make install'. The warnings about .d 11 25 files at the start are harmless. 26 12 27 * Make sure you do a `depmod -a'. 28 13 29 * 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/
