i2c(8) diagnostic tool for review

Rafal Jaworowski raj at semihalf.com
Fri Dec 5 07:30:09 PST 2008


This nice little program is helpful with inspecting an I2C bus, when bringing
up a new system, or just for diagnostic purposes:
http://people.freebsd.org/~raj/patches/misc/i2c.diff

Note the patch extends the /dev/iicX interface with a ioctl for the 'repeated
start' method.

More detailed description of the tool is in the manual page:
http://people.freebsd.org/~raj/patches/misc/i2c-man.txt

Any comments welcome.

Rafal


More information about the freebsd-embedded mailing list