Dear Yuri Muhin,
I have successfully compiled tslib. and I have set the
environmental variables properly. when I run ./ts_calibrate I can see
"TSLIB calibration Utility" screen on my board. and one crosshair on
top left corner. But when i touch it Nothing happens.
I tried to do a little debugging by using printf statements in
ts_calibrate.c file just to know where exactly is the problem. It gets
struck in the function getxy();
when i see the code of getxy() in tests/testutils.c , it gets
struck at this point :
do {
printf("Inside do-getxy\n");
if (ts_read_raw(ts, &samp[0], 1) < 0) {
printf("Inside if-getxy\n");
perror("ts_read");
close_framebuffer ();
exit(1);
}
} while (samp[0].pressure == 0);
here it never comes out of the do-while loop. so i guess there is a
problem in ts_read_raw() function.
when i run ./ts_print_raw it gives me:
root@freescale /mnt/buha/bin$ ./ts_print_raw
14224.983211: 22304 24288 0
14224.987890: 22304 24288 0
14224.992615: 22304 24288 0
14224.997350: 22304 24288 0
14225.002073: 22304 24288 0
14225.006804: 22304 24288 0
14225.011538: 22304 24288 0
14225.016271: 22304 24288 0
14225.020993: 22336 24272 0
14225.042071: 22432 24272 0
14225.043366: 22432 24272 0
14226.641742: 22544 23968 0
14226.646461: 22544 23968 0
14226.651188: 22544 23968 0
14226.655925: 22544 23968 0
14226.660646: 22544 23968 0
14226.665375: 22544 23968 0
So i guess there is no problem with the touch screen driver.
It uses egalax capacitive touch screen.
Thanks and Regards,
Winston Rodrigues,