@danjperron and @ 6by9 thanks both your guys, I have tried "i2cset -y 1 0x1a 0x1a 0x01 0xf8 i". it gave me error :"Write failed", then I tried "i2ctransfer -y 1 w3@0x1a 0x1a 0x01 0xf8". it gave me error: Sensing message failed: Remote I/O error.thanks, good point, I will try it.i2cset is for SMBus devices, so is your device actually SMBus or just I2C?
TBH I tend to use i2ctransfer as I care about exactly the bytes that are sent. eg
i2ctransfer -y 1 w3@0x1a 0x1a 0x01 0xf8
Statistics: Posted by ironchef — Tue Mar 19, 2024 2:11 am