Problems encountered by i2c-gpio drivers
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- c
调研方向
从 drivers/i2c/algos/i2c-algo-bit.c 开始,跟踪 i2c-gpio 的传输路径。将所请求的九个时钟恢复行为与 i2c-i801 进行比较,然后检查如何在传输前检查 SCL 和 SDA 电平。完成标准是能够从死锁中恢复,并且低 SCL 或 SDA 电平会返回失败,而不是接受值为零的数据。
由索引模型根据 Issue 内容生成。
描述
Code Path:drivers/i2c/algos/i2c-algo-bit.c
Issue 1:An occasional I2C deadlock (SCL is high voltage level and SDA is low voltage level) cannot be recovered, making the I2C controller unusable.
Issue 2:Insert a faulty optical module with SDA and GND short-circuited, the I2C GPIO controller cannot identify the exception, and all the data read is 0 (The access is successful from the I2C protocol)
Regarding this issue, our solution is:
Issue1:The solution is the same as the i2c-i801 driver, which also imports 9 clock unlock functions
Issue2:Add I2C-GPIO voltage level detection to determine SCL and SDA voltage levels before I2C begins transmission. If the SCL and SDA voltage levels are not high at the same time, a failure is returned.
- 主要语言
- Shell
- 星标
- 71
- 派生
- 245
- 平均合并
- 3 天 55 分钟
- 30 天内合并 PR
- 5
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sonic-net/sonic-linux-kernel 的其他 Issue
-
BMC
难度 4/5 3-5 天 新手友好度 35/100
sonic-net/sonic-linux-kernel#636 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
sonic-net/sonic-linux-kernel#531 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 22/100
sonic-net/sonic-linux-kernel#426 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
sonic-net/sonic-linux-kernel#367 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
sonic-net/sonic-linux-kernel#348 ·
维护者通常 1 天内回复
查看 sonic-net/sonic-linux-kernel 的全部 Issue
相似的 Issue
-
e2e-failure ready-to-code
难度 1/5 1 小时以内 新手友好度 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue spells
难度 2/5 1-3 小时 新手友好度 68/100
-
maintenance
难度 2/5 1-3 小时 新手友好度 68/100
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dots未关闭needs-human
难度 2/5 1-3 小时 新手友好度 82/100
melodic-software/claude-code-plugins#9026 · 1 条评论 ·
维护者通常 1 天内回复
-
bug raised-by:verifier
难度 2/5 1-3 小时 新手友好度 79/100
medici-finance/assay#4008 ·
维护者通常 1 天内回复