|
Revision 795, 1.4 kB
(checked in by frodo, 9 years ago)
|
Warnings to have i2c-algo-bit available.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY! |
|---|
| 2 |
The instructions in this document will only work if you have a standard |
|---|
| 3 |
system, and may cause problems. |
|---|
| 4 |
|
|---|
| 5 |
Quickstart: |
|---|
| 6 |
* 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/). |
|---|
| 10 |
* Install the i2c package. This won't do any harm, even if use a very |
|---|
| 11 |
recent 2.3 or 2.4 kernel, though it may be unnecessary. At the very |
|---|
| 12 |
least, make sure you have i2c-algo-bit either compiled into your |
|---|
| 13 |
kernel or available as a module somewhere. |
|---|
| 14 |
* Do a `make' followed by a `make install'. The warnings about .d |
|---|
| 15 |
files at the start are harmless. |
|---|
| 16 |
* Add the line |
|---|
| 17 |
path=/lib/modules/current/extra |
|---|
| 18 |
to /etc/conf.modules or /etc/modules.conf (whichever one exists) |
|---|
| 19 |
if it is not there yet |
|---|
| 20 |
* Do a `depmod -a'. |
|---|
| 21 |
* Add the line |
|---|
| 22 |
/usr/local/lib |
|---|
| 23 |
to /etc/ld.so.conf if it is not there yet. |
|---|
| 24 |
* Do a `ldconfig'. |
|---|
| 25 |
* Run `prog/mkdev/mkdev.sh' to create the device files |
|---|
| 26 |
* Run `prog/detect/sensors-detect' to detect your hardware, put |
|---|
| 27 |
the lines it suggests into /etc/conf.modules or /etc/modules.conf |
|---|
| 28 |
(whichever one exists) and enter the modprobe lines it suggests. |
|---|
| 29 |
* Run `sensors' to see your output. |
|---|
| 30 |
* That's all folks! |
|---|