Touch-carrolltouch

From Bashlinux
Revision as of 15:10, 16 June 2012 by Manpaz (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CarrollTouch

This is an infrared touchscreen offered by Elo TouchSystems.

How to build CarrolTouch driver on fedora

You can get the sources from elotouch by acessing [[1]], then scroll the page to find and download the latest serial driver for Linux.

Get sources

  1. Install the kernel development packages and libraries for calibration
 # yum install gcc make kernel-headers kernel-devel openmotif
 
  1. Get the sources, decompress the file, and move needed files under `/etc/opt/elo`
 # mkdir /etc/opt/elo
 # tar zxvf Unified_Serial_Driver_v3.2.tar.gz
 # mv bin-serial /etc/opt/elo
 # cd /etc/opt/elo
 

Build driver

  1. Change directory into the kernel module folder
  2. Create the `Makefile` and build the kernel module
  3. Copy kernel module created to elo folder
 # cd /etc/opt/elo/elok_s-source
 # cp makefile_2.6 Makefile
 # make
 # cp /etc/opt/elo/elok_s-source/elok_s.ko /etc/opt/elo/
 

Install driver

  1. Go the elo folder
  2. Set full permissions
  3. Install xorg driver for CarrollTouch
  4. Install kernel driver module
 # cd /etc/opt/elo
 # chmod 777 *
 # /sbin/install -m 755 elo_drv.so_7.2 /usr/lib/xorg/modules/input/
 # /sbin/install -m 744 elok_s.ko /lib/modules/`uname -r`/kernel/drivers/
 


Howto setup elo service for CarrollTouch driver

  1. Edit `/etc/rc.d/rc.local` file and add
 /etc/opt/elo/loadelo
 /etc/opt/elo/eloser ttyS4
 
where `ttyS4` is `COM5`, if you have the touchscreen on any other port, then set the right name at last line in the above file.

How to setup Xorg for CarrollTouch driver

  1. Open and edit `/etc/X11/xorg.conf ` and add the following section at the end of the file
 Section "InputDevice"
         Identifier "elo"
         Driver "elo"
         Option "Device" "/dev/input/elo_ser"
         Option "SendCoreEvents" "true"
 EndSection
 
  1. Then and add the following line on `ServerLayout` section:
 InputDevice "elo"
 


In order to setup the drivers environment, reboot the system to load drivers in the proper way after finish to setup xorg configuration file.

How to install CarrollTouch driver from rpm

Bashlinux rpm repository has an rpm ready for fedora, if the repository is already setup on system, then you can install with yum

 # yum install xorg-x11-drv-carrolltouch-elo