5" MIPI DSI Touch screen touch event not work when using balenaOS multiple containers on raspberry pi 4

Do anyone have this situation?
When using single container, touch events work fine; however when using multiple containers, touch events don’t work properly.
I already add privileged: true to the main container, unfortunately, it doesn’t work.

What should I do to fix this problem?

the similar issue, https://github.com/balena-os/balena-raspberrypi/issues/300

In this issue, @danielmahon provides the solution to add ENV UDEV 1 in the Dockerfile; however it’s not work for me.

I use the other solution, which add the script file, udevadm.sh, and execute in the Dockerfile.

#!/bin/bash

#!/bin/bash

chroot /proc/1/root /bin/bash <<"EOT"
udevadm control --reload-rules
udevadm trigger
echo $$
EOT

Hello @isaacchamp could you please confirm what display (touchscreen) are you using? And what device type and balenaOS version to try to reproduce internally?

Thanks!

The device type I’m using is Raspberry Pi 4 2G and the os version is 2.83.10+rev1-dev-v12.9.3.

The display is bought from alibaba.com

Hi @isaacchamp , what other containers are you running on the device?

Hello @jmakivic ,
The other container I use is 2.73.1+rev1-v12.4.6.

@isaacchamp can you share the logs which you receive when you run the container for your display?