Setup of the Non-HID 7 inch Touch Display

 Connect the USB Cable to your Raspberry Pi

Type lsusb, you should get a output as seen below:

lsusb
Bus 001 Device 005: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen

 

Do the steps within my recompiling guide until menuconfig

make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig

 Link to: Re-Compiling Kernel Guide

Once you have set the menuconfig, the kernel setup guide should start and you can modify the kernel functions as seen in the below pictures:

Kernel Config 1

1. Go into Device Drivers.

 2. Select Input device support.

 Check the Touchscreens Menu (by pressing spacebar) and then enter it.

now you can Check USB Touchscreen Drivers which will activate the eGalax, eturboTouch drivers needed for out non-HID touchscreen.

 Once you have done that, exit and save the configuration, and proceed with the rest of the re-compiling guide:

 Link to: Re-Compiling Kernel Guide

Once your done and everything has gone fine with the compiling. you only need to calibrate the touch screen.

 

check that you your raspberry pi starts X11 at start by activating it within

sudo raspi-config

 

Download some dependencies

sudo apt-get install autoconf libx11-dev libxext-dev libxi-dev x11proto-input-dev
cd ~
wget http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
tar -zxvf xinput_calibrator-0.7.5.tar.gz
cd xinput_calibrator-0.7.5
make
sudo make install

 

Don't run xinput_calibrator from the commandline as you will get "unable to connect to X server" 

Start the GUI interface and you should be able to calibrate the screen by starting a terminal within the gui and running the commands below, this calibration will only hold until the next reboot.

cd ~/xinput_calibrator-0.7.5

xinput_calibrator

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

 

If you want to make it permanent, copy the output from the calibration into
'/etc/X11/xorg.conf.d/99-calibration.conf'

For Raspbian, you have to create the file:
$ sudo nano /usr/share/X11/xorg.conf.d/01-input.conf

Section "InputClass"
Identifier "calibration"
MatchProduct "eGalax Inc. USB TouchController"
Option "Calibration" "121 1917 317 1741"
Option "SwapAxes" "1"
EndSection

 

Done!

Posted on: Tuesday 27 January 2015