openstf / minitouch

Minimal multitouch event producer for Android.
Other
639 stars 236 forks source link

Unable to find suitable touch device #65

Closed magthe closed 4 years ago

magthe commented 4 years ago

I've been using minitouch for a couple of weeks on a Samsung A40. After an upgrade on May 8th it seems to no longer be able to find a "suitable touch device". Anyone else seeing the issue on the same device, or similar ones?

Some info

Minitouch version libevdev version
1.2.0 1.5.6
1.3.0 1.5.6
1.3.0 1.5.9
1|a40:/data/local/tmp $ ./minitouch -v -f ./test.trace 
open: Permission denied
Unable to open device /dev/input/event1 for inspectionopen: Permission denied
Unable to open device /dev/input/event14 for inspectionopen: Permission denied
Unable to open device /dev/input/event15 for inspectionopen: Permission denied
Unable to open device /dev/input/event13 for inspectionopen: Permission denied
Unable to open device /dev/input/mouse0 for inspectionopen: Permission denied
Unable to open device /dev/input/event2 for inspectionopen: Permission denied
Unable to open device /dev/input/event10 for inspectionopen: Permission denied
Unable to open device /dev/input/event9 for inspectionopen: Permission denied
Unable to open device /dev/input/event5 for inspectionopen: Permission denied
Unable to open device /dev/input/event6 for inspectionopen: Permission denied
Unable to open device /dev/input/event11 for inspectionopen: Permission denied
Unable to open device /dev/input/event7 for inspectionopen: Permission denied
Unable to open device /dev/input/event0 for inspectionopen: Permission denied
Unable to open device /dev/input/mice for inspectionopen: Permission denied
Unable to open device /dev/input/event12 for inspectionopen: Permission denied
Unable to open device /dev/input/event3 for inspectionopen: Permission denied
Unable to open device /dev/input/event8 for inspectionopen: Permission denied
Unable to open device /dev/input/event4 for inspectionUnable to find a suitable touch device
connecting socket: Connection refused
1|a40:/data/local/tmp $ id
uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0

I'm thankful for all information you can offer.

magthe commented 4 years ago

Ah, I'm guessing this is how the "Android 10 security policy" manifests itself. I guess I'll have to look into the STF service then.