You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
i2c failing to initialize and detect devices #6057
A VEML7700 arrived in the post today and it is showing this behaviour. I can make it fail on vanilla 6.1 kernels, so I don't think it is a new issue. There seem to be situations where it is behaving in a non-compliant fashion, but the failure should not kill the I2C bus in the way it does.
PR #6071 is a fix/workaround for the bus lockup. It's still not clear to me what your system is doing to provoke the problem - is it really just i2cdetect -y 1?
Originally the issue was found after attempting to read from the i2c slave, and after failure I ran i2c detect. After reboot the issues persists, when just running i2cdetect -y 1. At a later date I will attempt with the new workaround and with a fresh RaspberryPi5.
Activity
pelwell commentedon Mar 21, 2024
Likely duplicate of #6056.
pinctrl 2-3show?EdgarSouSousa commentedon Mar 21, 2024
2: a3 pu | hi // GPIO2 = SDA1 3: a3 pu | hi // GPIO3 = SCL1Thank you for your speedy response
pelwell commentedon Mar 21, 2024
Is that a self-built kernel? If so, what was the head-of-tree? If not, where did it come from?
EdgarSouSousa commentedon Mar 21, 2024
It is not a self built kernel, I updated the kernel when facing the issues using 'sudo apt full-upgrade'.
Thank you.
popcornmix commentedon Mar 21, 2024
from RPiOS bookworm?
That doesn't seem right. The latest apt version is 6.6.20 (2024-03-07)
pelwell commentedon Mar 21, 2024
Thanks - I was just coming to the same conclusion
EdgarSouSousa commentedon Mar 21, 2024
I apologize for my mistake, I forgot i tried to upgrade the kernel previously to posting this issue, as seen in #6056 (comment).
The issue was first encountered in the latest apt version and persisted to the version present in pull 6050.
pelwell commentedon Mar 25, 2024
A VEML7700 arrived in the post today and it is showing this behaviour. I can make it fail on vanilla 6.1 kernels, so I don't think it is a new issue. There seem to be situations where it is behaving in a non-compliant fashion, but the failure should not kill the I2C bus in the way it does.
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
pelwell commentedon Mar 26, 2024
PR #6071 is a fix/workaround for the bus lockup. It's still not clear to me what your system is doing to provoke the problem - is it really just
i2cdetect -y 1?EdgarSouSousa commentedon Mar 27, 2024
Originally the issue was found after attempting to read from the i2c slave, and after failure I ran i2c detect. After reboot the issues persists, when just running i2cdetect -y 1. At a later date I will attempt with the new workaround and with a fresh RaspberryPi5.
Thank you.
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
303 remaining items
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature
i2c: designware: Add support for bus clear feature