Hi folks,
I managed to install and calibrate the 5’ waveshare display on my Pi, with the Web-UI working perfectly. It took some trial and error, but the main steps to success were:
(Prerequisites:
Raspberry Pi 3B
volumio-2.502-2018-10-31-pi.img
waveshare 5’ resistive Touch HDMI-Display (Art.No.:10563)
The User Name for Volumio: root - - - Password: volumio
The User Name for lxde Desktop: volumio - - - Password: volumio)
sudo apt-get install -y lxde xserver-xorg - - - install Openbox Display Manager to receive a platform for calibration of the touch
Edit this file: /boot/config.txt for the Display and correct resolution:
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1
Extract “xinput-calibrator…armhf” from the LCD-show-file from waveshare website
Install on Pi via Terminal: sudo dpkg -i xinput-calibrator_0.7.5-1_armhf.deb
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11 /xorg.conf.d/45-evdev.conf
sudo mkdir /etc/X11/xorg.conf.d/
sudo nano /usr/share/X11/xorg.conf.d/90-calibration.conf
put inside this newly created file:
Section „InputClass“
Identifier “calibration“
MatchProduct “ADS7846 Touchscreen“
Option “Calibration“ “170 3900 170 3900“
Option „SwapAxes“ “0“
EndSection
Add this line to the /boot/config.txt - file:
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
If everything is done right, you will have a menu-entry for the calibration on your Openbox-Desktop-Manager:
Menu/Preferences/Calibrate Touchscreen.
After that, make login to Openbox automatically (if you don’t want to confirm Password at every boot):
Edit the following file: /etc/lightdm/lightdm.conf
Find the entries beginning with:
[SeatDefaults]
#type=xlocal
#xdg-seat=seat0
…
Here you edit/uncomment this two lines to the following content:
autologin-user=volumio
autologin-user-timeout=0
AFTER that all: connect to volumio-Pi by browser (“volumio.local” or IP-adress)
Gear wheel / Plugins / Miscellanea / Display-Plugin - Install.
When you are all done, a restart will at first open the Openbox DM, and around 20 secs. later the Volumio GUI will appear and There you are!
Have Fun!
Armin