打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

DSI Installation:修订间差异

来自LCD wiki
更多语言
无编辑摘要
 
(未显示2个用户的31个中间版本)
第1行: 第1行:
[[en:7inch_DSI_LCD-A]]
{{#widget:StyledHeader-WS
{{#widget:StyledHeader-WS
| color = #bc1d46
| color = #bc1d46
}}
}}
= DSI驱动安装 =
== 用于Bookworm和Bullseye系统 ==
=== Step1:Raspberry Pi Imager烧写最新官方镜像 ===
用于树莓派的Raspberry Pi OS / Ubuntu / Kali / Volumio 和 Retropie系统。
* 1. 将TF卡连接到PC,下载并使用[https://www.raspberrypi.com/software Raspberry Pi Imager]进行烧录对应系统镜像。
[[File:A57a1948-f156-4ba9-b453-a4b49db30416.png]]
=== Step2:使用SSH 连接树莓派 ===
[[SSH Connection]]
=== Step3:安装DSI驱动(以1024x600分辨率产品为例) ===
<pre class="code2highlight lang-c">wget https://www.lcdwiki.com/res/DSI_Driver/DSI-1024x600.tar.gz
tar -xzvf DSI-1024x600.tar.gz
cd DSI-1024x600
sudo ./DSI-1024x600-show</pre>完整复制上面的代码,鼠标右键粘贴到SSH窗口输入,回车后执行约15秒后树莓派自动重启,正常显示。
{{Note|注意:以上步骤需要确保树莓派可以正常连接到互联网。}}
= 调节背光亮度 =
=== 1.GUI Method ===
1. Open the '''Screen Configuration''' application from the desktop menu.
[[File:DSI-GUI-backlight-01.png|356x356px]]
2. Click '''Screen''' → '''DSI-2''' (or DSI-1 depending on your setup) → '''Brightness'''.
[[File:DSI-GUI-Backlight-02.png|446x446px]]
3. Adjust the slider and click '''Apply'''.
=== 2. Command Line Method ===
Set brightness via terminal (value range: 0 = darkest, 255 = brightest):
echo X | sudo tee /sys/class/backlight/*/brightness
Replace <code>X</code> with your desired value, for example:
echo 128 | sudo tee /sys/class/backlight/*/brightness
=== 3. Install Brightness.exe Method ===
A demo application is also available:
wget <nowiki>https://www.QD.net/w/upload/f/f4/Brightness.zip</nowiki>
unzip Brightness.zip
cd Brightness
sudo chmod +x install.sh
./install.sh
[[File:亮度调节-GIF.gif|center|464x464px]]
= 显示旋转 =
=== Bookworm显示旋转 ===
'''GUI 界面旋转'''
* 1.打开&quot;Screen Configuration&quot;应用程序;<br />
[[[[File:DSI-LCD-Bookworm-Rotate-01.png/600px-DSI-LCD-Bookworm-Rotate-01.png|600x364px|DSI-LCD-Bookworm-Rotate-01.png]]]]
* 2.进入&quot;Screen&quot;-&gt;&quot;DSI-1&quot;-&gt;&quot;Touchscreen&quot; ,勾选&quot;6-0038 generic ft5x06(79)&quot;
[[wiki/%E6%96%87%E4%BB%B6:DSI-LCD-Bookworm-Rotate-02.png|[[File:/w/upload/thumb/1/1f/DSI-LCD-Bookworm-Rotate-02.png/600px-DSI-LCD-Bookworm-Rotate-02.png|600x360px|DSI-LCD-Bookworm-Rotate-02.png]]]]
* 3.单击&quot;Apply&quot;并关闭当前窗口。根据弹出提示重新启动,然后触摸屏选择完成。
[[wiki/%E6%96%87%E4%BB%B6:DSI-LCD-Bookworm-Rotate-03.png|[[File:/w/upload/2/25/DSI-LCD-Bookworm-Rotate-03.png|400x332px|DSI-LCD-Bookworm-Rotate-03.png]]]]<br />
[[wiki/%E6%96%87%E4%BB%B6:DSI-LCD-Bookworm-Rotate-05.png|[[File:/w/upload/thumb/8/8c/DSI-LCD-Bookworm-Rotate-05.png/400px-DSI-LCD-Bookworm-Rotate-05.png|400x140px|DSI-LCD-Bookworm-Rotate-05.png]]]]
* 4.进入&quot;Screen&quot;-&gt;&quot;DSI-1&quot;-&gt;&quot;Orientation&quot; ,勾选您需要旋转的方向,最后点击“Apply”,即可完成显示屏和触摸的同步旋转。
[[wiki/%E6%96%87%E4%BB%B6:DSI-LCD-Bookworm-Rotate-04.png|[[File:/w/upload/thumb/3/35/DSI-LCD-Bookworm-Rotate-04.png/600px-DSI-LCD-Bookworm-Rotate-04.png|600x361px|DSI-LCD-Bookworm-Rotate-04.png]]]]
'''注意:仅Bookworm系统支持以上同步旋转方法。对于Bullseye和Butser系统,显示旋转后,需手动单独设置触摸旋转。'''<br />
<br />
'''lite版本显示旋转'''
* 1.需要修改/boot/cmdline.txt文件:
<pre>sudo nano /boot/cmdline.txt</pre>
* 2.在cmdline.txt文件开头,添加对应显示旋转角度的指令:(请注意,该命令需要放在同一行上,每个命令用空格分隔。)
<pre>video=DSI-1:800x480M@60,rotate=90</pre>
通过将rotate值更改为 90、180 或 270 来更改显示旋转的角度。
* 3.保存并重新启动
<pre>sudo reboot</pre>
=== Bullseye/Buster显示旋转 ===
'''GUI 界面旋转'''
* 1.打开&quot;Screen Configuration&quot;应用程序;<br />
[[wiki/%E6%96%87%E4%BB%B6:DSI-LCD-Bullseye-Rotate-02.png|[[File:/w/upload/thumb/d/d4/DSI-LCD-Bullseye-Rotate-02.png/600px-DSI-LCD-Bullseye-Rotate-02.png|600x362px|DSI-LCD-Bullseye-Rotate-02.png]]]]
* 2.进入&quot;Screen&quot;-&gt;&quot;DSI-1&quot;-&gt;&quot;Orientation&quot; ,勾选您需要旋转的方向,最后点击&quot;Apply&quot;,即可完成显示旋转。
[[wiki/%E6%96%87%E4%BB%B6:DSI-LCD-Bullseye-Rotate-03.png|[[File:/w/upload/thumb/a/ae/DSI-LCD-Bullseye-Rotate-03.png/600px-DSI-LCD-Bullseye-Rotate-03.png|600x361px|DSI-LCD-Bullseye-Rotate-03.png]]]][[wiki/%E6%96%87%E4%BB%B6:DSI-LCD-Bullseye-Rotate-04.png|[[File:/w/upload/3/3b/DSI-LCD-Bullseye-Rotate-04.png|400x306px|DSI-LCD-Bullseye-Rotate-04.png]]]]
<br />
'''lite版本显示旋转'''
* 1.需要修改/boot/cmdline.txt文件:
<pre>sudo nano /boot/cmdline.txt</pre>
* 2.在cmdline.txt文件开头,添加对应显示旋转角度的指令:(请注意,该命令需要放在同一行上,每个命令用空格分隔。)
<pre>video=DSI-1:800x480M@60,rotate=90</pre>
通过将rotate值更改为 90、180 或 270 来更改显示旋转的角度。
* 3.保存并重新启动
<pre>sudo reboot</pre>
=== Stretch/Jessie显示旋转 ===
'''对于一些比较古老的系统,它们不使用vc4-kms-v3d 或 vc4-fkms-v3d 驱动模式,显示旋转方法如下'''
* 1. 在config.txt文件中加入语句(config文件位于TF卡根目录,即/boot中):
<pre>display_rotate=1 #1:90;2: 180; 3: 270</pre>
* 2. 保存后重启树莓派即可
<pre>sudo reboot</pre>
= 触摸旋转 =
=== Bookworm 触摸 ===
如果使用图形界面进行旋转,可以在屏幕布局编辑器窗口中勾选“Touchscreen”来同步触摸旋转。屏幕旋转方法请参考前面的介绍。命令行旋转方法请参考以下文字:<br />
1. 创建一个名为的新文件99-QD-touch.rules
<pre>sudo nano /etc/udev/rules.d/99-QD-touch.rules</pre>
2. 根据需要添加以下行:
<pre>#90°:
ENV{ID_INPUT_TOUCHSCREEN}==&quot;1&quot;, ENV{LIBINPUT_CALIBRATION_MATRIX}=&quot;0 -1 1 1 0 0&quot;
#180°:
#ENV{ID_INPUT_TOUCHSCREEN}==&quot;1&quot;, ENV{LIBINPUT_CALIBRATION_MATRIX}=&quot;-1 0 1 0 -1 1&quot;
#270°:
#ENV{ID_INPUT_TOUCHSCREEN}==&quot;1&quot;, ENV{LIBINPUT_CALIBRATION_MATRIX}=&quot;0 1 0 -1 0 1&quot;</pre>
3. 保存并重启
<pre>sudo reboot</pre>
=== Bullseye/Buster 触摸 ===
'''部分系统显示旋转后,触摸方向不一致,需要按下文操作进行触摸旋转:'''<br />
1. 安装libinput
<pre>sudo apt-get install xserver-xorg-input-libinput</pre>
* 如果你安装的是Ubuntu系统,或者是Jetson Nano。安装指令为
<pre>sudo apt install xserver-xorg-input-synaptics</pre>
2. 在/etc/X11/下创建xorg.conf.d目录 (如果该目录已存在,这直接进行第3步)
<pre>sudo mkdir /etc/X11/xorg.conf.d</pre>
3. 复制40-libinput-conf 文件到刚刚创建的目录下
<pre>sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/</pre>
4. 编辑该文件
<pre>sudo nano /etc/X11/xorg.conf.d/40-libinput.conf</pre>
<pre>#找到 touchscreen的部分,在里面添加对应的旋转角度指令,然后保存即可
#90°Right触摸旋转:
Option &quot;CalibrationMatrix&quot; &quot;0 1 0 -1 0 1 0 0 1&quot;
#180° Inverted触摸旋转:
#Option &quot;CalibrationMatrix&quot; &quot;-1 0 1 0 -1 1 0 0 1&quot;
#270° Left旋转:
#Option &quot;CalibrationMatrix&quot; &quot;0 -1 1 1 0 0 0 0 1&quot;
类似下图位置:</pre>
[[wiki/%E6%96%87%E4%BB%B6:Touch_roate.jpg|[[File:/w/upload/b/b1/Touch_roate.jpg|685x435px|Touch roate.jpg]]]]<br />
5. 重启树莓派
<pre>sudo reboot</pre>
完成以上步骤后触摸将会进行旋转。<br />
= 屏幕休眠 =
在树莓派终端运行以下指令,屏幕即可进入休眠状态:
<pre>xset dpms force off</pre>
'''注:该指令仅适用于Bullseye和Buster系统。'''
= 禁用触摸 =
在config.txt文件最后,加入以下对应禁用触摸的命令(config文件位于TF卡根目录,也可以通过命令访问:sudo nano /boot/config.txt):
<pre>disable_touchscreen=1</pre>
注:添加指令后需重启生效。
= FAQ =
==== 问题:'''7inch DSI-A 功耗是多少?====
5V 500mA
= 售后 =
说明:进行售后服务前,请准备好客户信息(定货单位、定货人等),以供验证
<headertabs />

2026年6月4日 (四) 20:34的最新版本

[编辑]

用于Bookworm和Bullseye系统

Step1:Raspberry Pi Imager烧写最新官方镜像

用于树莓派的Raspberry Pi OS / Ubuntu / Kali / Volumio 和 Retropie系统。

Step2:使用SSH 连接树莓派

SSH Connection

Step3:安装DSI驱动(以1024x600分辨率产品为例)

wget https://www.lcdwiki.com/res/DSI_Driver/DSI-1024x600.tar.gz
tar -xzvf DSI-1024x600.tar.gz
cd DSI-1024x600
sudo ./DSI-1024x600-show

完整复制上面的代码,鼠标右键粘贴到SSH窗口输入,回车后执行约15秒后树莓派自动重启,正常显示。

⚠️ 注意:以上步骤需要确保树莓派可以正常连接到互联网。

[编辑]

1.GUI Method

1. Open the Screen Configuration application from the desktop menu.

2. Click ScreenDSI-2 (or DSI-1 depending on your setup) → Brightness.

3. Adjust the slider and click Apply.

2. Command Line Method

Set brightness via terminal (value range: 0 = darkest, 255 = brightest):

echo X | sudo tee /sys/class/backlight/*/brightness

Replace X with your desired value, for example:

echo 128 | sudo tee /sys/class/backlight/*/brightness

3. Install Brightness.exe Method

A demo application is also available:

wget https://www.QD.net/w/upload/f/f4/Brightness.zip
unzip Brightness.zip
cd Brightness
sudo chmod +x install.sh
./install.sh
[编辑]

Bookworm显示旋转

GUI 界面旋转

  • 1.打开"Screen Configuration"应用程序;

[[DSI-LCD-Bookworm-Rotate-01.png]]

  • 2.进入"Screen"->"DSI-1"->"Touchscreen" ,勾选"6-0038 generic ft5x06(79)"

[[wiki/文件:DSI-LCD-Bookworm-Rotate-02.png|DSI-LCD-Bookworm-Rotate-02.png]]

  • 3.单击"Apply"并关闭当前窗口。根据弹出提示重新启动,然后触摸屏选择完成。

[[wiki/文件:DSI-LCD-Bookworm-Rotate-03.png|DSI-LCD-Bookworm-Rotate-03.png]]
[[wiki/文件:DSI-LCD-Bookworm-Rotate-05.png|DSI-LCD-Bookworm-Rotate-05.png]]

  • 4.进入"Screen"->"DSI-1"->"Orientation" ,勾选您需要旋转的方向,最后点击“Apply”,即可完成显示屏和触摸的同步旋转。

[[wiki/文件:DSI-LCD-Bookworm-Rotate-04.png|DSI-LCD-Bookworm-Rotate-04.png]] 注意:仅Bookworm系统支持以上同步旋转方法。对于Bullseye和Butser系统,显示旋转后,需手动单独设置触摸旋转。

lite版本显示旋转

  • 1.需要修改/boot/cmdline.txt文件:
sudo nano /boot/cmdline.txt
  • 2.在cmdline.txt文件开头,添加对应显示旋转角度的指令:(请注意,该命令需要放在同一行上,每个命令用空格分隔。)
video=DSI-1:800x480M@60,rotate=90

通过将rotate值更改为 90、180 或 270 来更改显示旋转的角度。

  • 3.保存并重新启动
sudo reboot

Bullseye/Buster显示旋转

GUI 界面旋转

  • 1.打开"Screen Configuration"应用程序;

[[wiki/文件:DSI-LCD-Bullseye-Rotate-02.png|DSI-LCD-Bullseye-Rotate-02.png]]

  • 2.进入"Screen"->"DSI-1"->"Orientation" ,勾选您需要旋转的方向,最后点击"Apply",即可完成显示旋转。

[[wiki/文件:DSI-LCD-Bullseye-Rotate-03.png|DSI-LCD-Bullseye-Rotate-03.png]][[wiki/文件:DSI-LCD-Bullseye-Rotate-04.png|DSI-LCD-Bullseye-Rotate-04.png]]


lite版本显示旋转

  • 1.需要修改/boot/cmdline.txt文件:
sudo nano /boot/cmdline.txt
  • 2.在cmdline.txt文件开头,添加对应显示旋转角度的指令:(请注意,该命令需要放在同一行上,每个命令用空格分隔。)
video=DSI-1:800x480M@60,rotate=90

通过将rotate值更改为 90、180 或 270 来更改显示旋转的角度。

  • 3.保存并重新启动
sudo reboot

Stretch/Jessie显示旋转

对于一些比较古老的系统,它们不使用vc4-kms-v3d 或 vc4-fkms-v3d 驱动模式,显示旋转方法如下

  • 1. 在config.txt文件中加入语句(config文件位于TF卡根目录,即/boot中):
display_rotate=1 #1:90;2: 180; 3: 270
  • 2. 保存后重启树莓派即可
sudo reboot
[编辑]

Bookworm 触摸

如果使用图形界面进行旋转,可以在屏幕布局编辑器窗口中勾选“Touchscreen”来同步触摸旋转。屏幕旋转方法请参考前面的介绍。命令行旋转方法请参考以下文字:
1. 创建一个名为的新文件99-QD-touch.rules

sudo nano /etc/udev/rules.d/99-QD-touch.rules

2. 根据需要添加以下行:

#90°:
ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"

#180°:
#ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"

#270°:
#ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"

3. 保存并重启

sudo reboot

Bullseye/Buster 触摸

部分系统显示旋转后,触摸方向不一致,需要按下文操作进行触摸旋转:
1. 安装libinput

sudo apt-get install xserver-xorg-input-libinput
  • 如果你安装的是Ubuntu系统,或者是Jetson Nano。安装指令为
sudo apt install xserver-xorg-input-synaptics

2. 在/etc/X11/下创建xorg.conf.d目录 (如果该目录已存在,这直接进行第3步)

sudo mkdir /etc/X11/xorg.conf.d

3. 复制40-libinput-conf 文件到刚刚创建的目录下

sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/

4. 编辑该文件

sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
#找到 touchscreen的部分,在里面添加对应的旋转角度指令,然后保存即可
#90°Right触摸旋转:
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
#180° Inverted触摸旋转: 
#Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
#270° Left旋转: 
#Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
类似下图位置:

[[wiki/文件:Touch_roate.jpg|Touch roate.jpg]]
5. 重启树莓派

sudo reboot

完成以上步骤后触摸将会进行旋转。

[编辑]

在树莓派终端运行以下指令,屏幕即可进入休眠状态:

xset dpms force off

注:该指令仅适用于Bullseye和Buster系统。

[编辑]

在config.txt文件最后,加入以下对应禁用触摸的命令(config文件位于TF卡根目录,也可以通过命令访问:sudo nano /boot/config.txt):

disable_touchscreen=1

注:添加指令后需重启生效。

[编辑]

问题:7inch DSI-A 功耗是多少?

5V 500mA


[编辑]

说明:进行售后服务前,请准备好客户信息(定货单位、定货人等),以供验证