Elographics Touchscreen with XFree86-4.1.0.1 - X

This is a discussion on Elographics Touchscreen with XFree86-4.1.0.1 - X ; Hy, I have a problem getting an Elographics touchscreen to work. I've installed Linux (Debian GNU/Linux 3.0 r0 "Woody" with xfree86 version 3.1)on Panel-PC Advantech PPC-153T. everything seems to work fine... but not the touchscreen! Reading the log file I ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Elographics Touchscreen with XFree86-4.1.0.1

  1. Elographics Touchscreen with XFree86-4.1.0.1

    Hy,
    I have a problem getting an Elographics touchscreen to work.
    I've installed Linux (Debian GNU/Linux 3.0 r0 "Woody" with xfree86
    version 3.1)on Panel-PC Advantech PPC-153T.
    everything seems to work fine... but not the touchscreen!
    Reading the log file I thought that there was a comunication problem on
    the serial port (COM4) but I have installed window98 and the touchscreen
    worked correctly!

    I hope there is anybody who can help to solve this problem.

    Thanks for any help or suggestions.


    With best Regards,
    Paolo

    -------------------------------------------
    The XFree86.0.log:
    [...]
    XFree86 Version 4.1.0.1 / X Window System
    (protocol Version 11, revision 0, vendor release 6510)
    Release Date: 21 December 2001
    If the server is older than 6-12 months, or if your card is
    newer than the above date, look for a newer version before
    reporting problems. (See http://www.XFree86.Org/FAQ)
    Build Operating System: Linux 2.4.17 i686 [ELF]
    Module Loader present
    (==) Log file: "/var/log/XFree86.0.log", Time: Fri Jul 16 14:51:40 2004
    (==) Using config file: "/etc/X11/XF86Config-4"
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) ServerLayout "Default Layout"
    (**) |-->Screen "Default Screen" (0)
    (**) | |-->Monitor "Generic Monitor"
    (**) | |-->Device "Generic Video Card"
    (**) |-->Input Device "touchscreen1"
    (**) |-->Input Device "Generic Keyboard"
    [...]
    (II) LoadModule: "elographics"
    (II) Loading /usr/X11R6/lib/modules/input/elographics_drv.o
    (II) Module elographics: vendor="The XFree86 Project"
    compiled for 4.1.0.1, module version = 1.0.0
    Module class: XFree86 XInput Driver
    ABI class: XFree86 XInput driver, version 0.2
    [...]

    (**) Option "AlwaysCore"
    (**) TOUCHSCREEN: always reports core events
    (**) Elographics X device name: TOUCHSCREEN
    (**) Option "ScreenNo" "0"
    (**) Elographics associated screen: 0
    (**) Option "UntouchDelay" "3"
    (**) Elographics untouch delay: 30 ms
    (**) Option "ReportDelay" "1"
    (**) Elographics report delay: 10 ms
    (**) Option "MaximumXPosition" "3600"
    (**) Elographics maximum x position: 3600
    (**) Option "MinimumXPosition" "600"
    (**) Elographics minimum x position: 600
    (**) Option "MaximumYPosition" "3600"
    (**) Elographics maximum y position: 3600
    (**) Option "MinimumYPosition" "600"
    (**) Elographics minimum y position: 600
    (**) Option "DebugLevel" "5"
    (**) Elographics debug level sets to 5
    (**) Elographics device will work in Landscape mode
    [...]
    (II) XINPUT: Adding extended input device "TOUCHSCREEN" (type:
    Elographics TouchScreen)
    Elographics touchscreen init...
    Done.
    Elographics touchscreen on...
    Elographics touchscreen opening : /dev/ttyS3
    (**) Option "Device" "/dev/ttyS3"
    (**) Option "BaudRate" "9600"
    (**) Option "StopBits" "1"
    (**) Option "DataBits" "8"
    (**) Option "Parity" "None"
    (**) Option "Vmin" "10"
    (**) Option "Vtime" "1"
    (**) Option "FlowControl" "None"
    Sending packet : 0x55 0x70 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x6F
    Waiting a 'P' reply
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Not at the specified rate or model 2310, will continue
    Sending packet : 0x55 0x69 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x68
    Waiting a 'I' reply
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Unable to ask Elographics touchscreen identification
    Elographics touchscreen on...
    Elographics touchscreen opening : /dev/ttyS3
    Sending packet : 0x55 0x70 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x6F
    Waiting a 'P' reply
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Not at the specified rate or model 2310, will continue
    Sending packet : 0x55 0x69 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x68
    Waiting a 'I' reply
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Waiting 100 ms for data from port
    No answer from link : 0
    Unable to ask Elographics touchscreen identification
    -----------------------------------------------
    This is a part of XF86Config-4:
    [...]
    Section "InputDevice"
    Identifier "touchscreen1"
    Driver "elographics"
    Option "Device" "/dev/ttyS3" #the touch is on COM4
    Option "AlwaysCore"
    Option "screeno" "0"
    Option "MinXPosition" "600"
    Option "MaxXPosition" "3600"
    Option "MinYPosition" "600"
    Option "MaxYPosition" "3600"
    Option "UntouchDelay" "3"
    Option "ReportDelay" "1"
    Option "DebugLevel" "5"
    EndSection
    [...]
    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "Generic Mouse"
    InputDevice "touchscreen1"
    EndSection
    [...]



  2. Re: Elographics Touchscreen with XFree86-4.1.0.1

    Paolo Beverini wrote:
    >Hy,
    >I have a problem getting an Elographics touchscreen to work.
    >I've installed Linux (Debian GNU/Linux 3.0 r0 "Woody" with xfree86
    >version 3.1)on Panel-PC Advantech PPC-153T.
    >everything seems to work fine... but not the touchscreen!
    >Reading the log file I thought that there was a comunication problem on
    >the serial port (COM4) but I have installed window98 and the touchscreen
    >worked correctly!
    >
    >I hope there is anybody who can help to solve this problem.
    >
    >Thanks for any help or suggestions.
    >
    >
    >With best Regards,
    >Paolo

    [snip]

    It sure looks like you are not talking to the device.

    There is a long and very ugly history with com ports and irq's. I am
    not really aware of what the current state of the art is, because I
    no longer use them. But in the past you could always expect a fight
    to get com3 and com4 to work.

    You should review the "setserial" command. One of its possibilities
    is to set the irq to "0", which really means to poll the device rather
    than use an irq. This is worth a try (and is probably what windos is
    doing).

    You could also try com1 or com2 if they are available on your h/w.

    HTH.


+ Reply to Thread