merge/xf86-input-tslib

Using a variance filter on a single touchscreen will not touch.(tsc2007)

KwonTae-young opened this issue · 1 comments

Hi. all

I am using tsc2007 as a touch controller.
Below are my settings.

root@test:~# cat /etc/ts.conf
module_raw input
module variance delta=30
module linear
root@test:~#

Touch works well with ts_test.
However, when I use xf86-input-tslib on X and touch it, the following warning message is displayed.

	tslib: WARNING: no multitouch using VARIANCE filter

And it does not touch on X11.
Below is /var/log/Xorg.0.log.

[  4635.442] (II) LoadModule: "tslib"
[  4635.442] (II) Loading /usr/lib/xorg/modules/input/tslib_drv.so
[  4635.443] (II) Module tslib: vendor="X.Org Foundation"
[  4635.443]    compiled for 1.19.3, module version = 1.2.0
[  4635.443]    Module class: X.Org XInput Driver
[  4635.443]    ABI class: X.Org XInput driver, version 24.1
[  4635.443] (II) Using input driver 'tslib' for 'TSC2007 Touchscreen'
[  4635.443] (**) TSC2007 Touchscreen: always reports core events
[  4635.443] (**) Option "path" "/dev/input/event0"
[  4635.445] (II) tslib: TSC2007 Touchscreen: using libts ABI version 0 (000900)
[  4635.445] (**) TSC2007 Touchscreen: always reports core events
[  4635.490] (**) Option "config_info" "udev:/sys/devices/virtual/input/input0/event0"
[  4635.490] (II) XINPUT: Adding extended input device "TSC2007 Touchscreen" (type: TOUCHSCREEN, id 6)
[  4635.492] (II) config/udev: Adding input device TSC2007 Touchscreen (/dev/input/mouse0)
[  4635.492] (II) No input driver specified, ignoring this device.
[  4635.492] (II) This device may have been added with another device file.

A warning message is displayed even though it is not multi-touch at present, and X11's touch does not work. Something is strange.

tslib : 1.5
xf86-input-tslib : 1.2.0-rc1
yocto : rocko

I'm sorry I do not have enough English.

I have done some tests.

I do not know the exact cause, but I modified the source as shown below.
KwonTae-young@0a0fb9b

Then, using the variance filter, the touch will work on X11.