1) install xserver-xorg-input-evtouch (I used synaptic package manager ... universe repository enabled)
2) lshal | grep input.product
make note of the name of your touchscreen when it comes up (mine was "3M 3M Touchscreen - EX II", it could also be "MicroTouch Systems, Inc. MicroTouch USB Touchscreen - EX II" if it's a 3M, and I think this will work with just about any other brand USB touchscreen too. evtouch is the driver to use if you have an USB touchscreen.)
3) Create the file /etc/hal/fdi/policy/touchscreen.fdi containing the following:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="input.product" contains="3M 3M Touchscreen - EX II">
<merge key="input.x11_driver" type="string">evtouch</merge>
<merge key="input.x11_options.MinX" type="string">14200</merge>
<merge key="input.x11_options.MaxX" type="string">2160</merge>
<merge key="input.x11_options.MinY" type="string">2580</merge>
<merge key="input.x11_options.MaxY" type="string">13800</merge>
</match>
</device>
</deviceinfo>
Notice the "<match key=" statement contains the value obtained in Step 2.
Step 4: Unplug and plug back in the touchscreen. It should now work, no need to restart X! Didn't even need to recalibrate - it's right on.
Note: After installing evtouch, "System->Administration->Calibrate Touchscreen" appears. Using this tool (at least for this particular chipset) results in an inverted X-axis. Don't touch it.
Bookmarks