Bug 17813

Summary: y-axis is inverted with mutouch 1.2.0 running on debian lenny (xorg 7.3)
Product: xorg Reporter: Anonymous Helper <anonymous>
Component: Input/mutouchAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
i915 platform: i915 features:

Description Anonymous Helper 2008-09-28 03:02:29 UTC

Yesterday I used the mutouch-Xorg-driver under debian etch (Xorg 7.1), worked without problems. Then I upgraded to debian lenny (which has a newer Xorg server, 7.3) and had the problem that the y-axis was inverted; so if I touched at the top, the mouse was at the bottom. There's no option for the driver to solve this with config-options (at least i could not find any), so I took the code and changed one line, now it's working.

It's line 746 in xf86MuTouch.c I changed from

cur_y = WORD_ASSEMBLY(start_ptr[3], start_ptr[4]);


cur_y = (priv->max_y + priv->min_y) - WORD_ASSEMBLY(start_ptr[3], start_ptr[4]);

That inverted the y-axis for me, now everything is working again.

Maybe someone can take a look at it if this change is ok and maybe commit the change to the mutouch driver so hopefully the bug disappears.

For any kind of questions or comments please send mail to email@joachim-neu.de .

Thank you!
Comment 1 Julien Cristau 2008-09-29 06:28:07 UTC
this seems to be fixed in git, but not in any release yet.  I'll try to
get the patch in lenny soon, so you can confirm that it's fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.