Here you go John. I believe this is complete and correct.
Installing a Serial TouchScreen in Debian Wheezy -
Install inputattach
sudo apt-get install inputattach
Install the Elographics driver
Modprobe elo
Add sid repository to /etc/apt/sources.list
### USE STRICTLY FOR INSTALLING OR UPDATING XINPUT-CALIBRATOR
deb
http.debian.net/debian
sid main contrib non-free
Update apt
sudo apt-get update
Install xinput-calibrator
sudo apt-get install xinput-calibrator
Comment the sid repository back out and leave it commented out so that it does not get used in the future
#deb
http.debian.net/debian
sid main contrib non-free
From the command line -
$> cat /proc/bus/input/devices
Look for your touchscreen's section and make note of the serial port being used.
Example of my own's output -
I: Bus=0013 Vendor=0029 Product=0000 Version=0107
N: Name="Elo Serial TouchScreen"
P: Phys=ttyS0/serio0/input0
S: Sysfs=/devices/pnp0/00:07/tty/ttyS0/serio2/input/input4
U: Uniq=
H: Handlers=mouse1 event4
B: PROP=0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
In my case, you can see on the "P" line that it is using ttyS0. ( /dev/ttyS0 )
Edit /lib/udev/60-inputattach.rules to add -
# Attach Elo Serial TouchScreen
ACTION=="add|change", SUBSYSTEM=="tty", KERNEL=="ttyS0", \
RUN+="/sbin/modprobe elo", \
RUN+="/lib/udev/inputattach --daemon -elo /dev/%k "
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1"
Section "InputClass"
Identifier "elographics config"
MatchProduct "Elo Serial TouchScreen"
Option "EmulateThirdButton" "on"
EndSection
Replace "ttyS0" with your own appropriate value.
Create and edit /usr/share/X11/Xorg.conf.d/99-elographics.conf
# Elo Serial TouchScreen calibration values from xinput-calibrator
# Note - these are my values. You can place them in here, but they will get changed when you run xinput-calibrator
Section "InputClass"
Identifier "calibration"
MatchProduct "Elo Serial TouchScreen"
Option "Calibration" "4074 5 4032 44"
Option "SwapAxes" "0"
Option "EmulateThirdButton" "on"
EndSection
Run xinput-calibrator & follow the prompts.
When it is done, it _should_ update the 99-elographics.conf file. However, due to variances in
some distributions, it may not work as intended and you may have to edit the values for yourself.
When it has completed running, it will pop up a window with your resultant calibration values.
Write these down and then edit the 99-elographics.conf file to reflect them in the " Option "Calibration" " field.
Restart X or rebbot and the touchscreen should work.
There you have it. I hope this helps someone retain the amount of hair I myself lost and avoid
the long term effects of the concusions by avoiding slamming one's head into the wall repeatedly.
Best Regards.