|
猫盘已刷群辉,其他正常,但要控制led时* j; `# K& T% e2 Y+ e/ ]
2 }2 P. I; g4 L: s) B) G
root@DS119j:/# i2cset -y -f pxa_i2c-i2c 0x45 0x01 0x01
$ d, h+ l) X A( L& ]3 vError: I2C bus name is not unique!) ?9 s% ?- n5 D
Usage: i2cset [-f] [-y] [-m MASK] [-r] I2CBUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]
. A E; _7 o. z9 E- `0 F. d/ @ I2CBUS is an integer or an I2C bus name I+ o1 k. P& T# J/ j( r- c7 z
ADDRESS is an integer (0x03 - 0x77)+ D! _( R R8 y
MODE is one of:% S% H* O( I$ c$ t6 W
c (byte, no value) T' b$ r, N7 h8 T, k
b (byte data, default)7 n# y6 T- I7 L5 h) |
w (word data)
, X* O8 R* ]4 `' Q! ` s i (I2C block data)
/ ]# u6 M0 L2 G" c& n$ R, B s (SMBus block data)5 T2 d3 W p' K( n* K- P* h7 T
Append p for SMBus PEC. n8 ?( x7 m7 m! L1 c* ? g
8 w. b5 ?' E b9 n% o
; k/ c& P# f' H) Z6 q# g2 T+ [
7 o; A! |9 p ~* \8 |/ W求助大神& D2 P! Q5 l/ G& f t/ w: S
|
|