multi-touch-dev team mailing list archive
-
multi-touch-dev team
-
Mailing list archive
-
Message #00894
ts rotation with mt driver, possible utouch interferences
Hello,
I am currently working on making ubuntu natty work on my htc hd2 smartphone.
The device's touchscreen and display driver default to a portrait mode
(480x800).
I prefer using landscape (800x480) mode for various reasons.
Setting the display rotation is trivial via xorg.conf :
Section "Monitor"
Identifier "Monitor0"
Mode "480x800"
DotClock 0
HTimings 480 480 480 480
VTimings 800 800 800 800
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Device"
Identifier "fbdev"
Driver "fbdev"
Option "ShadowFB" "on"
Option "Rotate" "CW"
EndSection
The touchscreen rotation was realized in maverick via xinput . The htc
hd2 touchscreen driver can be compiled with or without multi touch
support as described in https://bugs.launchpad.net/utouch/+bug/627629 .
With the single touch mode, touchscreen rotation works in maverick
with following script:
xinput set-prop leo-touchscreen "Evdev Axis Calibration" 972 4 569 15
xinput set-prop leo-touchscreen "Evdev Axis Inversion" 1, 0
xinput set-prop leo-touchscreen "Evdev Axes Swap" 1
Calibration data was obtained as follows:
ts_calibrate was used to create /etc/pointercal . Then /etc/pointercal
was converted to xinput format with a script that I cannot find any
longer.
With multi touch enabled in the driver, the script does not work in
maverick. A possible reason might be that the calibration data was
obtained in single touch mode. Because I cannot find out how to
provide xinput calibration data (with the script being lost) I cannot
test this.
With the single touch driver in natty I expected the xinput script to
work in the same way as it does in maverick. Unfortunately it does not
and I am not certain why. I am thinking of a possible interference
with utouch system.
Summary:
How to rotate the touchscreen when using the multi touch driver ?
Why is xinput rotation broken in natty while it works with the same
touchscreen driver in maverick ?
Best regards,
Lukas
Follow ups