I would not recommend to run the script from goodtft’s GitHub repository. Instead try the following:
-
Start with a fresh Volumio system.
-
Install the Touch Display plugin from Volumio’s plugin store: Click on the “burger” sign displayed in the left upper corner of Volumio’s UI then choose “Plugins”. On the tab “Search Plugins” choose “User Interface”. From there install the Touch Display plugin.
-
Execute
sudo apt-get -y install xserver-xorg-video-fbturbo
sudo apt-get -y install xserver-xorg-input-evdev
sudo cp /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
sudo curl -L https://github.com/goodtft/LCD-show/raw/master/usr/mhs35-overlay.dtb -o /boot/overlays/mhs35.dtbo
sudo curl -L https://raw.githubusercontent.com/goodtft/LCD-show/master/usr/99-calibration.conf-mhs35-90 -o /etc/X11/xorg.conf.d/99-calibration.conf
sudo curl -L https://raw.githubusercontent.com/goodtft/LCD-show/master/usr/99-fbturbo.conf -o /usr/share/X11/xorg.conf.d/99-fbturbo.conf
cat >> /boot/userconfig.txt <<EOL
dtparam=spi=on
dtoverlay=mhs35:rotate=90
EOL
- Reboot.
BTW: What is your Volumio version?