tias / xinput_calibrator

A generic touchscreen calibration program for X.Org
http://www.freedesktop.org/wiki/Software/xinput_calibrator
Other
136 stars 105 forks source link

Problem with xinput_calibrator #71

Open sasa-friedrich-bitlab opened 8 years ago

sasa-friedrich-bitlab commented 8 years ago

Hi!

I'm trying to calibrate device "HID 24b8:0001" (that's all I can tell - It's a glass touch panel that I mount over the 17" LCD monitor).

On my old system (Ubuntu 12.04 - xinput_calibrator 0.7.5-0ubuntu1) calibration works fine, but on my new system (Ubuntu 16.04 - xinput_calibrator 0.7.5+git20140201-1) I have strange problems. On some touch screens it works fine on others it don't. Sometimes I have to first write config with Option "Calibration" "262 1281 1167 374" and then run xinput_calibrator , sometimes even this won't help.

So I searched for problems on Google and found this old thread (answer #2) and make it work on one touch panel that couldn't make it work with xinput_calibrator.

I was all happy moving to my next panel. And here this procedure don't work. I get all data touching panel with evtest and search for x_min, x_max, y_min, y_max, write this to my config Option "Calibration" "264 1235 384 1133" - panel not working. THEN I run xinput_calibrator and panel starts working normally. But after xinput_calibrator those coordinate figures are "235 1258 1149 345". Very similar to what I got from evtest except y_min and y_max are opposite (first number is higher then second). What those calibration coordinates really represent?

I just can't figure out what is wrong and what to do to make all panels work with same procedure. Most annoying is, that on Ubuntu 12.04 xinput_calibrator worked for all my touch panels with no "hacks".

I really hope someone here could help me.

Thank you!