I bought a touchscreen and installed the drivers for it, but now my hdmi doesn't work. I am currently running Raspbian on Raspberry Pi 4 model B.And I have a 3.5 inch tft screen.I do not no what driver I have. I got it through my terminal from the github. They gave me a command for the terminal to enable the hdmi but it doesen't work. They said that once I installed the driver it would disable my hdmi, but they said you could enable it by executing this command: sudo ./LCD-hdmi. The exact name of my screen is: MHS-3.5 inch Display. Can you guys help me?
-
Hi @Julian, If you are installing an ILI9341 type touch screen driver, the following post might help: LCD TFT screen 2.8" ILI9341 SPI Connect: raspberrypi.stackexchange.com/questions/98549/…– tlfong01Aug 9, 2019 at 1:16
-
1What touchscreen? What drivers? What Raspberry Pi? What operating system? Please edit your question and add missing information to it.– IngoAug 9, 2019 at 10:28
-
@Julian See the answer from Ravi Mali in the following post. It implies that the sudo ./LCD-hdmi command must be executed from the same directory where you executed the MHS35-show command. You were not specific about how the sudo ./LCD-hdmi command "doesen't work". raspberrypi.stackexchange.com/questions/93023/… The docs here show you doing a "cd LCD-show" before MHS-35-show. Make sure you are in the directory where the LCD-show executable resides. lcdwiki.com/…– MartinMartyAug 10, 2019 at 3:19
1 Answer
The command sudo ./LCD-hdmi
will run a script that uncomments the line hdmi_force_hotplug=1
in Raspberry PI Config File which will force raspbian to use HDMI instead of the touchscreen. If you do this, you will have to comment the line hdmi_force_hotplug=1
everytime you want to use your touchscreen instead of the HDMI. I hope this helps.