Files
cheatsheet-tldr/tldr/linux/i2cdetect
2025-07-10 00:21:00 +00:00

23 lines
407 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# i2cdetect
> Scan I2C buses.
> See also: `i2cdump`, `i2cget`, `i2cset`.
> More information: <https://manned.org/i2cdetect>.
- List active I2C buses:
`i2cdetect -l`
- Scan devices on an I2C bus:
`i2cdetect {{i2c_bus}}`
- Scan devices on an I2C bus without asking for confirmation:
`i2cdetect -y {{i2c_bus}}`