UCTRONICS / UCTRONICS_LCD35_RPI

This driver is used for UCTRONICS LCD35 with SPI interface
41 stars 16 forks source link

Install fail? #16

Closed doc-aka-rich closed 3 years ago

doc-aka-rich commented 3 years ago

Funky ... As best I could, followed install, and after completing [& rebooting] slowly paints over the UCTRONICS logo and does nothing else. I attached a photo of the UCTRONICS logo being painted over. Once the logo is all BLACK, it just sits. The Pi seems hung by the driver, and won't accept SSH connection. Does this product work, is there something wrong with installing it on raspiOS, or did I do something wrong????

Here's my sys:

pi@raspberrypi:~/UCTRONICS_HSLCD35/Raspbian $ cat /proc/cpuinfo | grep Model Model : Raspberry Pi 3 Model B Plus Rev 1.3

pi@raspberrypi:~/UCTRONICS_HSLCD35/Raspbian $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Here's my install ... following the guide as best as I can:

pi@raspberrypi:~ $ sudo git clone https://github.com/UCTRONICS/UCTRONICS_LCD35_RPI.git Cloning into 'UCTRONICS_LCD35_RPI'... remote: Enumerating objects: 19851, done. remote: Total 19851 (delta 0), reused 0 (delta 0), pack-reused 19851 Receiving objects: 100% (19851/19851), 258.62 MiB | 2.73 MiB/s, done. Resolving deltas: 100% (12911/12911), done. Checking out files: 100% (9801/9801), done. pi@raspberrypi:~ $ cd UCTRONICS_LCD35_RPI pi@raspberrypi:~/UCTRONICS_LCD35_RPI $ sudo chmod 777 UCTRONICS_LCD_backup pi@raspberrypi:~/UCTRONICS_LCD35_RPI $ sudo chmod 777 UCTRONICS_LCD35_install pi@raspberrypi:~/UCTRONICS_LCD35_RPI $ sudo chmod 777 UCTRONICS_LCD_restore pi@raspberrypi:~/UCTRONICS_LCD35_RPI $ sudo chmod 777 UCTRONICS_LCD_hdmi pi@raspberrypi:~/UCTRONICS_LCD35_RPI $ ls backup toggle-matchbox-keyboard.desktop UCTRONICS_LCD35_rotation_90_install hdmi toggle-matchbox-keyboard.sh uctronics_lcd35_rpi image Troubleshooting.md UCTRONICS_LCD_backup install UCTRONICS_LCD35_install UCTRONICS_LCD_hdmi panel UCTRONICS_LCD35_rotation_180_install UCTRONICS_LCD_restore README.md UCTRONICS_LCD35_rotation_270_install Xinput-calibrator_0.7.5-1_armhf.zip pi@raspberrypi:~/UCTRONICS_LCD35_RPI $ sudo ./UCTRONICS_LCD_backup pi@raspberrypi:~/UCTRONICS_LCD35_RPI $ sudo ./UCTRONICS_LCD35_install Now begin install UCTRONICS_LCD35 driver... copying the kernel.img file... copy kernel.img OK. copying the .dtb files... copy the .dtb files OK. copying the lib files... This step need a long time, please be patient... copy the lib files OK. raspberrypi-kernel set on hold. Congratulatons! Now automatic reboot your raspberryPi and it will support UCTRONICS LCD35 screen. Connection to 192.168.2.100 closed by remote host. Connection to 192.168.2.100 closed. x@x-E3-1270v2:~$ UCTRONIC LCD35

doc-aka-rich commented 3 years ago

It is working and can close this issue.

I initially tried loading github.com/UCTRONICS/UCTRONICS_HSLCD35, and it failed I then tried loading github.com/UCTRONICS/UCTRONICS_LCD35_RPI, and it failed I retried loading github.com/UCTRONICS/UCTRONICS_HSLCD35 ... and it worked.

The difference between the first attempt that failed and the 3rd attempt with the same drivers that succeeded is that I initially didn't connect the UCTRONICS LCD35 display until AFTER the drivers were loaded (at the reboot after driver loading).

For the retry I simply connected the UCTRONICS LCD35 at the start, through loading the OS, Pi configuration, and UCTRONICS driver install.

Whether the installer checks whether the hardware is present at some point during driver installation may or may not be the cause of the initial failure, but as long as it works I can live without knowing for sure.