Problems calibrating capacitive touchscreen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems calibrating capacitive touchscreen

4,556 Views
renatochinelatt
Contributor II

Hi,

I'm working with a Focaltech capacitive touchscreen and in X11 it´s works, but it´s not properly calibrated.

I installed xinput_calibrator, but when I run it I receive the message:

 

Error: No calibratable devices found.

In /var/log/Xorg.0.log I have:

[ 15.506] (**) EP0790M09: Applying InputClass "evdev touchscreen catchall"
[ 15.506] (II) Using input driver 'evdev' for 'EP0790M09'
[ 15.507] (**) EP0790M09: always reports core events
[ 15.507] (**) evdev: EP0790M09: Device: "/dev/input/event0"
[ 15.507] (--) evdev: EP0790M09: Vendor 0 Product 0
[ 15.507] (--) evdev: EP0790M09: Found absolute axes
[ 15.507] (--) evdev: EP0790M09: Found absolute multitouch axes
[ 15.507] (II) evdev: EP0790M09: No buttons found, faking one.
[ 15.507] (--) evdev: EP0790M09: Found x and y absolute axes
[ 15.507] (--) evdev: EP0790M09: Found absolute touchscreen
[ 15.507] (II) evdev: EP0790M09: Configuring as touchscreen
[ 15.507] (**) evdev: EP0790M09: YAxisMapping: buttons 4 and 5
[ 15.508] (**) evdev: EP0790M09: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 15.508] (**) Option "config_info" "udev:/sys/devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-0038/input/input0/event0"
[ 15.508] (II) XINPUT: Adding extended input device "EP0790M09" (type: TOUCHSCREEN, id 10)
[ 15.508] (II) evdev: EP0790M09: initialized for absolute axes.
[ 15.509] (**) EP0790M09: (accel) keeping acceleration scheme 1
[ 15.509] (**) EP0790M09: (accel) acceleration profile 0
[ 15.509] (**) EP0790M09: (accel) acceleration factor: 2.000
[ 15.509] (**) EP0790M09: (accel) acceleration threshold: 4
[ 15.511] (II) config/udev: Adding input device EP0790M09 (/dev/input/mouse0)
[ 15.511] (II) No input driver specified, ignoring this device.
[ 15.511] (II) This device may have been added with another device file.

I tried manually configure the file /usr/share/X11/xorg.conf.d/10-evdev.conf:

Section "InputClass"
   Identifier "calibration"
   MatchProduct "EP0790M09"
   Option "Calibration" "7 100 16 580"
   Option "SwapAxes" "0"
EndSection

After reboot, when I touch in the screen, the pointer goes on the top left and does not work anymore.

Looking at var/log/Xorg.0.log:

[ 16.186] (II) config/udev: Adding input device EP0790M09 (/dev/input/event0)
[ 16.186] (**) EP0790M09: Applying InputClass "evdev touchscreen catchall"
[ 16.186] (II) Using input driver 'evdev' for 'EP0790M09'
[ 16.187] (**) EP0790M09: always reports core events
[ 16.187] (**) evdev: EP0790M09: Device: "/dev/input/event0"
[ 16.187] (--) evdev: EP0790M09: Vendor 0 Product 0
[ 16.187] (--) evdev: EP0790M09: Found absolute axes
[ 16.187] (--) evdev: EP0790M09: Found absolute multitouch axes
[ 16.187] (II) evdev: EP0790M09: No buttons found, faking one.
[ 16.187] (--) evdev: EP0790M09: Found x and y absolute axes
[ 16.187] (--) evdev: EP0790M09: Found absolute touchscreen
[ 16.187] (II) evdev: EP0790M09: Configuring as touchscreen
[ 16.188] (**) evdev: EP0790M09: YAxisMapping: buttons 4 and 5
[ 16.188] (**) evdev: EP0790M09: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 16.188] (**) Option "config_info" "udev:/sys/devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-0038/input/input0/event0"
[ 16.188] (II) XINPUT: Adding extended input device "EP0790M09" (type: TOUCHSCREEN, id 10)
[ 16.188] (EE) BUG: triggered 'if (minval > maxval && mode == 1)'
[ 16.188] (EE) BUG: ../../Xi/exevents.c:2087 in InitValuatorAxisStruct()
[ 16.189] (EE)
[ 16.189] (EE) Backtrace:
[ 16.189] (EE)
[ 16.189] (EE) BUG: triggered 'if (minval > maxval && mode == 1)'
[ 16.189] (EE) BUG: ../../Xi/exevents.c:2087 in InitValuatorAxisStruct()
[ 16.189] (EE)
[ 16.189] (EE) Backtrace:
[ 16.189] (EE)
[ 16.190] (II) evdev: EP0790M09: initialized for absolute axes.
[ 16.190] (**) EP0790M09: (accel) keeping acceleration scheme 1
[ 16.191] (**) EP0790M09: (accel) acceleration profile 0
[ 16.191] (**) EP0790M09: (accel) acceleration factor: 2.000
[ 16.191] (**) EP0790M09: (accel) acceleration threshold: 4
[ 16.192] (II) config/udev: Adding input device EP0790M09 (/dev/input/mouse0)
[ 16.193] (II) No input driver specified, ignoring this device.
[ 16.193] (II) This device may have been added with another device file.

Why it say "No input driver specified"?

Is there any way to configure it?

Any idea?

Thanks.

Labels (4)
0 Kudos
2 Replies

2,123 Views
igorpadykov
NXP Employee
NXP Employee

Hi Renato

this touch device is used on BD software releases and one can look at its description :

1280x800 displays - Boundary Devices 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,123 Views
renatochinelatt
Contributor II

Hi igorpadykov,

Although it is not the same driver I use (edt-ft5x06.c), it helped me to solved it.

I just added:

x=x*1024/1800;
y=y*600/1024;

before of the code:

input_report_abs(tsdata->input, ABS_MT_POSITION_X, x);
input_report_abs(tsdata->input, ABS_MT_POSITION_Y, y);

Thanks!

0 Kudos