Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waveshare 10'1 support and debugging #177

Open
zedrdave opened this issue May 4, 2020 · 0 comments
Open

Waveshare 10'1 support and debugging #177

zedrdave opened this issue May 4, 2020 · 0 comments

Comments

@zedrdave
Copy link

zedrdave commented May 4, 2020

Hello and thanks for the great work on this lib,

I am trying to get a Waveshare 10'1 touchscreen working with tslib, and hopefully confirm that it does support multitouch, along the way (the manufacturer's doc is, as usual, very unclear about it, but the screen is capacitive and advertised by the reseller as multitouch).

Device info are:

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x483 product 0x5710 version 0x100
Input device name: "waveshare HDMI/VGA/AV RTD2660H Viedo Board"

From looking at /dev/input/event0, the device is clearly not sending any MT events when doing multiple simultaneous touches:

Event: time 1588585289.398991, -------------- SYN_REPORT ------------
Event: time 1588585290.263111, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1588585290.263111, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1588585290.263111, type 3 (EV_ABS), code 0 (ABS_X), value 4501
Event: time 1588585290.263111, type 3 (EV_ABS), code 1 (ABS_Y), value 4183
Event: time 1588585290.263111, -------------- SYN_REPORT ------------
Event: time 1588585290.295115, type 3 (EV_ABS), code 0 (ABS_X), value 6210
Event: time 1588585290.295115, type 3 (EV_ABS), code 1 (ABS_Y), value 4316
Event: time 1588585290.295115, -------------- SYN_REPORT ------------
Event: time 1588585290.327119, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1588585290.327119, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1588585290.327119, -------------- SYN_REPORT ------------
Event: time 1588585291.703334, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1588585291.703334, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1588585291.703334, type 3 (EV_ABS), code 0 (ABS_X), value 3535
Event: time 1588585291.703334, type 3 (EV_ABS), code 1 (ABS_Y), value 3983

Is it however possible that /dev/hidraw0 would provide the MT information that /dev/input/event0 doesn't?

Doing a hex dump, I get 5-long messages that do not seem to have the MT format described in the waveshare plugin code:

00000000: 01f4 1736 10  ...6.
00000005: 01e1 1736 10  ...6.
0000000a: 01e1 1736 10  ...6.
0000000f: 00e1 1736 10  ...6.
00000014: 0150 0ddd 1b  .P...
00000019: 0132 0ddd 1b  .2...
0000001e: 013c 0ddd 1b  .<...
00000023: 0029 0ddd 1b  .)...

Should I just conclude that this touchscreen does not support multitouch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant