mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 07:42:52 +00:00
23 lines
407 B
Plaintext
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}}`
|