From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 88CD6E0043F for ; Wed, 5 Feb 2014 07:20:58 -0800 (PST) Received: by mail-pb0-f52.google.com with SMTP id jt11so499473pbb.11 for ; Wed, 05 Feb 2014 07:20:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=uSF3MtztkzBa9wtwkTY7rF7eZhnqn7B/b4DNepFO/1k=; b=W79nCU5CuX4GbAs0VI/d7dOxuIDa4hE+8tZJvNj6yV3m2iKN3z3LUS0r9RtU1Ecn0A HX6kb5P/gsXtfRYqCAPAv2iVvrqKYZB7H9XefjhzFADkUxov6MzByaf8mA7ikRrEtvrS 0yu8Vl07x+aVImkqAf7mNgi1VfNJpTX304NLFNU3Kyt1N39Kl8kxvrsKQj2vU5D0XeDM HcOzIhb5hfGgDuK21hmqVTVd574WTN61HQnpyUQGf2iW/c4DdkW6WNjU4LXxdtZOTNDZ VJpeJVWh8i289rtI4FLVCuDOuHF3dw5kBNbbX1a+rie8Ak8BHAL97EaPFzgakiEjoRnD Wtug== X-Gm-Message-State: ALoCoQmCFIUnUO055J6fwcpSbBv+AV5x37IRLI25s3qE3KqXEGgIVdh9Fi0bZHTuiRog09ajCQKp X-Received: by 10.68.203.135 with SMTP id kq7mr2389615pbc.85.1391613657119; Wed, 05 Feb 2014 07:20:57 -0800 (PST) Received: from [192.168.1.8] (ip98-167-230-131.ph.ph.cox.net. [98.167.230.131]) by mx.google.com with ESMTPSA id y7sm45137755pbb.8.2014.02.05.07.20.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Feb 2014 07:20:55 -0800 (PST) Message-ID: <52F256D2.5050802@boundarydevices.com> Date: Wed, 05 Feb 2014 08:20:50 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: =?UTF-8?B?RXJpYyBCw6luYXJk?= References: <1389967366-2718-1-git-send-email-mario@ossystems.com.br> <52E6FCC1.3030009@boundarydevices.com> <87y51wxoy8.fsf@parenteses.org> <52EFD1FF.7080800@boundarydevices.com> <52EFDBE1.1040709@boundarydevices.com> <20140205093145.1ba8dab4@e6520eb> In-Reply-To: <20140205093145.1ba8dab4@e6520eb> Cc: "meta-freescale@yoctoproject.org" , Otavio Salvador Subject: Re: [meta-fsl-demos][PATCH 1/2] qt-in-industrial-embedded-common: add init script for the smarthome demo X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list 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: Wed, 05 Feb 2014 15:20:58 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Eric, On 02/05/2014 01:31 AM, Eric Bénard wrote: > Hi Eric, > > Le Mon, 03 Feb 2014 11:11:45 -0700, > Eric Nelson a écrit : >> It seems that at a minimum, there should be a way to disable >> the automatic ts_calibrate in X startup. >> > as you detect the display in u-boot, you can use the command line > to pass a parameter that you can parse in the script which launch > ts_calibrate to enable/disable calibration based on a white list of > display. > :) Sometimes we can have too many tools! In the case of the Nitrogen6_Lite, the auto-detection of displays doesn't quite work, since a touch controller is soldered onto the board. Also, the ts_calibrate decision might depend on whether the image uses X or Qt-Embedded. That said, we could (and have) done table-lookups based on screen resolution and connection type (parallel, LVDS, HDMI) to determine which touch screen goes with which display for multi-display setups like this: http://boundarydevices.com/timesys-2013-03-release/ All of this is relatively straightforward when working for a specific target. It only gets difficult when trying to balance the needs of multiple boards, displays from multiple vendors, etc. Regards, Eric