Bug: RPi 4B with Uperfect UPi B7 --> touch input does not work with v14.7.0
Hello,
I use a RPi 4B with the 10 inch Touch Display of uperfect. The Display is connected via HDMI (display) and USB (touch input).
I used the Raspberry Pi Imager (v1.9.0) to write Emteria (Android 14, published 2023-11-23) to my SD Card and everything worked fine.
After upgrading Emteria from v14.2.0 to v14.7.0 the touchscreen did not respond to touch inputs anymore. I was able to get this output from dmesg via ssh:
# Disconnect USB-Connector of display [Sun Mar 9 20:37:59 2025] usb 1-1.4: USB disconnect, device number 3 [Sun Mar 9 20:37:59 2025] ueventd: Loading module /vendor/lib/modules/joydev.ko with args '' [Sun Mar 9 20:37:59 2025] ueventd: LoadWithAliases was unable to load hid:b0003g0004v00000416p0000C168 [Sun Mar 9 20:37:59 2025] ueventd: LoadWithAliases was unable to load usb:v0416pC168d0000dc00dsc00dp00ic03isc01ip02in00 [Sun Mar 9 20:37:59 2025] ueventd: LoadWithAliases was unable to load input:b0003v0416pC168e0111-e0,1,4,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,lsfw [Sun Mar 9 20:37:59 2025] ueventd: LoadWithAliases was unable to load hid:b0003g0001v00000416p0000C168 [Sun Mar 9 20:37:59 2025] ueventd: LoadWithAliases was unable to load usb:v0416pC168d0000dc00dsc00dp00ic03isc01ip01in01 # Reconnect USB-Connector of display [Sun Mar 9 20:38:14 2025] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd [Sun Mar 9 20:38:14 2025] usb 1-1.4: New USB device found, idVendor=0416, idProduct=c168, bcdDevice= 0.00 [Sun Mar 9 20:38:14 2025] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [Sun Mar 9 20:38:14 2025] usb 1-1.4: Product: MTouch [Sun Mar 9 20:38:14 2025] usb 1-1.4: Manufacturer: TSTP [Sun Mar 9 20:38:14 2025] usb 1-1.4: SerialNumber: CMTP_1.0 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load usb:v0416pC168d0000dc00dsc00dp00ic03isc01ip02in00 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load hid:b0003g0004v00000416p0000C168 [Sun Mar 9 20:38:14 2025] input: TSTP MTouch as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:0416:C168.0003/input/input2 [Sun Mar 9 20:38:14 2025] hid-multitouch 0003:0416:C168.0003: input,hidraw0: USB HID v1.11 Device [TSTP MTouch] on usb-0000:01:00.0-1.4/input0 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load input:b0003v0416pC168e0111-e0,1,3,4,k14A,ra0,1,2F,35,36,39,m5,lsfw [Sun Mar 9 20:38:14 2025] input: TSTP MTouch as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:0416:C168.0004/input/input3 [Sun Mar 9 20:38:14 2025] hid-generic 0003:0416:C168.0004: input,hidraw1: USB HID v1.11 Keyboard [TSTP MTouch] on usb-0000:01:00.0-1.4/input1 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load hid:b0003g0004v00000416p0000C168 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load usb:v0416pC168d0000dc00dsc00dp00ic03isc01ip02in00 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load usb:v0416pC168d0000dc00dsc00dp00ic03isc01ip01in01 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load hid:b0003g0001v00000416p0000C168 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load input:b0003v0416pC168e0111-e0,1,4,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,lsfw [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load hid:b0003g0001v00000416p0000C168 [Sun Mar 9 20:38:14 2025] ueventd: LoadWithAliases was unable to load usb:v0416pC168d0000dc00dsc00dp00ic03isc01ip01in01 [Sun Mar 9 20:38:14 2025] type=1400 audit(1741549095.341:7461): avc: denied { read } for comm="InputReader" name="country" dev="sysfs" ino=33260 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 [Sun Mar 9 20:38:14 2025] type=1400 audit(1741549095.341:7462): avc: denied { open } for comm="InputReader" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:0416:C168.0003/country" dev="sysfs" ino=33260 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 [Sun Mar 9 20:38:14 2025] type=1400 audit(1741549095.341:7463): avc: denied { getattr } for comm="InputReader" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:0416:C168.0003/country" dev="sysfs" ino=33260 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
I tried to reinstall Emteria using the appimage provided for Linux x64. The device booted properly after writing the image to the sd card but it did not respond to any touch inputs. The problem is reproducible in my setup.
How can this be solved?
Thank you.