OS Manuals

/usr/local/sbin/i2cget

Tools for monitoring I2C devices

From i2c-tools 4.4-r14 (os), captured 2026-11-05 by running i2cget --help (exit 1). permalink

/usr/local/sbin/i2cget: invalid option -- '-'
Usage: i2cget [-f] [-y] [-a] I2CBUS CHIP-ADDRESS [DATA-ADDRESS [MODE [LENGTH]]]
  I2CBUS is an integer or an I2C bus name
  ADDRESS is an integer (0x08 - 0x77, or 0x00 - 0x7f if -a is given)
  MODE is one of:
    b (read byte data, default)
    w (read word data)
    c (write byte/read byte)
    s (read SMBus block data)
    i (read I2C block data)
    Append p for SMBus PEC
  LENGTH is the I2C block data length (between 1 and 32, default 32)
Options (5)
OptionDescriptionSource
-VDisplay the version and exit.man
-hDisplay the help and exit.man
-fForce access to the device even if it is already busy.man
-yDisable interactive mode.man
-aAllow using addresses between 0x00 - 0x07 and 0x78 - 0x7f.man
Examples (5) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.