From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 78CDFE00B45; Tue, 24 Nov 2015 08:46:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [173.201.192.235 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 93 seconds by postgrey-1.32 at yocto-www; Tue, 24 Nov 2015 08:46:47 PST Received: from p3plsmtpa07-06.prod.phx3.secureserver.net (p3plsmtpa07-06.prod.phx3.secureserver.net [173.201.192.235]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 32A14E00B1C for ; Tue, 24 Nov 2015 08:46:47 -0800 (PST) Received: from dev1 ([96.245.38.221]) by p3plsmtpa07-06.prod.phx3.secureserver.net with id lUlC1r00D4mHPs001UlDGf; Tue, 24 Nov 2015 09:45:13 -0700 From: "Joe Deschamp" To: =?UTF-8?Q?'Mathieu_T=C3=A9treault'?= , "'Xizhou Wang'" References: In-Reply-To: Date: Tue, 24 Nov 2015 11:48:02 -0500 Organization: Tresent Technologies Message-ID: <01fd01d126d7$e2b93df0$a82bb9d0$@tresent.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQF/YZVzxQJ6UwSpO7VXs9VvIGPUDgFqy6aDAWfzlh6fOFZR8A== Cc: meta-freescale@yoctoproject.org Subject: Re: Issue calibrating ft5x06_ts X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: joe@tresent.com List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 16:46:50 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: en-us The following works for me: export TSLIB_FBDEVICE=3D/dev/fb0 export TSLIB_TSDEVICE=3D/dev/input/touchscreen0 export TSLIB_CALIBFILE=3D/etc/pointercal export TSLIB_CONFFILE=3D/etc/ts.conf export TSLIB_PLUGINDIR=3D/usr/lib/ts -----Original Message----- From: meta-freescale-bounces@yoctoproject.org = [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Mathieu = T=C3=A9treault Sent: Tuesday, November 24, 2015 11:01 AM To: Xizhou Wang 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 = wrote: > Try this in your case > > #export TSLIB_TSDEVICE=3D/dev/input/event0 > > Regards > > Xizhou > > > > ----------------------------- > [Insert your disclaimer here] > ----------------------------- > > -----Original Message----- > From: meta-freescale-bounces@yoctoproject.org=20 > [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Mathieu=20 > T=C3=A9treault > 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=3D/dev/input/touchscreen0 > TSLIB_FBDEVICE=3D/dev/fb0 > TSLIB_PLUGINDIR=3D/usr/lib/ts > TSLIB_CONFFILE=3D/etc/ts.conf > > QWS_MOUSE_PROTO=3DTslib:/dev/input/touchscreen0 > > ~# cat /proc/bus/input/devices > I: Bus=3D0000 Vendor=3D0000 Product=3D0038 Version=3D0000 > N: Name=3D"ft5x06" > P: Phys=3D > S: Sysfs=3D/devices/virtual/input/input0 > U: Uniq=3D > H: Handlers=3Dmouse0 event0 > B: PROP=3D0 > B: EV=3Db > B: KEY=3D400 0 0 0 0 0 0 0 0 0 0 > B: ABS=3D2610000 3 > > ~#dmesg |grep ft > [ 0.000000] Kernel command line: ft5x06_ts.screenres=3D600,800 > ft5x06_ts.calibration=3D1,0,0,0,1,0,1 console=3Dttymxc1,115200=20 > vmalloc=3D400M consoleblank=3D0 rootwait root=3D/dev/mmcblk2p2 > wlcore.mac=3D00:19:B8:02:0e:31 > [ 0.817764] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 > Rodolfo Giometti > [ 1.626629] usbcore: registered new interface driver ftdi_sio > [ 1.753076] ts_probe: ft5x06 touchscreen irq=3D314, gp=3D154 > [ 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