This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] OMAP3503:I2C 器件未在 i2c 器件的/sys/bus/i2c/devices 列表中列出

Guru**** 657930 points
Other Parts Discussed in Thread: OMAP3503
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1229230/omap3503-i2c-device-not-listed-in-the-sys-bus-i2c-devices-listing-of-i2c-devices

器件型号:OMAP3503

您好!

我需要说明为何连接到总线的 i2c 总线和 i2c 器件的列表不一致。

 /sys/bus/i2c/devices 中的 i2c 器件列表如下:

1-0048 1-0049 1-004A 1-004B 3-0020 3-0050 i2c-1 i2c-2 i2c-3

但是、当我使用 i2cdetect 命令来探测总线时、我会得到其他东西。  

提取的 i2cdetect -y -r 3为  

40: 40 41 42 43 ——

上面的给出了一个在 i2c 总线的总线3上地址为0x48的器件。  但这与 /sys/bus/i2c/devices 的输出不同 。  这是有原因的吗?

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    抱歉、但是 OMAP3503是一款旧器件、不提供支持。

    此致、

    简中

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Abayomi:

    我注意到的一件事是、在运行 Linux 的其他器件上、i2c-1 / i2c-2 /等不是基于 I2C 实例1、I2C 实例2等的硬件代号 相反、这些数字似乎是根据首先出现的 I2C 实例来分配的、我认为这是非确定性的。

    此致、

    Nick