Touch-carrolltouch: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
Manpaz (talk | contribs)
No edit summary
 
Manpaz (talk | contribs)
Redirected page to CarrolTouch
 
Line 1: Line 1:
#REDIRECT [[CarrolTouch]]
__NOTOC__
= [[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 [[http://www.elotouch.com/Support/Downloads/dnld.asp]], then scroll the page to find and download the latest serial driver for Linux.

'''Get sources'''
# Install the kernel development packages and libraries for calibration
<pre><nowiki>
# yum install gcc make kernel-headers kernel-devel openmotif
</nowiki></pre>

# Get the sources, decompress the file, and move needed files under `/etc/opt/elo`
<pre><nowiki>
# mkdir /etc/opt/elo
# tar zxvf Unified_Serial_Driver_v3.2.tar.gz
# mv bin-serial /etc/opt/elo
# cd /etc/opt/elo
</nowiki></pre>

'''Build driver'''
# Change directory into the kernel module folder
# Create the `Makefile` and build the kernel module
# Copy kernel module created to elo folder
<pre><nowiki>
# 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/
</nowiki></pre>

'''Install driver'''
# Go the elo folder
# Set full permissions
# Install xorg driver for [[CarrollTouch]]
# Install kernel driver module
<pre><nowiki>
# 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/
</nowiki></pre>


== Howto setup elo service for [[CarrollTouch]] driver ==
# Edit `/etc/rc.d/rc.local` file and add
<pre><nowiki>
/etc/opt/elo/loadelo
/etc/opt/elo/eloser ttyS4
</nowiki></pre>

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
<pre><nowiki>
Section "InputDevice"
Identifier "elo"
Driver "elo"
Option "Device" "/dev/input/elo_ser"
Option "SendCoreEvents" "true"
EndSection
</nowiki></pre>

# Then and add the following line on `[[ServerLayout]]` section:
<pre><nowiki>
InputDevice "elo"
</nowiki></pre>


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
<pre><nowiki>
# yum install xorg-x11-drv-carrolltouch-elo
</nowiki></pre>

Latest revision as of 03:04, 16 June 2015

Redirect to: