Technology

Raspberry Pie Ver 2, Touchscreen USB Problem, AT070TN90 TFT 7 HDMI Display

root@raspberrypi:/# lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
root@raspberrypi:/#

rpi-update
apt-get install xinput-calibrator
or
wget http://adafruit-download.s3.amazonaws.com/xinput-calibrator_0.7.5-1_armhf.deb
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb

REBOOT, touchscreen will work..

Run to callibrate..

xinput-calibrator


Calibrating EVDEV driver for "eGalax Inc. USB TouchController" id=6
current calibration values (from XInput): min_x=127, max_x=1889 and min_y=1708, max_y=242
Doing dynamic recalibration:
Setting new calibration data: 1983 68 162 1902

nano  /etc/X11/xorg.conf.d/99-calibration.conf

Section "InputClass"
Identifier    "calibration"
MatchProduct    "eGalax Inc. USB TouchController"
Option    "Calibration"    "1983 68 162 1902"
Option    "SwapAxes"    "1"
EndSection

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s