these are my changes for the MHS35 to make it work correctly for the Pi 5 on Raspberry Pi OS Bookworm
sudo rm -rf LCD-show
git clone https://github.com/mariusquabeck/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./MHS35-show-pi5
CN: http://www.lcdwiki.com/zh/MHS-3.5inch_RPi_Display
EN:http://www.lcdwiki.com/MHS-3.5inch_RPi_Display
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)
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)