Announcement

Collapse
No announcement yet.

Configuring touchscreen "click" behavior

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configuring touchscreen "click" behavior

    OK... So, I've successfully managed to get my Lilliput touchscreen functioning (for the most part). The calibration utility works and the cursor properly jumps to the correct co-ordinates when I touch the screen, but there is something strange going on with the click behavior...

    It's a little difficult to describe, but here it goes:
    When I touch the screen, the cursor jumps to the proper co-ordinates (as expected), but it almost appears as if there's a "second click" or "ghost click" simultaineously occurring at other (seemingly random) co-ordinates.

    For example, if I touch the center of the screen, the cursor goes to the center of the screen, but it will also launch an icon in the toolbar... I can drag my finger across the screen and the cursor will follow, but also select/deselect various icons on my desktop.

    Here's how I managed to make my touchscreen work:
    1)I Downloaded the touchkit source from http://linux.chapter7.ch/touchkit/
    2)I extracted a file called "evtouch_drv.o" from within a compressed file in "evtouch-0.5.1-src-tar.gz"
    3)I copied "evtouch_drv.o" into /usr/X11R6/lib/modules/input
    4)typed "modprobe evdev" into a root console
    5)I compiled and ran the calibrator, which displayed the xorg.conf settings (needed when editing "xorg.conf")
    6)I edited the "xorg.conf" as per the instructions on the mini-howto.txt
    7)typed "rmmod touchkitusb"
    8)typed "modprobe touchkitusb swap_xy"
    9)restarted X
    10)Everything works properly, with the exception of this "phantom clicking"
    I've only been foolin' with Linux for about 18 months now, so I still consider myself sorta newbish.

    Anybody have any ideas as to what might be going on here?
    _____________________________
    EPIA Mini-ITX M10000
    8 GB Compact Flash card (bridged to the IDE channel)
    1 GB DDR PC2100
    Slax Standard 5.1.4
    OPUS 150 W
    Lilliput 7" 629GL-70NP

  • #2
    i thought that the lilliput came supplied with working linux drivers

    Comment


    • #3
      The cd which accompanied my Lilliput contains drivers for DOS and Windows only. I know people have been getting linux drivers for their Lilliputs from here: http://www.egalax.com.tw/eg/drivers.htm

      However, I'm not working with one of the standard distros which they offer up drivers for, and I'm not having much success trying to finagle one of the other drivers into working for my distro (Slax).

      Upon my very first attempt to boot Slax into an X environment, I noticed that the touchscreen seemed to function, albeit entirely improperly... Calibration was off, the Y axis was inverted, and the X and Y co-ordinates were swapped...

      I noticed that the touchscreen would become disabled when I did a "rmmod touchkitusb", and worked from there. I found out that, provided the "evtouch_drv.o" is residing in the "/usr/X11R6/lib/modules/input/" folder, and a properly configured "xorg.conf" is in the "/etc/X11" folder, everthing works fine (that is, once I ran "modprobe evdev" and "modprobe touchkitusb swap_xy" again and restarted X), except for the little "phantom touch" behavior.

      I dunno... I'm going to keep trying different things... maybe I'll figure it out. I guess I was just hoping maybe someone had experienced this sort of behavior before, and could provide some guidence... I'm thinking maybe I shouldn't need to modprobe both the touchkitusb and the evdev kernel drivers?

      If I get everything working, I'm planning on making a Slax Module out of the driver and all of the calibration components. This way, should anyone else choose to attempt a Slax based car computer, there will always be a Lilliput module avaiable for Slax.
      _____________________________
      EPIA Mini-ITX M10000
      8 GB Compact Flash card (bridged to the IDE channel)
      1 GB DDR PC2100
      Slax Standard 5.1.4
      OPUS 150 W
      Lilliput 7" 629GL-70NP

      Comment


      • #4
        I'm curious. Does it work in windows?

        Comment


        • #5
          It works flawlessly in Windows.

          I'm wondering, isn't there some way to change the default click behavior? I mean, this may not be the solution I'm looking for... but perhaps I can tinker around with that setting (if such a setting is available). Correct me if I'm mistaken, but shouldn't there be options to change things like the "click rate" and "click properties"?
          _____________________________
          EPIA Mini-ITX M10000
          8 GB Compact Flash card (bridged to the IDE channel)
          1 GB DDR PC2100
          Slax Standard 5.1.4
          OPUS 150 W
          Lilliput 7" 629GL-70NP

          Comment

          Working...
          X