← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 426340] Re: touchscreen doesn't calibrate properly

 

Found the problem!

calibration points order is different between driver and calibraton program.
For the calibration program  xy0,xy1,xy2 belongs to upper-left,upper-center and upper-right but for the driver 0.1.2 belongs to upper-left,middle-left and bottom-left

Workarround:

Edit /etc/init.d/xserver-xorg-input-evtouch and change the mapping of the points with this values:
    hal_set minx $MINX
    hal_set miny $MINY
    hal_set maxx $MAXX
    hal_set maxy $MAXY
    hal_set x0 $X0
    hal_set y0 $Y0
    hal_set x1 $X3
    hal_set y1 $Y3
    hal_set x2 $X6
    hal_set y2 $Y6
    hal_set x3 $X1
    hal_set y3 $Y1
    hal_set x4 $X4
    hal_set y4 $Y4
    hal_set x5 $X7
    hal_set y5 $Y7
    hal_set x6 $X2
    hal_set y6 $Y2
    hal_set x7 $X5
    hal_set y7 $Y5
    hal_set x8 $X8
    hal_set y8 $Y8

Still have an issue when turning off the touchscreen, on resume it lost
the calibration, also when resuming from hibernation.Should I open a new
bug for this issue or is in topic with this?

-- 
touchscreen doesn't calibrate properly
https://bugs.launchpad.net/bugs/426340
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xf86-input-evtouch in ubuntu.



References