| 1 |
I2C TOOLS FOR LINUX |
|---|
| 2 |
=================== |
|---|
| 3 |
|
|---|
| 4 |
This package contains an heterogeneous set of I2C tools for Linux. These tools |
|---|
| 5 |
were originally part of the lm-sensors package but were finally split into |
|---|
| 6 |
their own package for convenience. |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
CONTENTS |
|---|
| 10 |
-------- |
|---|
| 11 |
|
|---|
| 12 |
The various tools included in this package are grouped by category, each |
|---|
| 13 |
category has its own sub-directory: |
|---|
| 14 |
|
|---|
| 15 |
* eeprom |
|---|
| 16 |
Perl scripts for decoding different types of EEPROMs (SPD, EDID...) These |
|---|
| 17 |
scripts rely on the "eeprom" kernel driver. They are installed by default. |
|---|
| 18 |
|
|---|
| 19 |
* eepromer |
|---|
| 20 |
Tools for writing to EEPROMs. These tools rely on the "i2c-dev" kernel |
|---|
| 21 |
driver. They are not installed by default. |
|---|
| 22 |
|
|---|
| 23 |
* include |
|---|
| 24 |
C/C++ header files for I2C and SMBus access over i2c-dev. Installed by |
|---|
| 25 |
default. |
|---|
| 26 |
|
|---|
| 27 |
* py-smbus |
|---|
| 28 |
Python wrapper for SMBus access over i2c-dev. Not installed by default. |
|---|
| 29 |
|
|---|
| 30 |
* stub |
|---|
| 31 |
A helper script to use with the i2c-stub kernel driver. Installed by |
|---|
| 32 |
default. |
|---|
| 33 |
|
|---|
| 34 |
* tools |
|---|
| 35 |
I2C device detection and register dump tools. These tools rely on the |
|---|
| 36 |
"i2c-dev" kernel driver. They are installed by default. |
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
INSTALLATION |
|---|
| 40 |
------------ |
|---|
| 41 |
|
|---|
| 42 |
There's no configure script, so simply run "make" to build the tools, and |
|---|
| 43 |
"make install" to install them. You also can use "make uninstall" to remove |
|---|
| 44 |
all the files you installed. By default, files are installed in /usr/local |
|---|
| 45 |
but you can change this behavior by editing the Makefile file and setting |
|---|
| 46 |
prefix to wherever you want. You may change the C compiler and the |
|---|
| 47 |
compilation flags as well. |
|---|
| 48 |
|
|---|
| 49 |
Optionally, you can run "make strip" prior to "make install" if you want |
|---|
| 50 |
smaller binaries. However, be aware that this will prevent any further |
|---|
| 51 |
attempt to debug the programs. |
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
DOCUMENTATION |
|---|
| 55 |
------------- |
|---|
| 56 |
|
|---|
| 57 |
The main tools have manual pages, which are installed by "make install". |
|---|
| 58 |
See these manual pages for command line interface details and tool specific |
|---|
| 59 |
information. |
|---|
| 60 |
|
|---|
| 61 |
The other tools come with simple text documentation, which isn't installed. |
|---|