meta data for this page

eGalax touchscreen configuration

Unfortunately the eGalax driver is removed from the udev hwdb debian package after a couple of years. Here you can find a simple repair method for a Debian based system.

The problem

The Xorg server starts up with the following error message in the log file /var/log/Xorg.0.log:

[     8.461] (EE) event6  - eGalax Inc. USB TouchController: libinput bug: missing tablet capabilities: btn-stylus resolution.Ignoring this device.

It seems, the touchscreen is not correctly recognized by evdev.


It is needed to add the touchscreen vendor string to the evdev namespace. As root create new file named /lib/udev/hwdb.d/61-evdev-local.hwdb and insert the following:

evdev:name:eGalax Inc. USB TouchController Touchscreen*

After that the touchscreen should be recognized by evdev and could be calibrated. A found calibration should be stored in the file /etc/X11/xorg.conf.d/99-calibration.conf:

Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "eGalax Inc. USB TouchController Touchscreen"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option  "Calibration"   "52 3913 3948 223"
        Option  "SwapAxes"      "1"
        Option "EmulateThirdButton" "1"
        Option "EmulateThirdButtonTimeout" "750"
        Option "EmulateThirdButtonThreshold" "30"


After having a working but uncalibrated touchscreen via the xinput system, the calibration tool called xinput_calibrator must be installed before:

~# apt-get install xinput-calibrator

Now fine calibration is possible by

~# xinput_calibrator --output-type xorg.conf.d

Follow the guided session and replace calib values in /etc/X11/xorg.conf.d/99-calibration.conf with results.

Setting up a virtual keyboard

The keyboard is required to be permanently present on screen. In case of an accidentally close it should respawn. First install the virtual keyboard and the daemontools:

~# apt-get install xvkbd daemontools