Egalax-Touchscreen

From LinuxMCE
Revision as of 20:56, 30 June 2008 by Ddamron (Talk | contribs) (New page: {| align="right" | __TOC__ |} =egalax series Touchscreens= :I have a few UnyTouch 15" LCD TouchScreens. Here's how I got them to work. :These instructions are the basic instructions ...)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

egalax series Touchscreens

I have a few UnyTouch 15" LCD TouchScreens. Here's how I got them to work.
These instructions are the basic instructions included with the driver. If you get lost, follow those.
My units are USB. If you have PS2 or Serial devices, follow the instructions included with the driver.


Downloading the drivers

Drivers can be downloaded from http://210.64.17.162/web20/eg/drivers.htm.
The driver I used (32bit) is http://210.64.17.162/web20/drivers/touch_driver/Linux/TouchKit-1.08.1227-32b-k26.tar.gz
Here's how I did it. My MD is moon80, yours may vary. First, as root, ssh to your MD (from your core)
sudo ssh moon80
now, make sure your in /root
cd /root 
download the file (below is for 32bit)
wget http://210.64.17.162/web20/drivers/touch_driver/Linux/TouchKit-1.08.1227-32b-k26.tar.gz
unarchive the file:
tar -xvvf TouchKit-1.08.1227-32b-k26.tar.gz
cd TouchKit

Installing the drivers

First, we have to copy the driver into the right place
cp egalax_drv.so /usr/lib/xorg/modules/input

modifying /etc/X11/xorg/conf

There are 2 main modifications to the xorg.conf file.
first define the driver as an inputdevice. Add this section:
Section “InputDevice”
    Identifier  “EETI”
    Driver     "egalax" 
    Option     “Device”     “usbauto”
    Option     “Parameters” “/var/lib/egalax.cal”
    Option     “ScreenNo”   “0”
EndSection
Second, is to add this section to the serverlayout. Add this line to your [ServerLayout] section:
InputDevice    "EETI"       "SendCoreEvents"
That's it for xorg.conf. Restart X, (simply reboot the MD is easiest)

Configuring the TouchScreen

Once your MD comes back up, boot up KDE Desktop, and open a terminal.
cd /root/TouchKit
sudo ./TouchKit
This will load the touchkit configuration, allow you to calibrate the screen, etc.

Beta Drivers

The download site has some beta drivers for xorg 1.3 / 32bit. From what I can see, it simply automates the above. I did not try them as this worked perfectly.