Configure touchscreen on Debian?
Following this page, Debian support for touchscreen is incomplete/under development.
You need to play a lot, and upgrade your Debian at least to wheezy (or maybe jessie).
I have already done this for Debian 9. For more information just open my blog link.
For touch screen we can use libinput or evdev driver. Libinput replaces the evdev driver. The configuration below is created for evdev.
Get information about xserver-xorg-input. The result there should not be evdev configuration file.
dpkg -l | grep xserver-xorg-input
Now install evdev driver.
apt-get install xserver-xorg-input-evdev
Check if evdev driver is installed
dpkg -l | grep xserver-xorg-input
Check if configuration files are in /usr/share/X11/xorg.conf.d directory.
cd /usr/share/X11/xorg.conf.d
ls
Result:
10-amdgpu.conf 10-evdev.conf 10-quirks.conf 40-libinput.conf 70-wacom.conf
We can remove libinput driver:
apt-get remove --auto-remove xserver-xorg-input-libinput
Install xinput-calibrator
sudo apt-get install xinput-calibrator
Check if you need to swap axes. if you need to swap just run:
xinit set-int-prop "eGalax Inc." "Evdev Axes Swap" 8 1
Run calibrator to get correct x,y positions.
xinput_calibrator --output-type xinput