Hi to all on the Forum!

I installed Ubuntu 8.04 on an industrial PC with integrated touchpad. The 
touchpad is connected by the serial interface /dev/ttyS1. Then I  use the 
xserver-xorg-input-elographics package. The X system reports the following (on 
Xorg.0.log):
--------------------------
(--) Elographics touchscreen is a AccuTouch, connected through a serial link.
(--) The controller is a model E271-2200, firmware revision 2.0.
--------------------------

And I have the following Xorg configuration:

--------------------------
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
EndSection

Section "InputDevice"
        Identifier      "xeloserial"
        Driver          "elographics"
        Option          "Device"        "/dev/ttyS1"

        Option          "MinX" "465"
        Option          "MaxX" "3658"
        Option          "MaxY" "3514"
        Option          "MinY" "512"
        Option          "ScreenNumber"  "0"
        Option          "ReportingMode" "Raw"
        Option          "ButtonThreshold"       "17"
        Option          "ButtonNumber"  "1"
        Option          "SendCoreEvents"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "xeloserial"
EndSection
--------------------------
I used touchcal-0.31 to make the calibration.

With this configuration and the default elographics module I had a
problem with the direction of the Y coordinate, It was inverted. I try
to use the option "SwapY", inverted the MinY,MaxY values, etc. Until I
found your bug report.

I download I compile the xf86-input-elographics-1.2.2.tar.gz, I worked, but I 
had no Mouse and no keyboard response, and the X server could not be killed. 
The Xorg.0.log was full of the following 2 lines:
-------------------------
mieqEnequeue: out-of-order valuator event; dropping.
tossed event which came in late
-------------------------

Than I made a comparison between 1.1.0 and 1.2.2 and made patches for
the file xf86Elo.c. Now works fine, at least for me. I will publish 2
patches, one is to patch the xf86-input-elographics-1.1.0.tar.gz package
and the other to the xf86-input-elographics-1.2.2.tar.gz package. The
patch for 1.2.2 shows that the event generation is on a while loop, that
must not be.

I make the patch agaist 1.1.0 because this is the version that is used
by ubuntu 8.04 by default. I hope this will be useful to other people
that want to use the newest Ubuntu.

Mfg.

     Alberto E. Dubuc B. (alendubri)

** Attachment added: "Patch for merging functionality of 1.2.2 on 1.1.0 + some 
improvement"
   http://launchpadlibrarian.net/16982032/xf86-input-elographics-1.1.0.patch

-- 
MinY < MaxY leads to unexpected behaviour
https://bugs.launchpad.net/bugs/218671
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to