From 3659a7828ccd65dab58ace5cb8de2cb3eb5e8a74 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 8 Dec 2019 05:44:12 -0500 Subject: [PATCH 1/5] Update README --- README.md | 364 +++++++++++++++++++++++++++--------------------------- 1 file changed, 181 insertions(+), 183 deletions(-) diff --git a/README.md b/README.md index 5abc325..5c16ad4 100755 --- a/README.md +++ b/README.md @@ -1,204 +1,202 @@ -### Install drivers in the Ubuntu system -https://github.com/lcdwiki/LCD-show-ubuntu - -### Install drivers in the Kali system -https://github.com/lcdwiki/LCD-show-kali - -### Install drivers in the RetroPie system -https://github.com/lcdwiki/LCD-show-retropie - - - -Install drivers in the Raspbian system
-==================================================== -Update:
- v2.1-20191106
- Update to support MHS35B
-Update:
- v2.0-20190704
- Update to support rotate the display direction
-Update:
- v1.9-20181204
- Update to support MHS40 & MHS32
-Update:
- v1.8-20180907
- Update to support MHS35
-Update:
- v1.7-20180320
- Update to support Raspbian Version: March 2018(Release date:2018-03-13)
-Update:
- v1.6-20170824
- Update xserver to support Raspbian-2017-08-16
-Update:
- v1.5-20170706
- Update to support Raspbian-2017-07-05, Raspbian-2017-06-21
-Update:
- v1.3-20170612
- fixed to support Raspbian-2017-03-02, Raspbian-2017-04-10
-Update:
- v1.2-20170302
- Add xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb to support Raspbian-2017-03-02
-Update:
- v1.1-20160815

- - -# How to install the LCD driver of Raspberry Pi +# LCD Show + +LCD show are the display drivers and scripts for 2.4, 2.8, 3.2, 3.5, 5.0 and 7.0 inch TFT LCD display for the Raspberry Pi 3B+/A/A+/B/B+/PI2/ PI3/ZERO/ZERO W. + +Links for Ubuntu, Kali and Retropie Linux are available at the following locations. + +* https://github.com/lcdwiki/LCD-show-ubuntu +* https://github.com/lcdwiki/LCD-show-kali +* https://github.com/lcdwiki/LCD-show-retropie + +# Install the LCD driver of Raspberry Pi -1.)Step1, Install Raspbian official mirror
-==================================================== - a)Download Raspbian official mirror:
- https://www.raspberrypi.org/downloads/
- b)Use“SDFormatter.exe”to Format your TF Card
- c)Use“Win32DiskImager.exe” Burning mirror to TF Card
+## Step 1, Install Raspbian official mirror + +1. Download Raspbian official mirror at https://www.raspberrypi.org/downloads/ +2. Use `SDFormatter.exe` to format your memory card +3. Use `Win32DiskImager.exe` to burn image to memory card -2.) Step2, Clone my repo onto your pi
-==================================================== -Use SSH to connect the Raspberry Pi,
-And Ensure that the Raspberry Pi is connected to the Internet before executing the following commands: ------------------------------------------------------------------------------------------------------ - -```sudo rm -rf LCD-show```
-```git clone https://github.com/goodtft/LCD-show.git```
-```chmod -R 755 LCD-show```
-```cd LCD-show/```
- -3.)Step3, According to your LCD's type, excute the corresponding driver: -==================================================== - -# 2.4” RPi Display (MPI2401): -### Driver install: -sudo ./LCD24-show -### WIKI: -CN: http://www.lcdwiki.com/zh/2.4inch_RPi_Display
-EN: http://www.lcdwiki.com/2.4inch_RPi_Display +## Step 2, Clone this repo onto your rpi + +1. Use SSH to connect the Raspberry Pi +2. Ensure that the Raspberry Pi is connected to the Internet before executing the following commands: + +``` +sudo rm -rf LCD-show +git clone https://github.com/goodtft/LCD-show`.git +chmod -R 755 LCD-show +cd LCD-show/ +``` + +## Step 3, Execute the corresponding driver for your device: + +## 2.4 inch RPi Display (MPI2401): +#### Driver install: +* `sudo ./LCD24-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/2.4inch_RPi_Display +* * EN: http://www.lcdwiki.com/2.4inch_RPi_Display - -# 2.4” RPi Display For RPi 3A+ (MPI2411): -### Driver install: -sudo ./LCD24-3A+-show -### WIKI: -CN: http://www.lcdwiki.com/zh/2.4inch_RPi_Display_For_RPi_3A+
-EN: http://www.lcdwiki.com/2.4inch_RPi_Display_For_RPi_3A+ - -# 2.8” RPi Display (MPI2801): -### Driver install: -sudo ./LCD28-show -### WIKI: -CN: http://www.lcdwiki.com/zh/2.8inch_RPi_Display
-EN: http://www.lcdwiki.com/2.8inch_RPi_Display +## 2.4 inch RPi Display For RPi 3A+ (MPI2411): +#### Driver install: +* `sudo ./LCD24-3A+-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/2.4inch_RPi_Display_For_RPi_3A+ +* EN: http://www.lcdwiki.com/2.4inch_RPi_Display_For_RPi_3A+ + +## 2.8 inch RPi Display (MPI2801): +#### Driver install: +* `sudo ./LCD28-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/2.8inch_RPi_Display +* EN: http://www.lcdwiki.com/2.8inch_RPi_Display -# 3.2” RPi Display (MPI3201): -### Driver install: -sudo ./LCD32-show -### WIKI: -CN: http://www.lcdwiki.com/zh/3.2inch_RPi_Display
-EN: http://www.lcdwiki.com/3.2inch_RPi_Display - -# MHS-3.2” RPi Display (MHS3232): -### Driver install: -sudo ./MHS32-show -### WIKI: -CN: http://www.lcdwiki.com/zh/MHS-3.2inch_Display
-EN: http://www.lcdwiki.com/MHS-3.2inch_Display - -# 3.5” RPi Display(MPI3501): -### Driver install: -sudo ./LCD35-show -### WIKI: -CN: http://www.lcdwiki.com/zh/3.5inch_RPi_Display
-EN: http://www.lcdwiki.com/3.5inch_RPi_Display +## 3.2 inch RPi Display (MPI3201): +#### Driver install: +* `sudo ./LCD32-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/3.2inch_RPi_Display +* EN: http://www.lcdwiki.com/3.2inch_RPi_Display + +## MHS-3.2 inch RPi Display (MHS3232): +#### Driver install: +* `sudo ./MHS32-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/MHS-3.2inch_Display +* EN: http://www.lcdwiki.com/MHS-3.2inch_Display + +## 3.5 inch RPi Display (MPI3501): +#### Driver install: +* `sudo ./LCD35-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/3.5inch_RPi_Display +* EN: http://www.lcdwiki.com/3.5inch_RPi_Display -# 3.5” HDMI Display-B(MPI3508): -### Driver install: -sudo ./MPI3508-show -### WIKI: -CN: http://www.lcdwiki.com/zh/3.5inch_HDMI_Display-B
-EN: http://www.lcdwiki.com/3.5inch_HDMI_Display-B +## 3.5 inch HDMI Display-B (MPI3508): +#### Driver install: +* `sudo ./MPI3508-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/3.5inch_HDMI_Display-B +* EN: http://www.lcdwiki.com/3.5inch_HDMI_Display-B -# MHS-3.5” RPi Display(MHS3528): -### Driver install: -sudo ./MHS35-show -### WIKI: -CN: http://www.lcdwiki.com/zh/MHS-3.5inch_RPi_Display
+## MHS-3.5 inch RPi Display (MHS3528): +#### Driver install: +* `sudo ./MHS35-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/MHS-3.5inch_RPi_Display EN:http://www.lcdwiki.com/MHS-3.5inch_RPi_Display -# MHS-3.5” RPi Display-B(MHS35XX): -### Driver install: -sudo ./MHS35B-show -### WIKI: -CN: http://www.lcdwiki.com/zh/MHS-3.5inch_RPi_Display-B
+## MHS-3.5 inch RPi Display-B (MHS35XX): +#### Driver install: +* `sudo ./MHS35B-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/MHS-3.5inch_RPi_Display-B EN:http://www.lcdwiki.com/MHS-3.5inch_RPi_Display-B -# 4.0" HDMI Display(MPI4008): -### Driver install: -sudo ./MPI4008-show -### WIKI: -CN: http://www.lcdwiki.com/zh/4inch_HDMI_Display-C
-EN: http://www.lcdwiki.com/4inch_HDMI_Display-C +## 4.0 inch HDMI Display (MPI4008): +#### Driver install: +* `sudo ./MPI4008-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/4inch_HDMI_Display-C +* EN: http://www.lcdwiki.com/4inch_HDMI_Display-C -# MHS-4.0" HDMI Display-B(MHS4001): -### Driver install: -sudo ./MHS40-show -### WIKI: -CN: http://www.lcdwiki.com/zh/MHS-4.0inch_Display-B
-EN: http://www.lcdwiki.com/MHS-4.0inch_Display-B +## MHS-4.0 inch HDMI Display-B (MHS4001): +#### Driver install: +* `sudo ./MHS40-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/MHS-4.0inch_Display-B +* EN: http://www.lcdwiki.com/MHS-4.0inch_Display-B -# 5.0” HDMI Display(Resistance touch)(MPI5008): -### Driver install: -sudo ./LCD5-show -### WIKI: -CN: http://www.lcdwiki.com/zh/5inch_HDMI_Display
-EN: http://www.lcdwiki.com/5inch_HDMI_Display +## 5.0 inch HDMI Display(Resistance touch) (MPI5008): +#### Driver install: +* `sudo ./LCD5-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/5inch_HDMI_Display +* EN: http://www.lcdwiki.com/5inch_HDMI_Display -# 5inch HDMI Display-B(Capacitor touch)(MPI5001): -### Driver install: -sudo ./MPI5001-show -### WIKI: -CN: http://www.lcdwiki.com/zh/5inch_HDMI_Display-B
-EN: http://www.lcdwiki.com/5inch_HDMI_Display-B +## 5 inch HDMI Display-B(Capacitor touch) (MPI5001): +#### Driver install: +* `sudo ./MPI5001-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/5inch_HDMI_Display-B +* EN: http://www.lcdwiki.com/5inch_HDMI_Display-B -# 7inch HDMI Display-B-800X480(MPI7001): -### Driver install: -sudo ./LCD7B-show -### WIKI: -CN: http://www.lcdwiki.com/zh/7inch_HDMI_Display-B
-EN: http://www.lcdwiki.com/7inch_HDMI_Display-B +## 7 inch HDMI Display-B-800X480 (MPI7001): +#### Driver install: +* `sudo ./LCD7B-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/7inch_HDMI_Display-B +* EN: http://www.lcdwiki.com/7inch_HDMI_Display-B -# 7inch HDMI Display-C-1024X600(MPI7002): -### Driver install: -sudo ./LCD7C-show -### WIKI: -CN: http://www.lcdwiki.com/zh/7inch_HDMI_Display-C
-EN: http://www.lcdwiki.com/7inch_HDMI_Display-C +## 7 inch HDMI Display-C-1024X600 (MPI7002): +#### Driver install: +* `sudo ./LCD7C-show` +#### WIKI: +* CN: http://www.lcdwiki.com/zh/7inch_HDMI_Display-C +* EN: http://www.lcdwiki.com/7inch_HDMI_Display-C -Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD. - - - +Wait a moment after executing the above command, then you can use the corresponding raspberry LCD. # How to rotate the display direction This method only applies to the Raspberry Pi series of display screens, other display screens do not apply. -### Method 1, If the driver is not installed, execute the following command (Raspberry Pi needs to connected to the Internet): - -sudo rm -rf LCD-show
-git clone https://github.com/goodtft/LCD-show.git
-chmod -R 755 LCD-show
-cd LCD-show/
-sudo ./XXX-show 90
- -After execution, the driver will be installed. The system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.
-( ' XXX-show ' can be changed to the corresponding driver, and ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
- -### Method 2, If the driver is already installed, execute the following command: - -cd LCD-show/
-sudo ./rotate.sh 90
- -After execution, the system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.
-( ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
-(If the rotate.sh prompt cannot be found, use Method 1 to install the latest drivers) - - - +## Method 1, If the driver is not installed + +Execute the following command if the driver is not installed. The Raspberry Pi needs an Internet connection. + +``` +sudo rm -rf LCD-show` +git clone https://github.com/goodtft/LCD-show`.git +chmod -R 755 LCD-show` +cd LCD-show`/ +sudo ./XXX-show` 90 +``` + +After execution, the driver will be installed. The system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally. + +`XXX-show` can be changed to the corresponding driver, and `90` can be changed to `0`, `90`, `180` or `270`, representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees, respecitively. + +### Method 2, If the driver is already installed + +Execute the following command if the driver is already installed. No Internet connection is required. + +``` +cd LCD-show/ +sudo ./rotate.sh 90 +``` + +After execution, the system will automatically restart and the driver will be installed. The system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally. + +`XXX-show` can be changed to the corresponding driver, and `90` can be changed to `0`, `90`, `180` or `270`, representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees, respecitively. + +# Change Log +Update: + v2.1-20191106 + Update to support MHS35B +Update: + v2.0-20190704 + Update to support rotate the display direction +Update: + v1.9-20181204 + Update to support MHS40 & MHS32 +Update: + v1.8-20180907 + Update to support MHS35 +Update: + v1.7-20180320 + Update to support Raspbian Version: March 2018(Release date:2018-03-13) +Update: + v1.6-20170824 + Update xserver to support Raspbian-2017-08-16 +Update: + v1.5-20170706 + Update to support Raspbian-2017-07-05, Raspbian-2017-06-21 +Update: + v1.3-20170612 + fixed to support Raspbian-2017-03-02, Raspbian-2017-04-10 +Update: + v1.2-20170302 + Add xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb to support Raspbian-2017-03-02 +Update: + v1.1-20160815 \ No newline at end of file From 9755eee05413800a44093c5dd9a836644ee1bb27 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 8 Dec 2019 05:47:01 -0500 Subject: [PATCH 2/5] Update README --- README.md | 50 ++++++++++++++++++++------------------------------ 1 file changed, 20 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 5c16ad4..11ec4c8 100755 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ cd LCD-show/ * `sudo ./LCD24-show` #### WIKI: * CN: http://www.lcdwiki.com/zh/2.4inch_RPi_Display -* * EN: http://www.lcdwiki.com/2.4inch_RPi_Display +* EN: http://www.lcdwiki.com/2.4inch_RPi_Display ## 2.4 inch RPi Display For RPi 3A+ (MPI2411): #### Driver install: @@ -171,32 +171,22 @@ After execution, the system will automatically restart and the driver will be in `XXX-show` can be changed to the corresponding driver, and `90` can be changed to `0`, `90`, `180` or `270`, representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees, respecitively. # Change Log -Update: - v2.1-20191106 - Update to support MHS35B -Update: - v2.0-20190704 - Update to support rotate the display direction -Update: - v1.9-20181204 - Update to support MHS40 & MHS32 -Update: - v1.8-20180907 - Update to support MHS35 -Update: - v1.7-20180320 - Update to support Raspbian Version: March 2018(Release date:2018-03-13) -Update: - v1.6-20170824 - Update xserver to support Raspbian-2017-08-16 -Update: - v1.5-20170706 - Update to support Raspbian-2017-07-05, Raspbian-2017-06-21 -Update: - v1.3-20170612 - fixed to support Raspbian-2017-03-02, Raspbian-2017-04-10 -Update: - v1.2-20170302 - Add xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb to support Raspbian-2017-03-02 -Update: - v1.1-20160815 \ No newline at end of file +* v2.1-20191106 + - Update to support MHS35B +* v2.0-20190704 + - Update to support rotate the display direction +* v1.9-20181204 + - Update to support MHS40 & MHS32 +* v1.8-20180907 + - Update to support MHS35 +* v1.7-20180320 + - Update to support Raspbian Version: March 2018(Release date:2018-03-13) +* v1.6-20170824 + - Update xserver to support Raspbian-2017-08-16 +* v1.5-20170706 + - Update to support Raspbian-2017-07-05, Raspbian-2017-06-21 +* v1.3-20170612 + * fixed to support Raspbian-2017-03-02, Raspbian-2017-04-10 +* v1.2-20170302 + * Add xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb to support Raspbian-2017-03-02 +* v1.1-20160815 From 95344bfa74fa8d813643c9a24f31c40403d1ca5f Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 8 Dec 2019 06:48:51 -0500 Subject: [PATCH 3/5] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 11ec4c8..e89bd15 100755 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Links for Ubuntu, Kali and Retropie Linux are available at the following locatio 2. Use `SDFormatter.exe` to format your memory card 3. Use `Win32DiskImager.exe` to burn image to memory card -## Step 2, Clone this repo onto your rpi +## Step 2, Clone LCD-show repo onto your RPi 1. Use SSH to connect the Raspberry Pi 2. Ensure that the Raspberry Pi is connected to the Internet before executing the following commands: @@ -28,7 +28,7 @@ chmod -R 755 LCD-show cd LCD-show/ ``` -## Step 3, Execute the corresponding driver for your device: +## Step 3, Execute the corresponding driver for your device ## 2.4 inch RPi Display (MPI2401): #### Driver install: From 29e7ac99de39a17203ab3149dd66512bb8f12fae Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 8 Dec 2019 06:50:24 -0500 Subject: [PATCH 4/5] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e89bd15..58dfed9 100755 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Links for Ubuntu, Kali and Retropie Linux are available at the following locatio ``` sudo rm -rf LCD-show -git clone https://github.com/goodtft/LCD-show`.git +git clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ ``` From e003cde2a701b8052d6e39ac98e5b5073b4364ec Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 8 Dec 2019 06:54:20 -0500 Subject: [PATCH 5/5] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58dfed9..3c0a9d2 100755 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ EN:http://www.lcdwiki.com/MHS-3.5inch_RPi_Display * `sudo ./MHS35B-show` #### WIKI: * CN: http://www.lcdwiki.com/zh/MHS-3.5inch_RPi_Display-B -EN:http://www.lcdwiki.com/MHS-3.5inch_RPi_Display-B +* EN:http://www.lcdwiki.com/MHS-3.5inch_RPi_Display-B ## 4.0 inch HDMI Display (MPI4008): #### Driver install: