pyminitouch icon indicating copy to clipboard operation
pyminitouch copied to clipboard

Insufficient authority?

Open 12MYDH opened this issue 3 years ago • 5 comments

2022-12-16 22:18:10.655 | INFO | pyminitouch.utils:is_device_connected:56 - device CPH2113 online 2022-12-16 22:18:10.656 | INFO | pyminitouch.connection:init:87 - searching a usable port ... 2022-12-16 22:18:12.660 | INFO | pyminitouch.connection:init:89 - device b15313e9 bind to port 20770 2022-12-16 22:18:12.792 | INFO | pyminitouch.connection:get_abi:35 - device b15313e9 is arm64-v8a 2022-12-16 22:18:12.899 | INFO | pyminitouch.connection:init:27 - minitouch already existed in b15313e9 2022-12-16 22:18:12.899 | DEBUG | pyminitouch.connection:_forward_port:128 - forward command: adb -s b15313e9 forward tcp:20770 localabstract:minitouch 2022-12-16 22:18:12.946 | DEBUG | pyminitouch.connection:_forward_port:130 - output: b'20770\r\n' 2022-12-16 22:18:12.946 | INFO | pyminitouch.connection:_start_mnt:141 - start minitouch: adb -s b15313e9 shell /data/local/tmp/minitouch open: Permission denied Unable to open device /dev/input/event6 for inspectionopen: Permission denied Unable to open device /dev/input/event5 for inspectionopen: Permission denied Unable to open device /dev/input/event1 for inspectionopen: Permission denied Unable to open device /dev/input/event4 for inspectionopen: Permission denied Unable to open device /dev/input/event0 for inspectionopen: Permission denied Unable to open device /dev/input/event2 for inspectionopen: Permission denied Unable to open device /dev/input/event3 for inspectionUnable to find a suitable touch device Traceback (most recent call last):

12MYDH avatar Dec 16 '22 14:12 12MYDH

What's the type of your device?

williamfzc avatar Dec 16 '22 14:12 williamfzc

The problem is that, your device must have android 10 or a higher version, try enabling usb debugging.

boludoz avatar Jan 08 '23 14:01 boludoz

computer is win11, phone is oppo reno5 5G

12MYDH avatar Mar 04 '23 15:03 12MYDH

The problem is that, your device must have android 10 or a higher version, try enabling usb debugging.

yes, I'am do it

12MYDH avatar Mar 04 '23 15:03 12MYDH

adb -s b15313e9 shell /data/local/tmp/minitouch

You can try calling raw minitouch for checking its permission is correct. If it did not work too, the problem might not caused by python wrapper.

https://github.com/openstf/minitouch/issues/41

williamfzc avatar Mar 05 '23 02:03 williamfzc