Skip to content

udev: add rk3576 to udev rules - #136

Closed
CollinCraig wants to merge 1 commit into
rockchip-linux:masterfrom
CollinCraig:udev-rk3576
Closed

CollinCraig wants to merge 1 commit into
rockchip-linux:masterfrom
CollinCraig:udev-rk3576

Conversation

@CollinCraig

@CollinCraig CollinCraig commented Nov 14, 2026 •

Copy link
Copy Markdown

What

Adds a udev rule for RK3576 (2207:350e) to 99-rk-rockusb.rules, the same way RK3566 was added in #58.

Why

On Linux, an RK3576 board in Maskrom or Loader mode isn't covered by the shipped rules, so rkdeveloptool needs sudo to open it. RK3576 uses PID 0x350e in both modes. This matches CONFIG_USB_GADGET_PRODUCT_NUM=0x350e in rockchip-linux/u-boot configs/rk3576_defconfig.

The device scan code needs no change. CRKScan::IsRockusbDevice() already accepts any 0x2207 PID whose high byte is non-zero, so RK3576 is already detected. Only the permissions rule is missing.

How tested

  • Checked on real RK3576 hardware that the board enumerates as 2207:350e in Maskrom and Loader mode (seen with a local rkdeveloptool build).
  • The rule line is copied from the existing entries, with only the PID and comment changed.

🤖 Generated with Claude Code

RK3576 enumerates as 2207:350e in both Maskrom and Loader mode
(same value as CONFIG_USB_GADGET_PRODUCT_NUM in rockchip-linux/u-boot
configs/rk3576_defconfig). Add it so the tool can be used without sudo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bleifrei added a commit to bleifrei/rkdeveloptool that referenced this pull request Dec 1, 2026
Add the Rockusb product IDs for RK3326 (0x330d), RK3576 (0x350e)
and RK3588S (0x350b) so these devices are accessible without root.

Combines upstream pull requests rockchip-linux#132, rockchip-linux#136 and rockchip-linux#103.

Co-authored-by: yjun <jerrysteve1101@gmail.com>
Co-authored-by: Collin Craig <5287878+CollinCraig@users.noreply.github.com>
Co-authored-by: Paul Black <44146804+Techwizz-somboo@users.noreply.github.com>
@CollinCraig

Copy link
Copy Markdown
Author

Closing since this repository appears inactive.

@CollinCraig CollinCraig closed this Dec 1, 2026
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.

1 participant