Touch screen Calibration values and evtest in Yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Touch screen Calibration values and evtest in Yocto

1,921 Views
anjalikkrishna
Contributor III

Hi all,

    I have few doubts regarding the values obtained after calibrating an Yocto based system and running the evtest program running on the same system.

I calibrated the touch screen using the xinput_calibrator and obtained the following values:

        Option  "Calibration"   "219   3879   172   4087"
  

Here Minimum x is 219, Maximum x is 3879 ,Minimum y is 172 and Maximum y is 4087

After that I executed the evtest and obtained the following values

Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 2059
Min 0
Max 4095
Event code 1 (ABS_Y)
Value 2137
Min 0
Max 4095
Event code 24 (ABS_PRESSURE)
Value 0
Min 0
Max 255
Properties:

Both the tests give  the values for Minimum and maximum X and Y values. But both results are entirely different.

Any one who can help on this?

Labels (1)
Tags (1)
0 Kudos
1 Reply

1,484 Views
igorpadykov
NXP Employee
NXP Employee

Hi Anjalik 

tweaking touchscreen minimum and maximum values are described on example

Sabrelite: New FT5x06 touch screen and swapped Y (input_set_abs_params) 

touch screen - Boundary Devices 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos