-
Notifications
You must be signed in to change notification settings - Fork 102
docs: add dragon q6a vnc login #1340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f8db580
docs: add dragon q6a vnc login
EESN-W c4c011a
docs: add dragon q6a vnc login
EESN-W ca61e54
fix: dragon q6a imx 219 camera use
EESN-W 76201c1
fix: nomachine use
EESN-W cd811cf
docs: add dragon q6a work with waveshare 3.5 inch lcd
EESN-W a2ad55c
docs: add dragon q6a work with waveshare 3.5 inch lcd
EESN-W b587f35
docs: modify waveshare 3.5 inch lcd file
EESN-W 5254eac
fix: dragon q6a download page
EESN-W File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| 在 {props.product} 上使用微雪 3.5 寸树莓派显示屏(WareShare 3.5" RPi LCD (B))。 | ||
|
|
||
| ## 硬件连接 | ||
|
|
||
| 将显示屏安装到主板上。 | ||
|
|
||
| ## 软件使能 | ||
|
|
||
| 使用瑞莎系统自带的 Rsetup 工具使能微雪 3.5 寸树莓派显示屏。 | ||
|
|
||
| :::tip Rsetup 使用指南 | ||
|
|
||
| - 选中选项 : 对应选项会高亮显示 | ||
| - 确认选择 : 按 `Enter` | ||
| - 取消选择 : 按 `ESC` | ||
| - 切换选项 : 按 `Up` 、 `Down` 、 `Left` 、 `Right` 控制 | ||
| - 多选界面 : 按 `Space` 选择,按 `Enter` 确认选择;选择对应功能后,对应选项框会出现一个 `*` ,表示该选项已启用 | ||
|
|
||
| ::: | ||
|
|
||
| 在终端命令行运行 `rsetup` 命令启动 Rsetup 工具: | ||
|
|
||
| <NewCodeBlock tip={`radxa@${props?.board ?? 'device'}$`} type="device"> | ||
|
|
||
| ``` | ||
| rsetup | ||
| ``` | ||
|
|
||
| </NewCodeBlock> | ||
|
|
||
| 在 Rsetup 工具中依次进入 Overlays -> Manage overlays。 | ||
|
|
||
| 1. 通过方向键找到 [ ] Enable Waveshare 3.5inch RPi LCD (B) on SPI12 选项 | ||
| 2. 按空格出现 [*] Enable Waveshare 3.5inch RPi LCD (B) on SPI12 说明已启用该功能 | ||
| 3. 按 Enter 确认并保存设置,使能显示屏。 | ||
| 4. 重启系统,使配置生效。 | ||
|
|
||
| ## 查看设备 | ||
|
|
||
| 使用命令查看设备对应 fb(framebuffer):显示屏对应的设备 ID 是 fb_ili9486。 | ||
|
|
||
| <NewCodeBlock tip={`radxa@${props?.board ?? 'device'}$`} type="device"> | ||
|
|
||
| ``` | ||
| cat /sys/class/graphics/fb0/name | ||
| ``` | ||
|
|
||
| </NewCodeBlock> | ||
|
|
||
| 如果显示屏被正确启用,你应该会看到类似以下的输出(以 fb0 为例): | ||
|
|
||
| ``` | ||
| fb_ili9486 | ||
| ``` | ||
|
|
||
| 说明:若显示屏设备不在 fb0,可以修改命令中的 `fb0`,如 `cat /sys/class/graphics/fb1/name`。 | ||
|
|
||
| ## 显示图片 | ||
|
|
||
| ### 安装 fbi | ||
|
|
||
| <NewCodeBlock tip={`radxa@${props?.board ?? 'device'}$`} type="device"> | ||
|
|
||
| ``` | ||
| sudo apt-get update | ||
| sudo apt-get install -y fbi | ||
| ``` | ||
|
|
||
| </NewCodeBlock> | ||
|
|
||
| ### 显示图片 | ||
|
|
||
| 将图片显示到显示屏的 framebuffer:提前准备好图片,以 fb0 作为示例。 | ||
|
|
||
| <NewCodeBlock tip={`radxa@${props?.board ?? 'device'}$`} type="device"> | ||
|
|
||
| ``` | ||
| sudo fbi -vt 1 --noverbose -d /dev/fb0 logo.bmp | ||
| ``` | ||
|
|
||
| </NewCodeBlock> | ||
|
|
||
| ### 显示终端 | ||
|
|
||
| - 将 tty2 的输出映射到显示屏上 | ||
|
|
||
| 终端输入以下命令,将 tty2 的输出映射到显示屏上。 | ||
|
|
||
| <NewCodeBlock tip={`radxa@${props?.board ?? 'device'}$`} type="device"> | ||
|
|
||
| ``` | ||
| sudo con2fbmap 2 0 | ||
| ``` | ||
|
|
||
| </NewCodeBlock> | ||
|
|
||
| 参数说明:其中 2 为 TTY2,0 为 fb0。 | ||
|
|
||
| 键盘同时按下 Ctrl + Alt + F2 进入 TTY2 纯文本模式, 将在显示屏上显示 tty2 终端。 | ||
|
|
||
| - 将 tty3 的输出映射到显示屏上 | ||
|
|
||
| 终端输入以下命令,将 tty3 的输出映射到显示屏上。 | ||
|
|
||
| <NewCodeBlock tip={`radxa@${props?.board ?? 'device'}$`} type="device"> | ||
|
|
||
| ``` | ||
| sudo con2fbmap 3 0 | ||
| ``` | ||
|
|
||
| </NewCodeBlock> | ||
|
|
||
| 参数说明:其中 3 为 TTY3,0 为 fb0。 | ||
|
|
||
| 键盘同时按下 Ctrl + Alt + F3 进入 TTY3 纯文本模式, 将在显示屏上显示 tty3 终端。 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a typo in the filename and document title. The correct name should be 'Waveshare' instead of 'WareShare'.