I2C Tools

From Linux i2c Wiki
Revision as of 20:21, 10 March 2021 by Wsa (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


I2C Tools for Linux

The i2c-tools package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access. All versions of Linux are supported, as long as I2C support is included in the kernel.

These tools used to be part of the lm-sensors package, but were later split to a separate package. The rationale for that move is that not all hardware monitoring chips are I2C devices, and not all I2C devices are hardware monitoring chips, so having everything in a single package was confusing and impractical.

The current major version of i2c-tools is version 4. See the (still ongoing) plan that led there.


All released packages can be downloaded from https://www.kernel.org/pub/software/utils/i2c-tools/ (Mirror.) Files are signed by Jean Delvare.

Recommended patches on top of 4.2:

Recommended patches for branch 3.1:

Git Repository

If you have git installed on your machine, you can check out the latest version of the stable code using the following command:

 git clone git://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git

Or for the legacy branch:

 git clone git://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git -b i2c-tools-3.1

You can also navigate the repository online at: https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/

Discussion and Bug Reports

For discussion and patches, use the linux-i2c mailing list, and Cc the current maintainer (find who that is at the bottom of the README file.)

Bugs can be filled at kernel.org's bugzilla under product "Tools", component "i2c-tools".

Personal tools