All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue calibrating ft5x06_ts
@ 2015-11-23 15:21 Mathieu Tétreault
  2015-11-24 15:27 ` Xizhou Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Tétreault @ 2015-11-23 15:21 UTC (permalink / raw)
  To: meta-freescale

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@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issue calibrating ft5x06_ts
  2015-11-23 15:21 Issue calibrating ft5x06_ts Mathieu Tétreault
@ 2015-11-24 15:27 ` Xizhou Wang
  2015-11-24 16:00   ` Mathieu Tétreault
  0 siblings, 1 reply; 4+ messages in thread
From: Xizhou Wang @ 2015-11-24 15:27 UTC (permalink / raw)
  To: Mathieu Tétreault, meta-freescale@yoctoproject.org

Try this in your case

#export TSLIB_TSDEVICE=/dev/input/event0

Regards

Xizhou



-----------------------------
[Insert your disclaimer here]
-----------------------------

-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Mathieu Tétreault
Sent: 23 November 2015 15:22
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] Issue calibrating ft5x06_ts

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@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
--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issue calibrating ft5x06_ts
  2015-11-24 15:27 ` Xizhou Wang
@ 2015-11-24 16:00   ` Mathieu Tétreault
  2015-11-24 16:48     ` Joe Deschamp
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Tétreault @ 2015-11-24 16:00 UTC (permalink / raw)
  To: Xizhou Wang; +Cc: meta-freescale@yoctoproject.org

That doesn't work, I have the same behavior as when using
/dev/input/touchscreen0.

Regards

On Tue, Nov 24, 2015 at 10:27 AM, Xizhou Wang
<xizhou.wang@de-soutter.com> wrote:
> Try this in your case
>
> #export TSLIB_TSDEVICE=/dev/input/event0
>
> Regards
>
> Xizhou
>
>
>
> -----------------------------
> [Insert your disclaimer here]
> -----------------------------
>
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Mathieu Tétreault
> Sent: 23 November 2015 15:22
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] Issue calibrating ft5x06_ts
>
> 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@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
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issue calibrating ft5x06_ts
  2015-11-24 16:00   ` Mathieu Tétreault
@ 2015-11-24 16:48     ` Joe Deschamp
  0 siblings, 0 replies; 4+ messages in thread
From: Joe Deschamp @ 2015-11-24 16:48 UTC (permalink / raw)
  To: 'Mathieu Tétreault', 'Xizhou Wang'; +Cc: meta-freescale

The following works for me:

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



-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Mathieu Tétreault
Sent: Tuesday, November 24, 2015 11:01 AM
To: Xizhou Wang <xizhou.wang@de-soutter.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] Issue calibrating ft5x06_ts

That doesn't work, I have the same behavior as when using /dev/input/touchscreen0.

Regards

On Tue, Nov 24, 2015 at 10:27 AM, Xizhou Wang <xizhou.wang@de-soutter.com> wrote:
> Try this in your case
>
> #export TSLIB_TSDEVICE=/dev/input/event0
>
> Regards
>
> Xizhou
>
>
>
> -----------------------------
> [Insert your disclaimer here]
> -----------------------------
>
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org 
> [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Mathieu 
> Tétreault
> Sent: 23 November 2015 15:22
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] Issue calibrating ft5x06_ts
>
> 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@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
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-24 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 15:21 Issue calibrating ft5x06_ts Mathieu Tétreault
2015-11-24 15:27 ` Xizhou Wang
2015-11-24 16:00   ` Mathieu Tétreault
2015-11-24 16:48     ` Joe Deschamp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.