Tom

        It seems we both stumbled across getting the touch to respond
the same way, accidentally after messing around for days and days.  That
is why I had set aside time to try again from scratch.  My process last
time was following the docs and having no luck like you.  After asking
for help here I got a few bones and kept trying.  I then put the whole
thing aside for 3 or 4 months and then tried again.  I even tried
installing the linux elo drivers from elo.  I did pretty much everything
you did.  The moment I got it working was pretty exciting, the only
problem was, I'm not actually sure what I did, I came in one morning,
decided to restart the server, after that I booted a touchscreen, and it
worked, upside down touch just like yours.  I looked around on the web
and then looked at the Windows docs from elo and found an obscure
reference to minx >= maxx to fix it, I looked into the windows machines
that were running and found that it was the same there.  I tweaked the
settings and it worked.  I never noticed the TouchScreen typo in the
Xorg config script, and mind you I had looked in that file a dozen times
tracing everything down.

        The current touchscreens I have are industrial computers from
Viewtronix (which was sold to someone years ago).  They are pc104 bus
computers with elo E271-2210 (internal OEM controllers).  All the
touchscreens are physically installed 180 degress out of "normal"
rotation to get the cable to be on opposite side of the screen.  By
looking at this I assume they did this to shorten the cable run to the
control board.

        I too am running into what appears to be an lts.conf that is
ignored, I've got two freshly installed servers that I am working on
today, both seem to have the same issues.  I am keeping a log on
everything I do, at this point I seem to be running into a display
driver issue, I can boot a newer thin client and everything comes up
fine, but these touchscreens are not even getting the display up and
running.

Here is the xorg.conf file from the client

Section "ServerLayout"
        InputDevice     "Touchscreen"   "SendCoreEvents"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice     "stylus"        "SendCoreEvents"
        InputDevice     "cursor"        "SendCoreEvents"
        InputDevice     "eraser"        "SendCoreEvents"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "Files"
        RgbPath      "/etc/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option  "XkbRules"      "xorg"
        Option  "XkbModel"      "pc105"
        Option  "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
        Option  "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver  "synaptics"
        Option  "SendCoreEvents"        "true"
        Option  "Device"        "/dev/psaux"
        Option  "Protocol"      "auto-dev"
        Option  "HorizScrollDelta"      "0"
EndSection

Section "InputDevice"
        Driver  "wacom"
        Identifier      "stylus"
        Option  "Device"        "/dev/input/wacom"
        Option  "Type"          "stylus"
        Option  "ForceDevice"   "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver  "wacom"
        Identifier      "eraser"
        Option  "Device"        "/dev/input/wacom"
        Option  "Type"          "eraser"
        Option  "ForceDevice"   "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver  "wacom"
        Identifier      "cursor"
        Option  "Device"        "/dev/input/wacom"
        Option  "Type"          "cursor"
        Option  "ForceDevice"   "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver    "chips"
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "Linear"                    # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "HWclocks"                  # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "STN"                       # [<bool>]
        #Option     "UseModeline"               # [<bool>]
        #Option     "Stretch"                   # [<bool>]
        #Option     "LcdCenter"                 # [<bool>]
        #Option     "MMIO"                      # [<bool>]
        #Option     "SuspendHack"               # [<bool>]
        #Option     "FixPanelSize"              # [<bool>]
        #Option     "18BitBus"                  # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "SetMclk"                   # <freq>
        #Option     "FPClock8"                  # <freq>
        #Option     "FPClock16"                 # <freq>
        #Option     "FPClock24"                 # <freq>
        #Option     "FPMode"                    # [<bool>]
        Identifier  "Card0"
        Driver  "chips"
        VendorName  "Chips and Technologies"
        BoardName   "F69000 HiQVideo"
        BusID       "PCI:1:7:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "InputDevice"
       Identifier  "TouchScreen"
       Driver      "elographics"
       Option      "Device"           "/dev/ttyS0"
       Option      "DeviceName"       "Elo"
       Option      "MinX"             "3681"
       Option      "MaxX"             "374"
       Option      "MinY"             "3543"
       Option      "MaxY"             "522"
       Option      "UntouchDelay"     "5"
       Option      "ReportDelay"      "5"
       Option      "AlwaysCore"
EndSection



Here is a clip from the Xorg.6.log file showing what response I get from
the DeviceElo.

(**) TOUCHSCREEN: always reports core events
(**) Option "DeviceName" "Elo"
(**) Elographics X device name: Elo
(**) Elographics associated screen: 0
(**) Option "UntouchDelay" "5"
(**) Elographics untouch delay: 50 ms
(**) Option "ReportDelay" "5"
(**) Elographics report delay: 50 ms
(**) Option "MaxX" "374"
(**) Elographics maximum x position: 374
(**) Option "MinX" "3681"
(**) Elographics minimum x position: 3681
(**) Option "MaxY" "522"
(**) Elographics maximum y position: 522
(**) Option "MinY" "3543"
(**) Elographics minimum y position: 3543
(**) Elographics device will work in Landscape mode
(II) Elographics: reverse x mode (minimum x position >= maximum x
position)
(II) Elographics: reverse y mode (minimum y position >= maximum y
position)


Notice the last two lines it generates

(I can include the entire Xorg.6.log if you think it will help.)        

Lts.conf:

[default] 
        #SOUND=True
        LOCALDEV=True
        NBD_SWAP=True
        SYSLOG=server
        CONFIGURE_X=True
        XSERVER = chips
        X_COLOR_DEPTH = 16
        USE_TOUCH=Y
        X_TOUCH_DEVICE=/dev/ttyS0
        X_TOUCH_MINX=3681
        X_TOUCH_MAXX=374
        X_TOUCH_MINY=3543
        X_TOUCH_MAXY=522
        X_TOUCH_UNDELAY=5
        X_TOUCH_RPTDELAY=5
[00:60:E0:01:5D:81]
        LDM_USERNAME=wd-x-tch-7
        LDM_PASSWORD=xxxxxx

......more ldm login info by max address continues

I will continue to work on this; I can't stand not being able to
reproduce what I did last time.

Kevin


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Knowles
Sent: Wednesday, August 20, 2008 12:42 PM
To: [email protected]
Subject: [Ltsp-discuss] LTSP 5 TOUCH Option SwapY

Kevin
I've been running touchscreens for some years, and, to date, I've not
had this 'upside down' issue. The X-axis seemed OK, so I tried reversing
the MinY and MaxY, but that didn't work. I will try your settings,
although I can't yet grab the logic. Anyway, there seem to be a few
underlying issues, certainly with this particular config, namely a
system generated typo I didn't spot, which, as it happens, wasn't the
solution. The way that I got touch was purely experimental and
accidental, result of frustration, but it wasn't logical! This
afternoon, at a different location, I did a complete reload and ended up
with an lts.conf that seemed to be ignored, although, notionally, I'd
done all the same things. It's just not clear to me as yet, where the
problems are, but I'll keep on truckin'. I would be interested in your
lts.conf and a summary of your installation procedure, if you can be
bothered to post. The only real diff betwixt us is edbuntu 7 vs hardy,
which shouldn't really be an issue at the client level. Thanks for the
reply. Will report any progress.
Tom 

------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to