macOS
brew install i2c-toolslocal Homebrew formula metadata
安装
brew install i2c-toolslocal Homebrew formula metadata
sudo apk add i2c-toolsAlpine Linux edge package indexes · i2c-tools · 来源: dl-cdn.alpinelinux.org
sudo apt install i2c-toolsDebian stable package indexes · i2c-tools · 来源: deb.debian.org
sudo dnf install i2c-toolsFedora Rawhide package metadata · i2c-tools · 来源: dl.fedoraproject.org
nix profile install nixpkgs#i2c-toolsnixpkgs package indexes · pkgs/by-name/i2/i2c-tools/package.nix · 来源: api.github.com
sudo pacman -S i2c-toolsArch Linux sync databases · i2c-tools · 来源: geo.mirror.pkgbuild.com
sudo zypper install i2c-toolsopenSUSE Tumbleweed package metadata · i2c-tools · 来源: download.opensuse.org
概览
Heterogeneous set of I2C tools for Linux
历史
i2c-tools is the standard user-space toolbox for Linux I2C and SMBus work. It contains probing, dump, get, set, transfer, EEPROM, DIMM, and library pieces used by hardware bring-up engineers, Linux distribution packagers, and anyone debugging devices exposed through the kernel i2c-dev interface.
The Linux i2c wiki and project README both state that i2c-tools was originally part of lm-sensors and was split into a separate package because not all hardware-monitoring chips are I2C devices and not all I2C devices are hardware monitors. That split gave generic I2C and SMBus utilities their own release stream and repository.
The 3.0.0 line started as an independent release in 2007. The 4.0 release in 2017 added libi2c, i2ctransfer, Python 3 support for py-smbus, many decode-dimms improvements, and refreshed licensing notes. Later 4.x releases continued to modernize bus listing, block reads, DDR memory decoding, build behavior, and command help.
Because Linux exposes many I2C adapters through /dev/i2c-* and because board peripherals often need low-level checks before drivers are stable, i2c-tools became a routine package in embedded Linux, server hardware, laptop diagnostics, display data decoding, and sensor work. It is carried across major Linux package ecosystems and Homebrew for Linux.
The package's adoption is practical rather than fashionable: i2cdetect, i2cdump, i2cget, i2cset, and i2ctransfer are frequently the quickest way to discover bus topology, verify register behavior, or reproduce a hardware issue outside a custom program.
The core tools operate on Linux I2C buses and SMBus transactions, usually requiring the i2c-dev kernel driver and appropriate permissions. decode-dimms and decode-edid turn EEPROM data into readable hardware information, while i2ctransfer supports custom message sequences in one transfer.
The project README also documents libi2c for C and C++ access over i2c-dev, py-smbus as an optional Python wrapper, and build-time control over static and dynamic library variants.
i2c-tools is a classic distribution package: small, close to the kernel, dangerous if misused, and indispensable when you need it. Its source lives under kernel.org, its bug and patch flow points to linux-i2c, and its release tarballs are signed and mirrored from kernel infrastructure.
For package maintainers, it is interesting because it combines command-line utilities, scripts, library headers, optional language bindings, manpages, Linux-only requirements, and architecture-neutral hardware workflows in a compact source tree.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ddcmon | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
decode-dimms | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
decode-edid | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
decode-vaio | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
eeprog | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
i2c-stub-from-dump | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
i2cdetect | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
i2cdump | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
i2cget | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
i2cset | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
i2ctransfer | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:i2c-tools |
|---|---|
| 版本 | 4.4 |
| 软件包管理器 | Homebrew |
| 主页 | https://i2c.wiki.kernel.org/index.php/I2C_Tools |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
i2c-tools 4.4-2
heterogeneous set of I2C tools for Linux
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install i2c-toolslibi2c-dev 4.4-2
userspace I2C programming library development files
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install libi2c-devlibi2c0 4.4-2
userspace I2C programming library
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install libi2c0python3-smbus 4.4-2
Python 3 bindings for Linux SMBus access through i2c-dev
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install python3-smbusi2c-tools
nix profile install nixpkgs#i2c-toolsi2c-tools 4.3-4build2
heterogeneous set of I2C tools for Linux
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install i2c-toolslibi2c-dev 4.3-4build2
userspace I2C programming library development files
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install libi2c-devlibi2c0 4.3-4build2
userspace I2C programming library
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install libi2c0python3-smbus 4.3-4build2
Python 3 bindings for Linux SMBus access through i2c-dev
https://www.kernel.org/pub/software/utils/i2c-tools/
sudo apt install python3-smbusi2c-tools 4.4-r3
Tools for monitoring I2C devices
https://i2c.wiki.kernel.org/index.php/I2C_Tools
sudo apk add i2c-toolsi2c-tools-dev 4.4-r3
Tools for monitoring I2C devices (development files)
https://i2c.wiki.kernel.org/index.php/I2C_Tools
sudo apk add i2c-tools-devi2c-tools-doc 4.4-r3
Tools for monitoring I2C devices (documentation)
https://i2c.wiki.kernel.org/index.php/I2C_Tools
sudo apk add i2c-tools-docpy3-smbus 4.4-r3
i2c-tools python bindings
https://i2c.wiki.kernel.org/index.php/I2C_Tools
sudo apk add py3-smbusi2c-tools 4.4-7.fc45
A heterogeneous set of I2C tools for Linux
https://i2c.wiki.kernel.org/index.php/I2C_Tools
sudo dnf install i2c-toolsi2c-tools-perl 4.4-7.fc45
i2c tools written in Perl
https://i2c.wiki.kernel.org/index.php/I2C_Tools
sudo dnf install i2c-tools-perllibi2c 4.4-7.fc45
I2C/SMBus bus access library
https://i2c.wiki.kernel.org/index.php/I2C_Tools
sudo dnf install libi2c来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.