Installing the Elo Touchscreen Serial Driver
These notes describe how to install the ELO 1747 touchscreen with a serial interface in Debian Lenny (and probably Ubuntu 8.04 as well). The description provided by ELO is good, but misses some details and is hard to read. Therefore this guide here.
Note that most information is from the README that comes with the ELO driver!
Step 1
First download the driver source here. Extract them and put them somewhere, where you can find them.
Then install standard build tools and the kernel headers:
apt-get install build-essential apt-get install linux-headers-$(uname -r)
Step 2
Unpack the driver and copy the content of the package into the standard elo folder:
cp -r ./bin-serial/ /etc/opt/elo cd /etc/opt/elo
Now compile the kernel module:
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/
Grand permissions to all users (needed for calibration etc.):
cd /etc/opt/elo chmod 777 *
Now put the module at the required location:
cp /etc/opt/elo/elo_drv.so_1.4 /usr/lib/xorg/modules/input/elo_drv.so
Step 3
Modify the X windows configuration file (xorg.conf. The file is located in the /etc/X11 directory (check the X windows log file /var/log/Xorg.0.log to verify the X windows configuration file in use).
Add the following lines to create a new Elo device configuration at the end of the file:
Section "InputDevice"
Identifier "elo"
Driver "elo"
Option "Device" "/dev/input/elo_ser"
Option "SendCoreEvents" "true"
EndSection
Add the following line to the ServerLayout section to include the elo input device:
InputDevice "elo"
As in Lenny there is no ServerLayout section, we will need to add the following to the end of the xorg.conf:
Section "ServerLayout" Identifier "Layout0" Screen 0 "Default Screen" 0 0 InputDevice "elo" EndSection
where "Default Screen" is the Identifier of the screen in the xorg.conf.
Step 4
Install the elocontrol(elok_S) module by running the following command.
cd /etc/opt/elo ./install.sh
Step 5
Install a script to invoke Elo drivers at system startup.
Add the following two lines at the end of daemon configuration script in "/etc/rc.local" file:
/etc/opt/elo/loadelo /etc/opt/elo/eloser <PORTNAME1> <PORTNAME2> ...
Replace <PORTNAME> in the command /etc/opt/elo/eloser <PORTNAME> with one of the following names based on where the touch input is connected.
ttyS0 : for /dev/ttyS0
ttyS1 : for /dev/ttyS1
ttyS2 : for /dev/ttyS2 ,etc.
Step 6
Reboot the system to complete the driver installation process.
shutdown -r now
And that would be it.
Step 7 (extra)
Now the standard procedures for calibration and setup options can be followed. Just to be complete I will state the commands to start the respective procedures:
Run the calibration program from a command window in X Windows from the /etc/opt/elo directory for a single monitor or multiple monitor setup.
cd /etc/opt/elo ./elova -nvram
Run the control panel program from a command window in X Windows from the /etc/opt/elo directory. Motif version 3.0 (libXm.so.3) is required to use GUI Control Panel (/etc/opt/elo/cpl).
Install Motif version 3 by enabling the non-free repositories (add non-free to the sources file) and then apt-get install libmotif3.
cd /etc/opt/elo ./cpl
- patrick's blog
- Add new comment
- 13952 reads

Recent comments
1 year 33 weeks ago
1 year 34 weeks ago
1 year 35 weeks ago
1 year 48 weeks ago
2 years 1 week ago
2 years 14 weeks ago