Skip to content

docs: add serial port permission denied tip to UART debug common template - #1986

Merged
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tangzz-radxa:docs/uart-permission-tip
Aug 11, 2026
Merged

docs: add serial port permission denied tip to UART debug common template#1986
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tangzz-radxa:docs/uart-permission-tip

Conversation

@tangzz-radxa

Copy link
Copy Markdown
Contributor

背景

来自支持案例:用户按通用 UART 调试教程操作时,在 Linux 下打开串口报 Error: Permission denied, cannot open /dev/ttyUSB*,教程缺少权限处理说明。

修改内容

在通用串口调试模板 _uart_debug.mdx(中文 + 英文)的「登录串口」章节增加 :::tip 串口无法打开 提示:

  1. 临时方案:sudo chmod 666 /dev/ttyUSB0
  2. 说明该方案在重启/重新插拔后可能失效
  3. 永久方案:sudo usermod -aG dialout "$USER",注销重登生效

该模板被 dragon/q6a 等多款产品页面引用,修改后全站通用串口教程同步覆盖此常见问题。

…late

Add a troubleshooting tip for 'Error: Permission denied, cannot open
/dev/ttyUSB*' to the shared UART debug template, covering both the
temporary chmod workaround and the permanent dialout group membership
solution, in both Chinese and English.
@Milir-Radxa
Milir-Radxa merged commit 17af1ab into radxa-docs:main Aug 11, 2026
4 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