|
发表于 2019-10-14 23:54:10
|
显示全部楼层
root@catdriver1:/# i2cset -y -f pxa_i2c-i2c 0x45 0x01 0x017 r$ h: o# f! N) r! U9 W
Error: I2C bus name is not unique!
9 [" w8 W8 |* d$ ~. gUsage: i2cset [-f] [-y] [-m MASK] [-r] I2CBUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]0 `! T% P6 y/ I; V) i1 @" A$ z
I2CBUS is an integer or an I2C bus name
% Q" S/ B* U. B# O ADDRESS is an integer (0x03 - 0x77); X! T' z% s' U; z
MODE is one of:/ S0 u! t3 C6 Y9 ]9 z- ]7 e
c (byte, no value)
: W& n) V6 P1 [, Q9 n# X1 ~ b (byte data, default)2 ^7 Z( ]; M0 V- ?
w (word data), G% r1 z, } r6 C2 h
i (I2C block data), `2 s+ {8 p3 @3 e2 r
s (SMBus block data)$ ? O1 N" I/ N7 `
Append p for SMBus PEC
/ e) z/ \3 q" W! w2 ` |
|