Я пытаюсь заставить работать мультисенсорный экран с использованием протокола Multi-touch типа B. Используя getevent -il
, я вижу, что все события, которые я хочу отправить, распознаны. Однако событие ABS_MT_SLOT никогда не появляется в списке, хотя мое устройство отправляет его точно. Невозможно выяснить, что приводит к исчезновению событий ABS_MT_SLOT.
getevent выводит:
getevent -il
could not get driver version for /dev/input/mice, Not a typewriter
add device 1: /dev/input/event1
bus: 0006
vendor 0000
product 0000
version 0000
name: "QVM virtio-input (pointer)"
location: "virtio3/input0"
id: ""
version: 1.0.1
events:
KEY (0001): BTN_MOUSE BTN_RIGHT BTN_MIDDLE BTN_SIDE
REL (0002): REL_X REL_Y REL_HWHEEL REL_WHEEL
input props:
INPUT_PROP_POINTER
add device 2: /dev/input/event0
bus: 0006
vendor 0000
product 0000
version 0000
name: "QVM virtio-input (touchscreen)"
location: "virtio2/input0"
id: ""
version: 1.0.1
events:
ABS (0003): ABS_MT_SLOT : value 0, min 0, max 6, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_X : value 0, min 0, max 1279, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_Y : value 0, min 0, max 719, fuzz 0, flat 0, resolution 0
ABS_MT_TOOL_TYPE : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
ABS_MT_BLOB_ID : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
ABS_MT_TRACKING_ID : value 0, min 0, max 1000, fuzz 0, flat 0, resolution 0
input props:
INPUT_PROP_DIRECT
getevent -trl
could not get driver version for /dev/input/mice, Not a typewriter
add device 1: /dev/input/event1
name: "QVM virtio-input (pointer)"
add device 2: /dev/input/event0
name: "QVM virtio-input (touchscreen)"
add device 3: /dev/input/event2
name: "QVM virtio-input (keyboard)"
could not get driver version for /dev/input/mouse0, Not a typewriter
2
[ 403.929099] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 403.929099] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 0000011b
[ 403.929099] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 0000009c
[ 403.929099] /dev/input/event0: EV_SYN SYN_REPORT 00000000
[ 403.990164] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 403.990164] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 0000011c
[ 403.990164] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 0000009e
[ 403.990164] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 16
[ 404.000828] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.000828] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 0000011d
[ 404.000828] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 0000009f
[ 404.000828] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 93
[ 404.013335] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.013335] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 0000011f
[ 404.013335] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 000000a2
[ 404.013335] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 79
[ 404.024190] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.024190] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 00000122
[ 404.024190] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 000000a6
[ 404.024190] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 92
[ 404.032932] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.032932] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 00000127
[ 404.032932] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 000000ab
[ 404.032932] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 114
[ 404.043514] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.043514] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 0000012c
[ 404.043514] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 000000b2
[ 404.043514] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 94
[ 404.057101] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.057101] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 00000133
[ 404.057101] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 000000ba
[ 404.057101] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 73
[ 404.065044] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.065044] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 00000139
[ 404.065044] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 000000c3
[ 404.065044] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 125
[ 404.070385] /dev/input/event0: EV_ABS ABS_MT_TRACKING_ID 00000000
[ 404.070385] /dev/input/event0: EV_ABS ABS_MT_POSITION_X 00000141
[ 404.070385] /dev/input/event0: EV_ABS ABS_MT_POSITION_Y 000000cc
[ 404.070385] /dev/input/event0: EV_SYN SYN_REPORT 00000000 rate 187