UCTRONICS_LCD35_RPI icon indicating copy to clipboard operation
UCTRONICS_LCD35_RPI copied to clipboard

Switch back to HDMI?

Open nyxschaefer opened this issue 8 years ago • 10 comments

I want to switch back over to HDMI how do i do this?

nyxschaefer avatar Feb 01 '18 00:02 nyxschaefer

@gabes989 Just run sudo ./UCTRONICS_LCD_hdmi

UCTRONICS avatar Feb 02 '18 05:02 UCTRONICS

That didn’t work

nyxschaefer avatar Feb 02 '18 12:02 nyxschaefer

I thought that it didn't work either, but it was just really slow, like 3 minutes to execute and then it rebooted into hdmi.

W5DMH avatar Feb 02 '18 17:02 W5DMH

It’s says “Sudo: ./UCTRONICDS_LCD_hdmi: not found”

nyxschaefer avatar Feb 02 '18 20:02 nyxschaefer

You have a typo there, it should be : sudo ./UCTRONICS_LCD_hdmi

Are you running it while you are in the UCTRONICS folder?

W5DMH avatar Feb 02 '18 23:02 W5DMH

The typo was was a mistake when I was commenting, what do you mean by “in the folder”

nyxschaefer avatar Feb 03 '18 01:02 nyxschaefer

On my Pi the UCTRONICS files are in : /home/pi/UCTRONICS_LCD35_RPI/

you should go to that folder before executing the hdmi file :

cd /home/pi/UCTRONICS_LCD35_RPI/

then do : sudo ./UCTRONICS_LCD_hdmi

W5DMH avatar Feb 03 '18 11:02 W5DMH

Is there a way to auto switch between the two upon startup if it detects an HDMI screen?

nescro147 avatar Mar 29 '18 18:03 nescro147

I ran this command successfully. But it still used the LCD on reboot. I tried 4 times, no dice.

adipose avatar Oct 26 '18 06:10 adipose

I see--the script must be run from the UCTRONICS_LCD35_RPI folder. If you run it by absolute path, it isn't clever enough to run properly. It reboots so fast, though, you don't see that it's failing.

I suggest either preventing it from running by absolute path, or fixing the script to find it's home dir.

adipose avatar Oct 26 '18 06:10 adipose