Touch screen calibration method

Started by akapo, August 27, 2013, 03:39:04 AM

Previous topic - Next topic

akapo

Hi Sir/Madam.

I have a A13-LCD7-TS with A20-OLinuXino-MICRO-4GB.

A20 Debian 4GB SD-card image release-2 support the touch screen and it work well.

but touch point is not exact match to screen mouse pointer.

right side of the TS is no problem, but left side of the TS is not match 10px~30px

How can i touch screen calibration?

Lurch


tlhingan

I find the touchscreen is more accurate when I use the corner of my fingernail rather than my finger itself. I should probably get a bigger screen or smaller fingers.

akapo

#3
ts_calibarate is not work on A20
when i run ts_calibrate ...


when i run ts_test


what mean 'ABS and KEY event' in error message?
is there a way   correct this error?

tlhingan

It sounds like you may have skipped a step in the installation procedure.
Look here, and make sure you uncomment the required lines in the required files.
Post back if you need more details or if this doesn't work.

junetec

I have the same issue with A20+10TSLCD.

ts_calibrate and ts_test don't work.

I mmake the simbolik links that are sugested in the last post but nothing change.

mihu

Try to define the required environment variables (export TSLIB_CONSOLEDEVICE=none and so on) in the same terminal (before) you run ts_calibrate.

tlhingan

Quote from: junetec on August 31, 2013, 09:32:25 PM
I have the same issue with A20+10TSLCD.

ts_calibrate and ts_test don't work.

I mmake the simbolik links that are sugested in the last post but nothing change.
I'm not aware of any symbolic links to setup the LCD and touchscreen.
Did you follow the entire procedure from the link in my previous post?

junetec

Quote from: tlhingan on September 02, 2013, 06:09:22 PM
Quote from: junetec on August 31, 2013, 09:32:25 PM
I have the same issue with A20+10TSLCD.

ts_calibrate and ts_test don't work.

I mmake the simbolik links that are sugested in the last post but nothing change.
I'm not aware of any symbolic links to setup the LCD and touchscreen.
Did you follow the entire procedure from the link in my previous post?

I work with release2 and only make the final orders that you Woodward sugest(simbolyc links), but don't work.

Then I do export TSLIB_CONSOLEDEVICE=none and ts_calibrate runs and give me some data.

I suposse that data will be puit in pointercal fila. I put it and the touch calibration it's now totally grown.

But now I can't run ts_calibrate another time.

mihu

You need to set all environment variables, see the link tlhingan gave you.


export TSLIB_TSEVENTTYPE=raw
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event# /* manually replace # by input number discovered by dmesg command */
export TSLIB_CALIBFILE=/usr/etc/pointercal
export TSLIB_CONFFILE=/usr/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts


Make sure that the event number and directories in these environment variables are correct.


junetec

Thanks for the info.

I just try now and the ts_test sand ts_calibrate works, but now the touch screeen looks like donk response and always give the same x y numbers and the pointer it's stuck in the bottom right corner.
It looks like the ts has a problem.

Monday I will try again with another ts panel to know exactly what's happend.

Regards,

Enric

Quote from: tlhingan on September 06, 2013, 06:12:28 PM
Quote from: tlhingan on August 28, 2013, 11:28:18 PM
Look here
Here it is again.

junetec

Finally I find a broken line in the touch screen flat cable.
I just try with a 7" LCD and works fine.

Thanks to all for the info.