This is a quick workaround for those who have a newer version of the waveshare LCD35B. Version 2 of the Waveshare LCD35B works with the current tx-pi raspian image with tx-pi preinstalled, but the image is not crips as there is a lot of ghosting. When you install the latest waveshare driver specifying LCD35B-show-V2, things initially seem fine, but the display turns black when booting has finished. I downloaded the latest waveshare setup file (git clone https://github.com/waveshare/LCD-show.git) and edited the tx-pi-setup.sh script:
comment out 3 lines:
#wget -N http://www.waveshare.com/w/upload/0/00/LCD-show-170703.tar.gz
#tar xvfz LCD-show-170703.tar.gz
#rm -f ./LCD-show-170703.tar.gz
Change this line:
./$LCD-show $ORIENTATION
to
./$LCD-show-V2 $ORIENTATION
Then run the install script:
sudo tx-pi-setup.sh LCD35B
This will install the LCD35B-V2 files, but as mentioned before, you'll end up with a black screen. I copied the files waveshare35b-v2.dtbo and waveshare35b-v2-overlay.dtb from /boot/overlays to my laptop using sftp. I then reformatted my SD card, reinstalled the image, booted the raspberry pi, copied the two wavefile files mentioned above to /boot/overlays and finally edited one line in the /boot/config.txt file:
Change:
dtoverlay=waveshare35a:rotate=180
to
dtoverlay=waveshare35b-v2:rotate=180
and reboot. This now works with much sharper images and text. There is probably a better way to do this, but this might help people who like me got stuck. Great project, by the way, keep up the good work.
This is a quick workaround for those who have a newer version of the waveshare LCD35B. Version 2 of the Waveshare LCD35B works with the current tx-pi raspian image with tx-pi preinstalled, but the image is not crips as there is a lot of ghosting. When you install the latest waveshare driver specifying LCD35B-show-V2, things initially seem fine, but the display turns black when booting has finished. I downloaded the latest waveshare setup file (git clone https://github.com/waveshare/LCD-show.git) and edited the tx-pi-setup.sh script:
comment out 3 lines:
#wget -N http://www.waveshare.com/w/upload/0/00/LCD-show-170703.tar.gz
#tar xvfz LCD-show-170703.tar.gz
#rm -f ./LCD-show-170703.tar.gz
Change this line:
./$LCD-show $ORIENTATION
to
./$LCD-show-V2 $ORIENTATION
Then run the install script:
sudo tx-pi-setup.sh LCD35B
This will install the LCD35B-V2 files, but as mentioned before, you'll end up with a black screen. I copied the files waveshare35b-v2.dtbo and waveshare35b-v2-overlay.dtb from /boot/overlays to my laptop using sftp. I then reformatted my SD card, reinstalled the image, booted the raspberry pi, copied the two wavefile files mentioned above to /boot/overlays and finally edited one line in the /boot/config.txt file:
Change:
dtoverlay=waveshare35a:rotate=180
to
dtoverlay=waveshare35b-v2:rotate=180
and reboot. This now works with much sharper images and text. There is probably a better way to do this, but this might help people who like me got stuck. Great project, by the way, keep up the good work.