|
猫盘已刷群辉,其他正常,但要控制led时
' T* }. b; c: j7 E F% I% t) V/ I# |! r8 ^$ V$ s7 Y4 B5 ?- R6 h [
root@DS119j:/# i2cset -y -f pxa_i2c-i2c 0x45 0x01 0x013 T1 {6 ^ E6 C) t" J2 b
Error: I2C bus name is not unique!
" f7 T7 Q. K1 F$ s% t9 iUsage: i2cset [-f] [-y] [-m MASK] [-r] I2CBUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]
# L3 X' L( R8 |* A I2CBUS is an integer or an I2C bus name& B, K' ]3 r# w# F/ G4 E
ADDRESS is an integer (0x03 - 0x77). G3 \6 \. ?. x3 ]2 u" t2 B: b1 q
MODE is one of:3 X# L: K( d( O w: {- A* x
c (byte, no value)
! d3 `- C5 G# h$ d b (byte data, default)
. e s3 Z" U$ h! ?5 B, k w (word data)
1 a$ \- [* I0 N1 ]/ u0 T" e' ?& Y i (I2C block data)
* a6 U+ G, L" W' ], n2 @ ] s (SMBus block data)2 o% a* }' U- K
Append p for SMBus PEC' c( V' q! ` L7 n; Z
& N6 V0 p7 s F/ g5 K0 _6 o
: R2 H0 \+ P! m/ N2 @: L: |7 ]- @" v6 D9 n& [0 L1 `" O
求助大神( P% O4 P# o$ C l! G! O3 x! k. o
|
|