Issues setting up minix sf10t display

Hi guys,

So far I was using a V4 official kit and now I’m trying upgrade to pi 5 in a new “custom” setup. The hardware used is a Pi 5 8GB with a 128 GB nvme in a case Argon Neo 5 NVME and a 10 inches touchscreen Minix SF10T, the soundcard will be an Arturia minfuse 2 OTG.

I downloaded the latest stable zynthian image and flashed to SD. After first boot, setting up the soundcard was straightforward. Configuring the display was not so easy.

The display has hdmi connection and usb touch interface and 1920x1280 resolution. In webconf, Waveshare hdmi+usb 1920x1080 profile worked (tweaking resolution to 1920x1080). Then I tried to rotate display, first I tried to set display_rotate=2 in Webconf, that didn’t work. Searching the forum I found @Lanfranco solution that worked for me:

sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
Section “Monitor”
Identifier “HDMI-1”
Option “Rotate” “inverted”
EndSection

The touch interface was way more difficult to meke it work. I first noticed that touching the display only worked in a small square area in the upper left corner. I did a lot of research in the forum without success. Then I tried IA help and finally got the following script that worked.

echo ‘#!/bin/bash
export DISPLAY=:0
export XAUTHORITY=/root/.Xauthority
aplicar_config() {
DEV=“Silicon Integrated System Co. SiS HID Touch Controller”
ID=$(/usr/bin/xinput list --id-only “$DEV” 2>/dev/null)
if [ -n “$ID” ]; then
/usr/bin/xrandr --output HDMI-1 --rotate inverted
/usr/bin/xinput enable “$ID”
/usr/bin/xinput reattach “$ID”
/usr/bin/xinput set-prop “$ID” “Coordinate Transformation Matrix” -1 0 1 0 -1 1 0 0 1
fi
}
(
for i in {1..12}; do
aplicar_config
sleep 10
done
) &’ > /zynthian/zynthian-my-data/scripts/touch_fix.sh && chmod +x /zynthian/zynthian-my-data/scripts/touch_fix.sh

Then I had to add this: bash /zynthian/zynthian-my-data/scripts/touch_fix.sh to rc.local

Perhaps is not the smarter way to achieve what I wanted, but in the end it’s now working.

I’m wondering now how I can automatically recreate all this configuration in case I need to reflash Zynthian OS.

As a side note, I have a minor issue using my new setup. Very ofthen (but not always) when using touch keyboard (renaming a snapshot i.e.) the keyboard seems to enter in loop and didn’t accept anything unless cancel. I don’t know if it’s related to my hardware or not.

BTW, @riban script to move Zynthian OS to nvme worked.

Best regards.

Be careful because, as I wrote in that post, shortly after doing that, Zynthian wouldn’t boot and I had to reflash it. I connected a 7-inch display with HDMI and USB touch, and everything started on the first boot by selecting it from webconf. Wait until one of the developers says anything, because @riban told me it wasn’t worth doing that.

Hi, @Lanfranco

For me is working after several reboots. As I said before I think is not the smarter solution, but it works….wating our fantastic developpers give us a better solution. I assume I must pay something extra (in patience terms) going off road.

Best regards.

1 Like

I am not sure if paying works, but audio examples are much appreciated in this forum :optical_disk:.