Touch screen buy back for a long time no use, recently found that he is can touch. Tinker a bit.
The personal use of Raspberry Pi is the official recommendation system, the version is
The best part of this version is that the kernel has compiled the Egalax touchscreen, and the Apt-get upgrade updates the system to use the touchscreen recently.
Calibration of the touch screen is possible, the calibration tool xinput-calibrator, directly wget to the local, unzip the compilation. Calibration Tool Address http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
Version Kernel version:3.18 compilation is definitely unsuccessful because of a missing, dependent package. A foreigner's answer is:
Install Some dependencies:
sudo apt-get install Libx11-dev libxext-dev libxi-dev X11proto-input-dev Xorg-dev
He said he lacked these bags. Download the installation.
These may not all be used, their knowledge is limited and unclear, are installed.
OK to start Xinput_calibrator, the tool will prompt you for the motor Red Cross proofing point. Then the feedback output looks like this:
Calibrating EVDEV driver for “eGalax Inc. USB TouchController” id=8
current calibration values (from XInput): min_x=1938, max_x=114 and min_y=1745, max_y=341
Doing dynamic recalibration:
Setting new calibration data: 121, 1917, 317, 1741
–> Making the calibration permanent <–
copy the snippet below into ‘/etc/X11/xorg.conf.d/99-calibration.conf’
MatchProduct “eGalax Inc. USB TouchController”
Option “Calibration” “121 1917 317 1741″
Option “SwapAxes” “1″
Follow the prompts to copy section information to/etc/x11/xorg.conf.d/99-calibration.conf and write to file/usr/share/x11/xorg.conf.d/01-input.conf reboot OK
Raspberry Pi Add 7 inch touch screen