OS Manuals

/usr/local/sbin/i2cset

Tools for monitoring I2C devices

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

/usr/local/sbin/i2cset: invalid option -- '-'
Usage: i2cset [-f] [-y] [-m MASK] [-r] [-a] I2CBUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]
  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:
    c (byte, no value)
    b (byte data, default)
    w (word data)
    i (I2C block data)
    s (SMBus block data)
    Append p for SMBus PEC
Options (7)
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
-m maskThe mask parameter, if specified, describes which bits of value will be actually written to data-address.man
-rRead back the value right after writing it, and compare the result with the value written.man
-aAllow using addresses between 0x00 - 0x07 and 0x78 - 0x7f.man
Examples (3) 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.