I am writing this for those having the same problem. this could be a straightforward quick guide to
installing the driver:
http://who-t.blogspot.fi/2012/07/elographics-touchscreen-
Code:
root@localhost:~> modprobe elo
root@localhost:~> inputattach -elo /dev/ttyS0 --daemon
Code:
# cat /lib/udev/rules.d/99-elographics.rules
ACTION=="add|change", SUBSYSTEM=="tty|pnp", KERNEL=="ttyS1", \
RUN+="/sbin/modprobe elo", \
RUN+="/usr/bin/inputattach -elo /dev/%k --daemon"
Code:
# cat /lib/udev/rules.d/99-elographics.rules
ACTION=="add|change", SUBSYSTEM=="tty|pnp", KERNEL=="ttyS1", \
RUN+="/sbin/modprobe elo", \
RUN+="/usr/bin/inputattach -elo /dev/%k --daemon"
# cat /etc/X11/xorg.conf
Section "InputClass"
Identifier "calibration"
MatchProduct "Elo Serial TouchScreen"
Option "Calibration" "3568 507 529 3548"
EndSection
Code:
# cat /etc/hal/fdi/policy/10-elographics.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.category" contains="input">
<match key="info.product" contains="Elo Serial TouchScreen">
<merge key="input.x11_driver" type="string">evdev</merge>
<!-- next line is equivalent to an xorg.conf.d statement of
Option "Calibration "96 4000 96 4000" -->
<merge key="input.x11_options.calibration" type="string">3580 500 521 3468</merge>
</match>
</match>
</device>
</deviceinfo>
next install the display calibration package n calibrate the screen. then
add the calibration X Y values to the xconfig file. no matter you do not have xorg.d folder in ubuntu 11.1 just
make xorg file as following:
Code:
# cat /lib/udev/rules.d/99-elographics.rules
ACTION=="add|change", SUBSYSTEM=="tty|pnp", KERNEL=="ttyS1", \
RUN+="/sbin/modprobe elo", \
RUN+="/usr/bin/inputattach -elo /dev/%k --daemon"
root@Safilan:/home/safilan# cat /etc/X11/xorg.conf
Section "InputClass"
Identifier "calibration"
MatchProduct "Elo Serial TouchScreen"
Option "Calibration" "3568 507 529 3548"
EndSection
if you have any problem maybe I could help.