williamfzc / pyminitouch

python wrapper of minitouch, for better experience
https://pyminitouch.readthedocs.io
MIT License
127 stars 25 forks source link

日志正常,但设备没反应 #27

Open alonefaquir opened 10 months ago

alonefaquir commented 10 months ago

2024-01-05 14:54:11.163 | INFO | pyminitouch.utils:is_device_connected:56 - device PCM online 2024-01-05 14:54:11.163 | INFO | pyminitouch.connection:init:87 - searching a usable port ... 2024-01-05 14:54:13.177 | INFO | pyminitouch.connection:init:89 - device 172.16.250.248:5555 bind to port 20587 2024-01-05 14:54:13.691 | INFO | pyminitouch.connection:get_abi:35 - device 172.16.250.248:5555 is arm64-v8a 2024-01-05 14:54:14.114 | INFO | pyminitouch.connection:init:27 - minitouch already existed in 172.16.250.248:5555 2024-01-05 14:54:14.114 | DEBUG | pyminitouch.connection:_forward_port:128 - forward command: adb -s 172.16.250.248:5555 forward tcp:20587 localabstract:minitouch 2024-01-05 14:54:14.496 | DEBUG | pyminitouch.connection:_forward_port:130 - output: b'20587\r\n' 2024-01-05 14:54:14.497 | INFO | pyminitouch.connection:_start_mnt:141 - start minitouch: adb -s 172.16.250.248:5555 shell /data/local/tmp/minitouch Note: device /dev/input/event0 was outscored by /dev/input/event1 (0 >= 0) Type B touch device virtualtouchpad-1 (65535x65535 with 11 contacts) detected on /dev/input/event1 (score 0) Note: hard-limiting maximum number of contacts to 10 Connection established 2024-01-05 14:54:15.875 | INFO | pyminitouch.connection:init:183 - minitouch running on port: 20587, pid: 24751 2024-01-05 14:54:15.876 | INFO | pyminitouch.connection:init:186 - max_contact: 10; max_x: 65535; max_y: 65535; max_pressure: 0 2024-01-05 14:54:15.876 | INFO | pyminitouch.actions:publish:63 - send operation: d 0 360 360 100\nc\nu 0\nc\n 2024-01-05 14:54:15.934 | INFO | pyminitouch.connection:disconnect:195 - minitouch disconnected 2024-01-05 14:54:15.934 | INFO | pyminitouch.connection:stop:108 - device 172.16.250.248:5555 unbind to 20587

从日志来看,正常运行,不知道为什么设备没有任何反应

williamfzc commented 10 months ago

max_contact: 10; max_x: 65535; max_y: 65535; max_pressure: 0

看起来并不对,可以看看单minitouch是否正常