Other Parts Discussed in Thread: AM3352, TPS65910
Hi ,
I am using am3359 evmsk , linux version is linux-4.14.67.
I am debugging the touchscreen, it is resistive screen .I clicked on the screen and there was no response.
so I run weston-calibrator and return the next message:
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
Calibration values: 96.500000 160000.500000 -37160164.000000 -12.500000 -121.000000 33501.500000
but I am not click the touchscreen.
Then I test with evtest, and select /dev/input/event1: ti-tsc
The console continues to print the following information, and I did not click on the touch screen.
Event: time 1538791890.058603, -------------- SYN_REPORT ------------
Event: time 1538791890.065013, type 3 (EV_ABS), code 0 (ABS_X), value 3584
Event: time 1538791890.065013, type 3 (EV_ABS), code 1 (ABS_Y), value 3566
Event: time 1538791890.065013, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 48
Event: time 1538791890.065013, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1538791890.065013, -------------- SYN_REPORT ------------
Event: time 1538791890.065206, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1538791890.065206, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
Event: time 1538791890.065206, -------------- SYN_REPORT ------------
Event: time 1538791890.075123, type 3 (EV_ABS), code 0 (ABS_X), value 3571
Event: time 1538791890.075123, type 3 (EV_ABS), code 1 (ABS_Y), value 3527
Event: time 1538791890.075123, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 67
Event: time 1538791890.075123, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1538791890.075123, -------------- SYN_REPORT ------------
Event: time 1538791890.075307, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1538791890.075307, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
Event: time 1538791890.075307, -------------- SYN_REPORT ------------
Event: time 1538791890.078198, type 3 (EV_ABS), code 0 (ABS_X), value 3597
Event: time 1538791890.078198, type 3 (EV_ABS), code 1 (ABS_Y), value 3489
Event: time 1538791890.078198, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 198
Event: time 1538791890.078198, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1538791890.078198, -------------- SYN_REPORT ------------
Event: time 1538791890.104938, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1538791890.104938, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
Event: time 1538791890.104938, -------------- SYN_REPORT ------------
Event: time 1538791890.139942, type 3 (EV_ABS), code 0 (ABS_X), value 3604
Event: time 1538791890.139942, type 3 (EV_ABS), code 1 (ABS_Y), value 3569
Event: time 1538791890.139942, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 19
Event: time 1538791890.139942, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1538791890.139942, -------------- SYN_REPORT ------------
Event: time 1538791890.140106, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1538791890.140106, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
the setting of dts file as follows:
&tscadc {
status = "okay";
tsc {
ti,wires = <4>;
ti,x-plate-resistance = <200>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
ti,charge-delay = <0x400>;
};
};
So what is wrong with my board?
Thank you.