CarrolTouch

From Bashlinux
Revision as of 03:04, 16 June 2015 by Manpaz (talk | contribs) (Created page with "__NOTOC__ This is an infrared touchscreen offered by Elo Touch. You can get the sources from elotouch by acessing http://www.elotouch.com/Support/Downloads/dnld.asp, then...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is an infrared touchscreen offered by Elo Touch.

You can get the sources from elotouch by acessing http://www.elotouch.com/Support/Downloads/dnld.asp, then scroll down through the page and download the latest serial driver for Linux.

How to get sources for CarrolTouch

  • Install the kernel development packages and libraries for calibration
# yum install gcc make kernel-headers kernel-devel openmotif
  • 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

How to build the CarrolTouch driver

  • Change directory into the kernel module folder
  • Create the Makefile and build the kernel module
  • 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/

How to install the CarrolTouch driver =

  • Go the elo folder
  • Set full permissions
  • Install xorg driver for CarrollTouch
  • 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

  • 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

  • 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
  • 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 the 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