I’ve installed Volumio in my Raspberry Pi 2 Model B with a non-branded 3.5 inch GPIO display (XPT2046) . After first boot, initial config and Touch Display installed and enabled, I’ve followed the steps here and alternatively here. In that process apparently there’s no errors but when I reboot and Volumio starts the display keeps in black (white initially and black when it starts).
The Volumio web shows this errors:
Error connecting to the Xserver
Error modifying /etc/X11/xorg.conf.d/95-touch_display-plugin.conf: Error: Command failed: /bin/echo volumio | /usr/bin/sudo -S /bin/sed -i -e ‘/Option “TransformationMatrix”/d’ /etc/X11/xorg.conf.d/95-touch_display-plugin.conf [sudo] password for volumio: /bin/sed: can’t read /etc/X11/xorg.conf.d/95-touch_display-plugin.conf: No such file or directory
I’ve tried the same process with various Volumio versions (latest, lower than 1.55,…) and the same weird final. In some of the attempts, I connect the RPI to an external monitor via HDMI and I can see the Volumio interface (even with the tactile feedback when I touch the GPIO screen).
The screen works perfectly with other OS (Raspbian) but I can’t get it to work with Volumio.
If the display should not have the orientation you are looking for, add a rotation parameter to the overlay in “/boot/userconfig.txt” so it looks something like this:
This would rotate the display (not touch) by 90 degrees clockwise.
Reboot once again.
If the display rotation appears to be correct now, check if the touch function is already properly aligned to the display. If this should not the be case try to find out by what amount touch has to be rotated. Then head over to the Touch Display’s configuration page and set this value in the rotation setting.
Reboot and check if touch is properly aligned to the display now. It is possible that setting the rotation in the prior step does not suffice. This would be the case if the touch axes are inverted or swapped which is not uncommon on these kind of screens… Then you would have to find out how the axes inverted or swapped. Report back with your findings so we could try to find the right values to correct that.
Swapping axes can be done in “/etc/X11/xorg.conf.d/99-calibration.conf” if evdev is installed. From what I have seen from your Xorg.0.log this is currently not the case. If my first suggestion shouldn’t work this would be the next option.