minitouch
minitouch copied to clipboard
Error while operating the device
Hi, Simo. I got an error:
Phone & OS:
- Galaxy A7: SM-A7000
- Android 6.0.1
The output of adb shell getevent -lp
:
add device 1: /dev/input/event7
name: "magnetic_sensor"
events:
REL (0002): REL_X REL_Y REL_Z REL_RX
REL_RY
ABS (0003): ABS_X : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0
ABS_Y : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0
ABS_Z : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0
ABS_MISC : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
input props:
<none>
add device 2: /dev/input/event6
name: "accelerometer_sensor"
events:
REL (0002): REL_X REL_Y REL_Z REL_DIAL
REL_MISC
input props:
<none>
add device 3: /dev/input/event5
name: "light_sensor"
events:
REL (0002): REL_WHEEL REL_MISC
input props:
<none>
add device 4: /dev/input/event4
name: "proximity_sensor"
events:
ABS (0003): ABS_DISTANCE : value 1, min 0, max 1, fuzz 0, flat 0, resolution 0
input props:
<none>
add device 5: /dev/input/event3
name: "qpnp_pon"
events:
KEY (0001): KEY_VOLUMEDOWN KEY_POWER
input props:
INPUT_PROP_TOPBUTTONPAD
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 6: /dev/input/event2
name: "hbtp_vm"
events:
KEY (0001): BTN_MOUSE BTN_RIGHT
REL (0002): REL_X REL_Y
input props:
INPUT_PROP_DIRECT
add device 7: /dev/input/event0
name: "meta_event"
events:
REL (0002): REL_HWHEEL REL_DIAL
input props:
<none>
could not get driver version for /dev/input/mice, Not a typewriter
add device 8: /dev/input/event1
name: "sec_touchscreen"
events:
KEY (0001): BTN_TOOL_FINGER* BTN_TOUCH*
ABS (0003): ABS_MT_SLOT : value 0, min 0, max 14, fuzz 0, flat 0, resolution 0
ABS_MT_TOUCH_MAJOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_TOUCH_MINOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_ORIENTATION : value 0, min 65239, max 127, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_X : value 0, min 0, max 1079, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_Y : value 0, min 0, max 1919, fuzz 0, flat 0, resolution 0
ABS_MT_TOOL_TYPE : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0
ABS_MT_TRACKING_ID : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
ABS_MT_PRESSURE : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_DISTANCE : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_PALM : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0
SW (0005): SW_GLOVE
input props:
INPUT_PROP_DIRECT
add device 9: /dev/input/event9
name: "hall"
events:
SW (0005): SW_FLIP*
input props:
<none>
add device 10: /dev/input/event8
name: "gpio-keys"
events:
KEY (0001): KEY_VOLUMEUP KEY_HOMEPAGE
input props:
INPUT_PROP_TOPBUTTONPAD
add device 11: /dev/input/event10
name: "sec_touchkey"
events:
KEY (0001): KEY_BACK 00fe
LED (0011): LED_MISC
input props:
<none>
Error desc:
When I use minitouch, it found the correct input-device "sec_touchscreen"
But when I touch the real device with my hand, minitouch print an error, and connection will be broken:
Hope you can offer some help. Thank you so much :-)