[Bug 275650] [NEW] [UVFe] Please sync xserver-xorg-input-mutouch (1.2.0-2) from Debian unstable (main) - fixes: mutouch driver in hardy is Y axis Inverted

Launchpad Bug Tracker 275650 at bugs.launchpad.net
Wed Oct 8 13:49:05 BST 2008


You have been subscribed to a public bug by Sebastien Bacher (seb128):

A fix for the issue listed below is available in the 1.2.0-2 version of
this driver.  No other changes besides this fix was included in that
release.  Please sync this to Ubuntu at the earliest convenience.

xserver-xorg-input-mutouch (1:1.2.0-2) unstable; urgency=medium

  * Cherry-picked from upstream: Handle axis inversion in the driver.
    The current X server doesn't handle inverted axes, so we need to do it in
    the driver. Report valid axis ranges to the server, but flip the
    coordinates before posting events.
    LP: #275650, fd.o bug#17813.

 -- Julien Cristau <jcristau at debian.org>  Mon, 29 Sep 2008 15:23:22
+0200



[Original Report]
Binary package hint: xserver-xorg-input-mutouch

Okay, using and older version of the mutouch driver in gutsy, everything
works fine.

However once upgraded to hardy the Y axis of the touch screen is
inverted.

Changing MinY and MaxY in xorg.conf has no effect.

Can it be related to this

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
elographics/+bug/218671

mutouch in debug mode seems to output the same values for Y, where ever I put my finger,
however hardy Y movement is inverted? Has something changed in Xorg.

Beer for the first person who can send me a patch :-) or a way I can
downgrade my X server ( ;-) )

 apt-cache policy xserver-xorg-input-mutouch 
xserver-xorg-input-mutouch:
  Installed: 1:1.1.0-3
  Candidate: 1:1.1.0-3
  Version table:
 *** 1:1.1.0-3 0
        500 http://gb.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

lsb_release -rd
Description:    Ubuntu 8.04.1
Release:        8.04


here's my xorg configuration.

Section "InputDevice"
        Identifier      "TouchScreen"
        Driver          "mutouch"
        Option          "Type"  "finger"
        Option          "Device"        "/dev/ttyS2"
        Option          "ScreenNo"      "0"
        Option          "MinX"  "0"
        Option          "MaxX"  "16383"
        Option          "MinY"  "0"
        Option          "MaxY"  "16383"
        Option          "DebugLevel" "9"
        Option          "SendCoreEvents" "yes"
EndSection


and my 

(**) MicroTouch FINGER input device: /dev/ttyS2
(**) Option "SendCoreEvents" "yes"
(**) FINGER: always reports core events
(**) Microtouch X device name: FINGER
(**) Option "ScreenNo" "0"
(**) Microtouch associated screen: 0
(**) Option "MaxX" "16383"
(**) Microtouch maximum x position: 16383
(**) Option "MinX" "0"
(**) Microtouch minimum x position: 0
(**) Option "MaxY" "16383"
(**) Microtouch maximum y position: 16383
(**) Option "MinY" "0"
(**) Microtouch minimum y position: 0
(**) Microtouch ThruGlass frequency is: 0
(**) Option "DebugLevel" "9"
(**) Microtouch debug level sets to 9
(**) Microtouch debug level sets to 9
(**) Microtouch device will work in Landscape mode
(II) XINPUT: Adding extended input device "FINGER" (type: MicroTouch Finger)
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
MicroTouch finger init...
Done.
(II) Configured Mouse: ps2EnableDataReporting: succeeded
MicroTouch finger on...
MicroTouch touchscreen opening : /dev/ttyS2
(**) Option "Device" "/dev/ttyS2"
(**) Option "BaudRate" "9600"
(**) Option "StopBits" "1"
(**) Option "DataBits" "8"
(**) Option "Parity" "None"
(**) Option "Vmin" "10"
(**) Option "Vtime" "1"
(**) Option "FlowControl" "None"
Sending packet : 0x1 0x52 0xD 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Waiting a reply
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
buffer_p is 0, Trying to read 256 bytes from port
Read 3 bytes of reply
Sending packet : 0x1 0x4F 0x49 0xD 0x0 0x0 0x0 0x0 0x0 0x0
Waiting a reply
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
buffer_p is 0, Trying to read 256 bytes from port
Read 8 bytes of reply
(--) MicroTouch touchscreen is a , connected through a serial port.
(--) MicroTouch controller firmware revision is 5.59.
Sending packet : 0x1 0x55 0x54 0xD 0x0 0x0 0x0 0x0 0x0 0x0
Waiting a reply
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
buffer_p is 0, Trying to read 256 bytes from port
Read 3 bytes of reply
(--) MicroTouch status of errors: ^MSending packet : 0x1 0x46 0x54 0xD 0x0 0x0 0x0 0x0 0x0 0x0
Waiting a reply
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
buffer_p is 0, Trying to read 256 bytes from port
Read 3 bytes of reply
Sending packet : 0x1 0x4D 0x53 0xD 0x0 0x0 0x0 0x0 0x0 0x0
Waiting a reply
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
buffer_p is 0, Trying to read 256 bytes from port
Read 3 bytes of reply
Sending packet : 0x1 0x50 0x4F 0xD 0x0 0x0 0x0 0x0 0x0 0x0
Waiting a reply
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
buffer_p is 0, Trying to read 256 bytes from port
Read 3 bytes of reply
Sending packet : 0x1 0x46 0x4F 0xD 0x0 0x0 0x0 0x0 0x0 0x0
Waiting a reply
Waiting 300 ms for data from port
Entering xf86MuTGetReply with buffer_p == 0
buffer_p is 0, Trying to read 256 bytes from port
Read 3 bytes of reply
Done
Entering ReadInput
num_old_bytes is 0, Trying to read 256 bytes from port
Read 11 bytes of reports
Packet: 0xD8 0x14 0x46 0x32 0x3F
TouchScreen Finger: x(8980), y(8114), Press
Packet: 0xD8 0x14 0x46 0x32 0x3F
TouchScreen Finger: x(8980), y(8114), Stream
Entering ReadInput
num_old_bytes is 1, Trying to read 255 bytes from port
Read 10 bytes of reports
Packet: 0xD8 0x14 0x46 0x32 0x3F
TouchScreen Finger: x(8980), y(8114), Stream
Packet: 0xD8 0x14 0x46 0x32 0x3F
TouchScreen Finger: x(8980), y(8114), Stream
Entering ReadInput
num_old_bytes is 1, Trying to read 255 bytes from port
Read 6 bytes of reports
Packet: 0xD8 0x14 0x46 0x32 0x3F
TouchScreen Finger: x(8980), y(8114), Stream
Entering ReadInput
num_old_bytes is 2, Trying to read 254 bytes from port

** Affects: xorg-server
     Importance: Unknown
         Status: Fix Released

** Affects: xserver-xorg-input-mutouch (Ubuntu)
     Importance: Medium
         Status: Confirmed

-- 
[UVFe] Please sync xserver-xorg-input-mutouch (1.2.0-2) from Debian unstable (main) - fixes: mutouch driver in hardy is Y axis Inverted
https://bugs.edge.launchpad.net/bugs/275650
You received this bug notification because you are a member of Ubuntu Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list