Skip to content

docs(penta-sata-hat): add I2C7 overlay troubleshooting for ROCK 4 top board - #2027

Merged
Milir-Radxa merged 3 commits into
radxa-docs:mainfrom
tangzz-radxa:docs/penta-top-board-i2c7-overlay-note
Aug 17, 2026
Merged

docs(penta-sata-hat): add I2C7 overlay troubleshooting for ROCK 4 top board#2027
Milir-Radxa merged 3 commits into
radxa-docs:mainfrom
tangzz-radxa:docs/penta-top-board-i2c7-overlay-note

Conversation

@tangzz-radxa

Copy link
Copy Markdown
Contributor

背景

来自论坛用户反馈(https://forum.radxa.com/t/rock-pi-4b-penta-sata-hat-top-board-problem-rockpi-sata-hat-loading/31317/1):

  • 环境:ROCK Pi 4B + Penta SATA HAT 全套件,rock-pi-4b_bookworm_kde_r4.output_512 镜像
  • 现象:SATA 硬盘正常识别,但顶板 OLED 一直停在 "ROCKPI SATA HAT loading...",风扇不转或满速
  • 日志:rockpi-penta 服务报 FileNotFoundError: /sys/class/pwm/pwmchip1/pwm0/periodDevice or resource busy
  • 根因:新 Bookworm 镜像默认未启用 I2C7 overlay(顶板 OLED 走 I2C7,风扇 PWM 依赖 PWM1),用户通过 rsetup 启用 I2C7 overlay 后解决

本次修改

sata-hat-top-board.md(中英双语)中新增两节:

  1. ROCK 4 系列:启用 I2C7 overlay — 描述典型症状(OLED 卡 loading / 风扇异常 / 服务报错),并给出 sudo rsetup 启用 I2C7(必要时 PWM1)的解决步骤
  2. 检查顶板挂载在哪条 I2C 总线 — 教用户用 i2cdetect -l / i2cdetect -y <bus> 确认顶板 OLED (SSD1306, 0x3c) 挂载在哪个 I2C 总线

影响范围

  • docs-only,无代码改动
  • 覆盖 ROCK 4A/4B/4A+/4B+/4SE(含 ROCKPi 4 系列)
  • 减少用户踩坑:新 Bookworm 镜像下顶板不工作时的排查路径

… board

Add a troubleshooting section for ROCK 4 series (incl. ROCK Pi 4) on newer
Bookworm images: enable the I2C7 overlay via rsetup when the top board OLED
stays on 'ROCKPI SATA HAT loading...' or the fan misbehaves, and document
how to check which I2C bus the top board is attached to (i2cdetect -l / -y).
@tangzz-radxa
tangzz-radxa requested a review from a team as a code owner August 17, 2026 09:25
Tang ZZ added 2 commits August 17, 2026 17:30
Do not hardcode a single I2C bus number in the FAQ: add a per-model
overlay table (ROCK 4: I2C7, ROCK 5A: I2C8, ROCK 3A: I2C3, ROCK 3C:
software I2C, RPi 4/5: I2C1) and note that the actual bus number must
be checked with i2cdetect -l. Any bus number shown is marked as an
example for ROCK 4 series only.
@Milir-Radxa
Milir-Radxa merged commit 956b3f7 into radxa-docs:main Aug 17, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants