gsl968触摸驱动,应用程序貌似能获取到坐标数据,但是没有点击效果,这是不是驱动那个地方有问题?我这边有点不知道从何下手了,各位大佬指点下
离线
evtest 正常吗?
evtest一切正常,就是他的应用程序没有点击效果,貌似是可以获取到坐标,但是他的应用程序用的别的驱动gt911的又可以
最近编辑记录 jkl (2022-10-10 14:03:33)
离线
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: gslX680
/dev/input/event1: rotary-encoder
/dev/input/event2: gpio_keys.4
Select the device event number [0-2]: 0
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "gslX680"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 139 (KEY_MENU)
Event code 158 (KEY_BACK)
Event code 172 (KEY_HOMEPAGE)
Event code 217 (KEY_SEARCH)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 255
Event code 50 (ABS_MT_WIDTH_MAJOR)
Value 0
Min 0
Max 200
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 800
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 480
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 11
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
Event: time 91.695696, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.695696, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.695696, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.695696, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.695696, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.695696, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.695696, -------------- SYN_REPORT ------------
Event: time 91.717247, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.717247, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.717247, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.717247, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.717247, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.717247, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.717247, -------------- SYN_REPORT ------------
Event: time 91.737107, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.737107, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.737107, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.737107, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.737107, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.737107, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.737107, -------------- SYN_REPORT ------------
Event: time 91.756910, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.756910, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.756910, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.756910, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.756910, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.756910, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.756910, -------------- SYN_REPORT ------------
Event: time 91.776873, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.776873, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.776873, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.776873, -------------- SYN_REPORT ------------
Event: time 91.796746, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.796746, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.796746, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.796746, -------------- SYN_REPORT ------------
Event: time 91.816663, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.816663, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.816663, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.816663, -------------- SYN_REPORT ------------
Event: time 91.836693, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.836693, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.836693, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.836693, -------------- SYN_REPORT ------------
Event: time 93.212418, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.212418, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.212418, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.212418, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.212418, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.212418, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.212418, -------------- SYN_REPORT ------------
Event: time 93.232394, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.232394, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.232394, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.232394, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.232394, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.232394, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.232394, -------------- SYN_REPORT ------------
Event: time 93.252406, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.252406, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.252406, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.252406, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.252406, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.252406, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.252406, -------------- SYN_REPORT ------------
Event: time 93.272211, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.272211, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.272211, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.272211, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.272211, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.272211, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.272211, -------------- SYN_REPORT ------------
Event: time 93.292054, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.292054, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.292054, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.292054, -------------- SYN_REPORT ------------
Event: time 93.311985, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.311985, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.311985, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.311985, -------------- SYN_REPORT ------------
Event: time 93.331882, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.331882, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.331882, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.331882, -------------- SYN_REPORT ------------
Event: time 93.351835, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.351835, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.351835, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.351835, -------------- SYN_REPORT ------------
Event: time 94.627715, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.627715, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.627715, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.627715, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.627715, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.627715, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.627715, -------------- SYN_REPORT ------------
Event: time 94.647626, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.647626, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.647626, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.647626, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.647626, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.647626, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.647626, -------------- SYN_REPORT ------------
Event: time 94.667544, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.667544, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.667544, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.667544, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.667544, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.667544, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.667544, -------------- SYN_REPORT ------------
Event: time 94.687408, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.687408, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.687408, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.687408, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.687408, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.687408, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.687408, -------------- SYN_REPORT ------------
Event: time 94.707267, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.707267, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.707267, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.707267, -------------- SYN_REPORT ------------
Event: time 94.727182, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.727182, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.727182, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.727182, -------------- SYN_REPORT ------------
Event: time 94.747112, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.747112, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.747112, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.747112, -------------- SYN_REPORT ------------
Event: time 94.767087, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.767087, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.767087, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.767087, -------------- SYN_REPORT ------------
Event: time 95.544680, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.544680, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.544680, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.544680, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.544680, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.544680, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.544680, -------------- SYN_REPORT ------------
Event: time 95.564643, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.564643, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.564643, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.564643, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.564643, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.564643, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.564643, -------------- SYN_REPORT ------------
Event: time 95.584612, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.584612, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.584612, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.584612, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.584612, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.584612, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.584612, -------------- SYN_REPORT ------------
Event: time 95.604416, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.604416, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.604416, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.604416, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.604416, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.604416, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.604416, -------------- SYN_REPORT ------------
Event: time 95.624318, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.624318, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.624318, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.624318, -------------- SYN_REPORT ------------
Event: time 95.644262, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.644262, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.644262, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.644262, -------------- SYN_REPORT ------------
Event: time 95.664142, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.664142, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.664142, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.664142, -------------- SYN_REPORT ------------
Event: time 95.684172, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.684172, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.684172, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.684172, -------------- SYN_REPORT ------------
^Croot@TinaLinux:/etc#
四个角都有坐标上报,而且坐标值都是正确的
离线