|
猫盘已刷群辉,其他正常,但要控制led时
3 G6 G' J2 b1 r7 e, K3 z3 z3 z) Y; T. X. e% _$ M
root@DS119j:/# i2cset -y -f pxa_i2c-i2c 0x45 0x01 0x019 ]& n v2 K" e- x" i' N. @# Z3 g3 G
Error: I2C bus name is not unique!
8 U7 k. b8 m/ ~- [Usage: i2cset [-f] [-y] [-m MASK] [-r] I2CBUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]& n; o D# w9 Q
I2CBUS is an integer or an I2C bus name8 q% g- h+ p" c/ ]8 `
ADDRESS is an integer (0x03 - 0x77). W6 ?- R1 M' P" Q9 S
MODE is one of:- h4 w, @( t# ]: r; Q% V2 p- M: ]3 V
c (byte, no value)
. @& }" a8 F/ c: `* O6 c% ? b (byte data, default)
Y7 g. @0 g1 g# Z" ]# l* K& n w (word data)% D0 I0 u3 {. G# m. V- r/ ~- n
i (I2C block data)9 Q% u) f- n# |8 C6 I b0 s
s (SMBus block data)( F* B. ]8 Z* z3 _2 a/ ]
Append p for SMBus PEC- i& f3 G( [! C3 f+ L0 p5 a9 P
4 a6 h6 X+ \: p( e
/ x$ x- j0 p2 D8 ?- I( O1 T) S8 t9 ?3 x+ e( [) h+ _% y
求助大神( I9 S) x$ Y3 ~" }1 |3 ^
|
|