openstf / minitouch

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

minitouch is not supported by lenovo P1 #16

Open ghost opened 7 years ago

ghost commented 7 years ago

[2017-03-30 16:13:58.783] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] Connecting to minitouch service [2017-03-30 16:13:59.225] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Note: device /dev/input/event1 was outscored by /dev/input/event0 (1100 >= 1000)" [2017-03-30 16:13:59.226] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Note: device /dev/input/mice is not supported by libevdev" [2017-03-30 16:13:59.574] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Type B touch device goodix_ts (1080x1920 with 16 contacts) detected on /dev/input/event0 (score 1100)" [2017-03-30 16:13:59.575] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Note: hard-limiting maximum number of contacts to 10" [2017-03-30 16:14:00.320] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Connection established"

sorccu commented 7 years ago

Why do you think so? That log looks completely normal to me, it was able to start just fine. On Thu, Mar 30, 2017 at 17:32 Colin han notifications@github.com wrote:

[2017-03-30 16:13:58.783] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] Connecting to minitouch service [2017-03-30 16:13:59.225] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Note: device /dev/input/event1 was outscored by /dev/input/event0 (1100 >= 1000)" [2017-03-30 16:13:59.226] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Note: device /dev/input/mice is not supported by libevdev" [2017-03-30 16:13:59.574] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Type B touch device goodix_ts (1080x1920 with 16 contacts) detected on /dev/input/event0 (score 1100)" [2017-03-30 16:13:59.575] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Note: hard-limiting maximum number of contacts to 10" [2017-03-30 16:14:00.320] INF/device:plugins:touch 29264 [b827eb32b11e_1-1.5.4.2] minitouch says: "Connection established"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openstf/minitouch/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_XgUuGukbvj-dNOlSG-GZTRgp-lzks5rq2ifgaJpZM4MuB4u .

ghost commented 7 years ago

it starts just fine , but minitouch can not execute the command on that device

sorccu commented 7 years ago

Ok so what exactly do you do? And what happens? Nothing? On Thu, Mar 30, 2017 at 18:02 Colin han notifications@github.com wrote:

it starts just fine , but minitouch can not execute the command on that device

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/openstf/minitouch/issues/16#issuecomment-290348170, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_XfMRB1kE7dcNfO3gQ72oi3mVCFkks5rq2-XgaJpZM4MuB4u .

ghost commented 7 years ago

I want to know why minitouch can not work normally on lenovo P1 , above are my logs , thanks

sorccu commented 7 years ago

It's not possible for me to do anything without having access to the device. Do you think your company could donate one to OpenSTF?

Also, please run 'adb devices -l' and paste the output for that device here.

Additionally, run 'adb shell getevent -elp' (or maybe adb shell getevent -lp) and paste the output here.

On Thu, Mar 30, 2017 at 18:12 Colin han notifications@github.com wrote:

I want to know why minitouch can not work normally on lenovo P1 , above are my logs , thanks

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/openstf/minitouch/issues/16#issuecomment-290350530, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_d2BxCih5Ylb8cx6T09SbfUcIumNks5rq3HygaJpZM4MuB4u .

ghost commented 7 years ago

List of devices attached 7c2adc87 device product:passionc5 model:Lenovo_P1c58 device:passionc5

add device 1: /dev/input/event10 name: "Validity_Navigation_Sensor" events: KEY (0001): 0235 0236 input props:

add device 2: /dev/input/event9 name: "msm8939-snd-card-mtp Headset Jack" events: SW (0005): SW_HEADPHONE_INSERT SW_MICROPHONE_INSERT SW_LINEOUT_INSERT 000e 000f 0010 input props: add device 3: /dev/input/event8 name: "msm8939-snd-card-mtp Button Jack" events: KEY (0001): KEY_VOLUMEDOWN KEY_VOLUMEUP KEY_MEDIA BTN_3 BTN_4 input props: add device 4: /dev/input/event6 name: "qpnp_pon" events: KEY (0001): KEY_VOLUMEDOWN KEY_POWER input props: 0004 add device 5: /dev/input/event5 name: "compass" events: ABS (0003): ABS_X : value -16236, min -11520, max 11520, fuzz 0, flat 0, resolution 0 ABS_Y : value 14596, min -11520, max 11520, fuzz 0, flat 0, resolution 0 ABS_Z : value -44588, min -11520, max 11520, fuzz 0, flat 0, resolution 0 ABS_RX : value 0, min 0, max 3, fuzz 0, flat 0, resolution 0 ABS_RY : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0 ABS_RZ : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0 ABS_THROTTLE : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0 ABS_RUDDER : value 0, min 0, max 3, fuzz 0, flat 0, resolution 0 ABS_HAT0Y : value 0, min 0, max 23040, fuzz 0, flat 0, resolution 0 ABS_HAT1X : value 0, min -11520, max 11520, fuzz 0, flat 0, resolution 0 ABS_HAT1Y : value 0, min -5760, max 5760, fuzz 0, flat 0, resolution 0 ABS_TILT_X : value 0, min -16384, max 16384, fuzz 0, flat 0, resolution 0 ABS_TILT_Y : value 0, min -16384, max 16384, fuzz 0, flat 0, resolution 0 ABS_TOOL_WIDTH : value 0, min -16384, max 16384, fuzz 0, flat 0, resolution 0 ABS_VOLUME : value 0, min -16384, max 16384, fuzz 0, flat 0, resolution 0 ABS_MISC : value 0, min -2147483648, max 2147483647, fuzz 0, flat 0, resolution 0 input props: add device 6: /dev/input/event2 name: "accelerometer" events: ABS (0003): ABS_X : value -75, min -8096, max 8096, fuzz 3, flat 3, resolution 0 ABS_Y : value 38, min -8096, max 8096, fuzz 3, flat 3, resolution 0 ABS_Z : value 1008, min -8096, max 8096, fuzz 3, flat 3, resolution 0 input props: add device 7: /dev/input/event1 name: "input_mt_wrapper" events: ABS (0003): ABS_MT_TOUCH_MAJOR : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0 ABS_MT_POSITION_X : value 0, min 0, max 1080, fuzz 0, flat 0, resolution 0 ABS_MT_POSITION_Y : value 0, min 0, max 1920, fuzz 0, flat 0, resolution 0 ABS_MT_TRACKING_ID : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0 ABS_MT_PRESSURE : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 input props: add device 8: /dev/input/event0 name: "goodix_ts" events: KEY (0001): KEY_POWER KEY_BACK 00fe 0244 ABS (0003): ABS_MT_SLOT : value 0, min 0, max 15, fuzz 0, flat 0, resolution 0 ABS_MT_TOUCH_MAJOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 ABS_MT_WIDTH_MAJOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 ABS_MT_POSITION_X : value 0, min 0, max 1080, fuzz 0, flat 0, resolution 0 ABS_MT_POSITION_Y : value 0, min 0, max 1920, fuzz 0, flat 0, resolution 0 ABS_MT_TRACKING_ID : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 ABS_MT_PRESSURE : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0 input props: INPUT_PROP_DIRECT could not get driver version for /dev/input/mice, Not a typewriter add device 9: /dev/input/event4 name: "proximity" events: ABS (0003): ABS_DISTANCE : value 0, min 0, max 2, fuzz 0, flat 0, resolution 0 input props: add device 10: /dev/input/event3 name: "light" events: ABS (0003): ABS_MISC : value 146, min 0, max 65535, fuzz 0, flat 0, resolution 0 input props: add device 11: /dev/input/event7 name: "gpio-keys" events: KEY (0001): KEY_VOLUMEUP KEY_HOMEPAGE 00fc 00fd input props:
HJ-CN commented 7 years ago

I meet the same problem on lenovo P1, minitouch can start, but can not execute the command on that device.

HJdeMacBook-Pro:~ hj$ adb shell /data/data/com.android.shell/minitouch WARNING: linker: /data/data/com.android.shell/minitouch: unused DT entry: type 0x6ffffffe arg 0xb00 WARNING: linker: /data/data/com.android.shell/minitouch: unused DT entry: type 0x6fffffff arg 0x1 Note: device /dev/input/event1 was outscored by /dev/input/event0 (2100 >= 1000) Note: device /dev/input/mice is not supported by libevdev Type B touch device goodix_ts (1080x1920 with 16 contacts) detected on /dev/input/event0 (score 2100) Note: hard-limiting maximum number of contacts to 10

sorccu commented 7 years ago

Either of you willing to donate a device? Are they your personal phones or phones you use for testing at your companies?

sorccu commented 6 years ago

@thinkhy Any chance you have a Lenovo P1? Can you verify & check whether there's some security setting that you need to enable like on Xiaomi phones?

thinkhy commented 6 years ago

@sorccu currently I can't get a Lenovo P1, I've checked similar Lenovo devices, still can't reproduce the problem. Sometimes I also hit the same problem of minitouch on certain ROMs, my solution is refurbishment of ROM ..