Try to disable this part of the /etc/init.d/matrix-gui-2.0 script, then remove the pointercal calibration files and reboot your system. Check how the touchscreen will behave and report back.
[quote] # Do not try to calibrate the touchscreen if it doesn't exist.
if [ -e /dev/input/touchscreen0 ]
then
export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
# Check if the SD card is mounted and the first partition is
# vfat. If so let's write the pointercal file there so that if
# someone messes up calibration they can just delete the file from
# any system and reboot the board.
mount | grep /media/mmcblk0p1 | grep vfat > /dev/null 2>&1
if [ "$?" = "0" ]
then
tsfile=/media/mmcblk0p1/pointercal
export TSLIB_CALIBFILE=$tsfile
fi
if [ ! -f $tsfile ] ; then
echo -n "Calibrating touchscreen (first time only)"
ts_calibrate
echo "."
# If we create a pointercal file and it was not in /etc/pointercal
# let's copy it there as well if it does not already exist.
if [ ! -f /etc/pointercal -a -f $tsfile ]
then
cp $tsfile /etc/pointercal
fi
fi
fi
[/quote]
Best regards,
Miroslav