[meta-freescale] Issue calibrating ft5x06_ts

Mathieu Tétreault mathieu.alexandre.tetreault at gmail.com
Mon Nov 23 07:21:58 PST 2015


Hi,

I'm trying to calibrate a ft5x06_ts touchscreen, but the application
fails to detect any input.
Using ts_test and ts_print I'm able to get touchscreen data.

Did any of you had any luck getting ts_calibrate with this driver?

I found some information on TI's website, but it didn't helped.
http://e2e.ti.com/support/arm/sitara_arm/f/791/p/160683/586856

I exported the following variables.

TSLIB_TSDEVICE=/dev/input/touchscreen0
TSLIB_FBDEVICE=/dev/fb0
TSLIB_PLUGINDIR=/usr/lib/ts
TSLIB_CONFFILE=/etc/ts.conf

QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0

~# cat /proc/bus/input/devices
I: Bus=0000 Vendor=0000 Product=0038 Version=0000
N: Name="ft5x06"
P: Phys=
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: PROP=0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=2610000 3

~#dmesg |grep ft
[    0.000000] Kernel command line: ft5x06_ts.screenres=600,800
ft5x06_ts.calibration=1,0,0,0,1,0,1 console=ttymxc1,115200
vmalloc=400M consoleblank=0 rootwait root=/dev/mmcblk2p2
wlcore.mac=00:19:B8:02:0e:31
[    0.817764] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti at linux.it>
[    1.626629] usbcore: registered new interface driver ftdi_sio
[    1.753076] ts_probe: ft5x06 touchscreen irq=314, gp=154
[    1.757302] input: ft5x06 as /devices/virtual/input/input0
[    1.761895] ft5x06: Sep 25 2015

Regards,

Mathieu


More information about the meta-freescale mailing list