Skip to main content

显示屏使用

RDK X5提供一路MIPI DSI接口,一路HDMI接口,display只能选择其中的一路,默认是HDMI。

可以通过以下指令切换HDMI输出,和MIPI DSI输出。

切换成MIPI DSI

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

切换成HMDI

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

HDMI

RDK X5支持的最大分辨率为1080P60,系统默认分辨率为720P60。

默认分辨率可以通过修改/etc/X11/xorg.conf.d/1-resolution.conf文件来实现:

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x720"
EndSubSection
EndSection
  • 对接最大分辨率小于1280x720的屏幕,可以根据实际情况,调整Modes,可以解决出不了图的问题。
  • 对接2K,4K屏幕,建议将Modes设置为1920x1080,这受限于RDK X5 的视频转换芯片的性能。

MIPI DSI

RDK X5提供一路MIPI DSI接口,支持多种LCD屏幕的接入。

支持列表

供应商型号描述购买链接使用指南
微雪2.8inch DSI LCD2.8寸IPS全贴合电容触控屏小屏幕480×640像素 DSI通信购买链接2.8inch DSI LCD
微雪3.4inch DSI LCD (C)3.4寸DSI圆形电容触控屏 800×800像素 IPS显示面板 十点触控购买链接3.4inch DSI LCD
微雪4.3inch DSI LCD树莓派4.3寸电容触控屏 800×480 IPS广视角 MIPI DSI接口购买链接4.3inch DSI LCD
微雪7inch DSI LCD (C)7寸IPS电容触控屏1024×600像素 DSI通信购买链接7inchC DSI LCD
微雪7.9inch DSI LCD7.9寸IPS电容触控屏超长屏幕400×1280像素 DSI通信购买链接7.9inch DSI LCD
微雪8inch DSI LCD (C)树莓派系列显示屏 8寸IPS电容触控屏 1280×800像素 DSI通信购买链接8inch DSI LCD
微雪10.1inch DSI LCD (C)树莓派 dsi接口显示屏 10.1寸IPS电容触控屏 1280×800像素 DSI通信购买链接10.1inch DSI LCD

2.8inch DSI LCD

硬件连接

屏幕连接方式如下图所示:

screenshot-20241014-161007

用DSI-Cable-12cm线材,将2.8inch DSI LCD连接到X5 rdk主板的22PIN DSI1接口。

软件配置

1,由于RDK X5 系统默认采用HDMI输出,需要通过命令切换到MIPI DSI显示方式。

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

2,打开/boot/config.txt文件,在config.txt最后加入以下代码,保存,退出,重启系统

dtoverlay=dsi-waveshare-panel-overlay-2_8_inch

3.4inch DSI LCD

硬件连接

屏幕连接方式如下图所示:

screenshot-20241014-173409

用DSI-Cable-12cm线材,将3.4inch DSI LCD连接到X5 rdk主板的22PIN DSI1接口。

通过4PIN顶针连通5V供电,包括5V和GND。

软件配置

1,由于RDK X5 系统默认采用HDMI输出,需要通过命令切换到MIPI DSI显示方式。

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

2,打开/boot/config.txt文件,在config.txt最后加入以下代码,保存,退出,重启系统

dtoverlay=dsi-waveshare-panel-overlay-3_4_inch

效果演示

screenshot-20241014-173446

4.3inch DSI LCD

硬件连接

屏幕连接方式如下图所示:

screenshot-20241014-144324

用DSI-Cable-12cm线材,将4.3inch DSI LCD连接到X5 rdk主板的22PIN DSI1接口。

软件配置

1,由于RDK X5 系统默认采用HDMI输出,需要通过命令切换到MIPI DSI显示方式。

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

2,打开/boot/config.txt文件,在config.txt最后加入以下代码,保存,退出,重启系统

dtoverlay=dsi-waveshare-panel-overlay-4_3_inch

效果演示

screenshot-20241014-144429

7inchC DSI LCD

硬件连接

屏幕连接方式如下图所示:

screenshot-20241014-154448 screenshot-20241014-155331

用DSI-Cable-12cm线材,将7inchC DSI LCD连接到X5 rdk主板的22PIN DSI1接口。

并通过4PIN杜邦线连接5V供电和I2C5通信。

软件配置

1,由于RDK X5 系统默认采用HDMI输出,需要通过命令切换到MIPI DSI显示方式。

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

2,打开/boot/config.txt文件,在config.txt最后加入以下代码,保存,退出,重启系统

dtoverlay=dsi-waveshare-panel-overlay-7_0_inchC

效果演示

screenshot-20241014-155439

7.9inch DSI LCD

硬件连接

屏幕连接方式如下图所示:

screenshot-20241014-165628

用DSI-Cable-12cm线材,将7.9inch DSI LCD连接到X5 rdk主板的22PIN DSI1接口。

使用5V/3A的 type-C 接口电源为屏幕供电。

软件配置

1,由于RDK X5 系统默认采用HDMI输出,需要通过命令切换到MIPI DSI显示方式。

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

2,打开/boot/config.txt文件,在config.txt最后加入以下代码,保存,退出,重启系统

dtoverlay=dsi-waveshare-panel-overlay-7_9_inch

效果演示

screenshot-20241014-165707

8inch DSI LCD

硬件连接

屏幕连接方式如下图所示:

screenshot-20241014-151754

用DSI-Cable-12cm线材,将8inch DSI LCD连接到X5 rdk主板的22PIN DSI1接口。

使用5V/3A的 type-C 接口电源为屏幕供电。

软件配置

1,由于RDK X5 系统默认采用HDMI输出,需要通过命令切换到MIPI DSI显示方式。

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

2,打开/boot/config.txt文件,在config.txt最后加入以下代码,保存,退出,重启系统

dtoverlay=dsi-waveshare-panel-overlay-8_0_inch

效果演示

screenshot-20241014-152537

10.1inch DSI LCD

硬件连接

屏幕连接方式如下图所示:

screenshot-20241014-174402

用DSI-Cable-12cm线材,将10.1inch DSI LCD连接到X5 rdk主板的22PIN DSI1接口。

使用5V/3A的 type-C 接口电源为屏幕供电。

软件配置

1,由于RDK X5 系统默认采用HDMI输出,需要通过命令切换到MIPI DSI显示方式。

mv /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf /etc/X11/xorg.conf.d/xorg_dsi_ignore.conf.disable
mv /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf.disable /etc/X11/xorg.conf.d/xorg_hdmi_ignore.conf

也可以通过srpi-config来选择输出方式,可以参考 Dsiplay Chose DSI or HDMI 章节

2,打开/boot/config.txt文件,在config.txt最后加入以下代码,保存,退出,重启系统

dtoverlay=dsi-waveshare-panel-overlay-10_1_inch

效果演示

screenshot-20241014-174925