WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Xorg 7.7 and touchscreen compatibilities  (Read 5127 times)

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
[SOLVED] Xorg 7.7 and touchscreen compatibilities
« on: November 26, 2013, 10:25:48 AM »
I have TC 5.02 and Xorg 7.7. I need to get an old serial touchscreen to work with it. This touchscreen works with ubuntu and the eGalax driver.  To work with ubuntu, it needs entries into xorg.conf. I'm currently running Xorg confless with the new geode video driver. I have a few issues:
please forgive me if i ask seemingly stupid questions, still very much a noob

1. Creating xorg.conf to give a version suitable for my hardware gives an error. Xorg -configure creates a /root/xorg.conf.new file which gives a "number of screens does not match number of detected devices" error.

2. I manually create an /etc/X11 directory with the following xorg.conf (as per egalax instructions)

Section “ServerLayout”
        Identifier    "X.org Configured"
        InputDevice      “EETI”      “SendCoreEvents”
EndSection

Section “InputDevice”
        Identifier “EETI1”
        Driver “egalax”
       Option “Device”  "/dev/ttyS0"
       Option “Parameters” “/var/lib/eeti1.param”
       Option “ScreenNo”  "0"
EndSection

Starting X then gives an error  in the log file "failed to load /usr/local/lib/xorg/modules/input/egalax_drv.so: undefined symbol: xf86GetMotionEvents"

So does this mean that the egalax driver is calling the xf86GetMotionEvents function which no longer exists in xorg 7.7?

3. Is there an older driver available that does support serial touchscreens?

Thanks.
« Last Edit: November 29, 2013, 11:49:44 AM by LazyLarry »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #1 on: November 26, 2013, 11:17:57 AM »
Did you compile the egalax driver?

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #2 on: November 26, 2013, 11:20:46 AM »
no, just downloaded from support site

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #3 on: November 26, 2013, 01:15:40 PM »
what does "ldd /usr/local/lib/xorg/modules/input/egalax_drv.so" give?

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #4 on: November 26, 2013, 02:03:07 PM »
statically linked

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #5 on: November 28, 2013, 03:22:41 AM »
would rolling back to an earlier version of xorg make any difference?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #6 on: November 28, 2013, 04:59:42 AM »
What's really needed is the driver source so it can be recompiled - is it available somewhere?

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #7 on: November 28, 2013, 03:48:55 PM »
i havent managed to find it, but i did find this,
http://lxr.free-electrons.com/source/drivers/hid/hid-egalax.c?v=2.6.35
i dont know if its much use, you'd need to find all the includes too.
i did email eeti, got an out of office reply til december 2nd.

the egalax driver does work on ubuntu with X ver 1.5.2 and linux 2.6.24

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #8 on: November 28, 2013, 07:49:39 PM »
here's something i found on github, seems to do the trick, but i'd need a serial version.
https://github.com/poliva/opengalax

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #9 on: November 29, 2013, 04:13:59 AM »
Update:
I've been able to engage with the manufacturer. They say the source is not available but are assisting debug. At their recommendation, I'm using a newer driver, but this is also showing problems.  The driver needs /dev/uinput directory. This isn't in the build (5.02) I have.
Do I need to rebuild it with this option turned on? If so where do I start?

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: Xorg 7.7 and touchscreen compatibilities
« Reply #10 on: November 29, 2013, 11:49:16 AM »
sorted. modprobe uinput and run with the eGTouch drivers from eeti.