On 20/03/2010 2:58 a.m., Michael wrote:
Quoting Martin Jansa <[email protected]>:
Hi Michael, thanks for patches, applied in
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=4848b502027d5ec89b9f411e5580e85382eed43a http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=0ca3942e51a1178bd8bfec9c141a0e4c0d85046f

I'm not really happy about that
Option        "SwapAxes" "True"
in xorg.conf, we should find why xinput_calibrator didn't detect it
automatically and then update those static calibration values from
89xTs_Calibrate for not setting it to Swaped state.

Also that "if" in 89xTs_Calibrate was intentionally added, because
users were having problems in using xinput_calibrator as first thing
after reflash and fixing broken calibration is a bit more difficult
than running xinput_calibrator_once.sh once from gui with slightly off
calibration (static calibration should provide usefull calibration,
which is as you said not the case for gta01 and someone should provide
proper values).

Thought I had better mention that when the calibration is run on the original
images the touches do actually go to the right place. It is only when the
X server starts up afterwards that axes are swapped. The "SwapAxes" option
does not seem to have any effect on the calibration stage.

Michael.

I just thought i'd add some info from my experence with this issue in case it is helpful.

After much mucking around trying to calibrate the screen by clicking the wrong points i did manage to get it all working fine.
Doing various combinations of
* running xinput_calibration
* running xinput_calibration_once.sh (and clicking the corners in the wrong order)
* deleting pointercal files

I now have it all working fine and do NOT have " Option "SwapAxes" "True" " in my xorg.conf

It seems to be working for me because the axis are being swapped in pointercal.xinput instead of xorg.conf. I never changed the pointercal files myself so xinput_calibration or whatever must have added the swap itself.

Here' are my pointercal settings in case they help.
If you want any more info about my gta01 settings just let me know.

-----Pointercal-----
-67 36365 -2733100 -48253 -310 45219816 65536

----Pointercal.xinput-----
xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1; xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 70 952 957 57;

----Pointercal.xinput.log----
Calibrating EVDEV driver for "Touchscreen"
current calibration values (from XInput): min_x=56, max_x=944 and min_y=66, max_y=950 To make the settings permanent, create add a startup script for your window manager with the following command(s):
 xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 70 952 957 57
Doing dynamic recalibration:
    Swapping X and Y axis...
    Setting new calibration data: 70, 952, 957, 57


Ben.




_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to