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!
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)
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
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.
Install the elocontrol(elok_S) module by running the following command.
cd /etc/opt/elo ./install.sh
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> ...
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