I have to report a weird problem i am experiencing with touchscreen rotation on my Lenovo X61 tablet currently running Lucid. (i am aware of this problem since Jaunty).
I am following a variant of the procedure described on thinkwiki to create a screen, stylus, eraser and touch rotation script.
To rotate the screen i am using:
/usr/bin/xrandr -o $orientation
(where orientation can be: normal, left, inverted, right)
To rotate the stylus i am using:
/usr/bin/xsetwacom set "Serial Wacom Tablet" rotate $orientation
(where orientation can be: NONE, CCW, HALF, CW)
To rotate the eraser i am equivalently using:
/usr/bin/xsetwacom set "Serial Wacom Tablet eraser" rotate $orientation
And to rotate the touch input i am using:
/usr/bin/xsetwacom set "Serial Wacom Tablet touch" rotate $orientation
To calibrate all three input devices i am using:
/usr/bin/xsetwacom set $device_name $parameter $value
(where $parameter can be: TopX, TopY, BottomX, BottomY)
Screen, stylus and eraser work perfectly on all orientations. Touch works perfectly on normal orientation but behaves strangely on the other three. In particular, touching the screen moves the pointer to the exact touched location but releasing the touch returns the pointer to the location it would have been placed if the touch device had NOT been rotated. For example in "HALF", touching the upper left corner of the screen moves the pointer to that corner but upon releasing the pressure the pointer moves to the lower right corner of the screen. The final behavior is almost the equivalent of a click_drag_and_release motion which eg. selects text boxes but does not press buttons.
Any ideas where this can be coming from ?