All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joe Deschamp" <joe@tresent.com>
To: "'Mathieu Tétreault'" <mathieu.alexandre.tetreault@gmail.com>,
	"'Xizhou Wang'" <xizhou.wang@de-soutter.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: Issue calibrating ft5x06_ts
Date: Tue, 24 Nov 2015 11:48:02 -0500	[thread overview]
Message-ID: <01fd01d126d7$e2b93df0$a82bb9d0$@tresent.com> (raw)
In-Reply-To: <CAO+PXKOa7M8XHzfCrTt3zthxDJ7RTxNOPNJKXBZy9j7+8hE5aQ@mail.gmail.com>

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



      reply	other threads:[~2015-11-24 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01fd01d126d7$e2b93df0$a82bb9d0$@tresent.com' \
    --to=joe@tresent.com \
    --cc=mathieu.alexandre.tetreault@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=xizhou.wang@de-soutter.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.