I2C Tools

From Linux i2c Wiki
(Difference between revisions)
Jump to: navigation, search
(I2C Tools for Linux: Reorder the paragraphs to begin with the more important information, rephrase some sentences)
(Download: Add one more patch to the recommended list)
Line 13: Line 13:
 
Recommended patches for branch 3.1:
 
Recommended patches for branch 3.1:
 
* [https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/commit/?h=i2c-tools-3.1&id=2b4135907c1aa27edeb397e62b67386ff5d7d3d5 decode-dimms: Correctly check for out-of-bounds vendor ID]
 
* [https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/commit/?h=i2c-tools-3.1&id=2b4135907c1aa27edeb397e62b67386ff5d7d3d5 decode-dimms: Correctly check for out-of-bounds vendor ID]
 +
* [https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/commit/?h=i2c-tools-3.1&id=11a1738e83bbb093f22e38ad11ba9f0e73ae9248 i2cset: Fix short writes with mask]
  
 
= Git Repository =
 
= Git Repository =

Revision as of 12:26, 17 September 2020

Contents

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.

Download

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 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