Touch screen Calibration values and evtest in Yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Touch screen Calibration values and evtest in Yocto

2,352 次查看
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?

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,915 次查看
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 项奖励
回复