Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#845 - MT7628 : wrong data reading the I2C bus #5791

openwrt-bot opened this issue Jun 14, 2017 · 0 comments

FS#845 - MT7628 : wrong data reading the I2C bus #5791

openwrt-bot opened this issue Jun 14, 2017 · 0 comments
flyspray kernel


Copy link

@openwrt-bot openwrt-bot commented Jun 14, 2017



I've already talked to blogic about this issue. He asked me to perform some tests on the platform even back to openwrt CC.

The bug in question occurs with the MT7628 chip and the I2C bus (WRTNode 2p board).
Configuring the pinmux and enabling the driver, the kernel correctly sees the i2c bus. But then going to use the "i2cdetect" command from i2c-tools package has a surprising result: devices are actually sees devices that are not connected.

Curious about the problem I connected my DSO and I did the probe of the SDA and SCL pins. Data and clock seem to be transferred correctly. So the problem seems to be in the "reading".

According to the i2c specification if SDA is pull-low and you do an i2cdetect the system should identify in the bus an ACK for each slave address, this does does not happen and the same list appear again.

Turning back to different versions this still happens, unfortunately I have not been able to test every single commit.
The test I've made:

  • Openwrt CC the device was not supported.

  • Openwrt first commit of the device support: the i2c bus was not recognized by the driver.

  • Openwrt trunk, the i2c bus is not registered

  • LEDE 12.01 the problem as described above.

  • LEDE HEAD: the problem as described above.

  • LEDE HEAD 4.9 (kernel): The problem as described above.

[[|i2cdetect result (same result with SDA pulled low)]]


@aparcar aparcar added the kernel label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
flyspray kernel
None yet

No branches or pull requests

2 participants