i2c-tools userspace tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Is this the right list to discuss the i2c-tools user space software? If not, please disregard this email.

I have noticed that I can't seem to be able to use these tools out of box for very many i2c devices, as the i2cget/i2cset isn't using a very common protocol that these chips use.

E.g. the protocol for byte/word read (which is also found in the SMBUS spec) is:

START - WR:SLAVE - DADR - START - RD:SLAVE - DATA - STOP

From what I have tested, it seems "i2cget BUS SLAVE DADR" does the following

START - WR:SLAVE - DADR - START - RD:SLAVE - DADR - DATA - STOP

It contains an extra read DADR byte, which is the slot where the actual data is being returned.

(My workaround is to run "i2cset BUS SLAVE CMD; i2cget BUS SLAVE")

Is this something that patches will be accepted for?


Best regards,
sveinse
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux