From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5524DE0144E for ; Wed, 28 Aug 2013 12:25:52 -0700 (PDT) Received: by mail-pb0-f49.google.com with SMTP id xb4so6658422pbc.36 for ; Wed, 28 Aug 2013 12:25:52 -0700 (PDT) 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=2XWs6/2J/SM6x1d+ETZtuRAC50QohaY0/vpm9zNyCcA=; b=m9LoUvb7isFkwSyLG3zbcifAnwXVGP+3mMbYCVcKdVyFen2U2+45ePdCmNuSV1q6/m 0WDIxfoyyaRKes05URV8IrgTk5fK9swCtfg4kwZpHYiK5HjgxCzhYMGtvR7OiW8t0DGj v+hzMNDtsiWM77ehNAUjfM9d6EXlIXee7ooAh4psCKJiyw5PSVeSt4fJ7aTIe+2HSYfr bexGicRFFsvlspeYaV3u7UTB1cu6FESb1ESVyYDnV1FleM6IwYTI1hcyAs0YMTxhAhd5 Ki+LkQ5wMXOPgMmsY3j1wlwgVkGRlukplcgPX849PX6t7WSetXscCw/VWA0QhEF1ugbF JYJw== X-Gm-Message-State: ALoCoQlQVCkoahVg+9lntGEkZukDJbOaV2cMla8Ze4pGw6l/o67p+6X125V0/xOZ5ZnL9QEwdtek X-Received: by 10.66.182.229 with SMTP id eh5mr110630pac.139.1377717952225; Wed, 28 Aug 2013 12:25:52 -0700 (PDT) Received: from [192.168.0.15] ([70.96.116.236]) by mx.google.com with ESMTPSA id wp8sm32928821pbc.26.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Aug 2013 12:25:51 -0700 (PDT) Message-ID: <521E4EBC.5070309@boundarydevices.com> Date: Wed, 28 Aug 2013 12:25:48 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Fabio Estevam References: <0A5C435BA5541A41BB01E9FDDC4A7A4203DA4AE7@039-SN2MPN1-022.039d.mgd.msft.net> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: Boundary Device's wvga parallel screen touch 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, 28 Aug 2013 19:25:53 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/28/2013 12:08 PM, Fabio Estevam wrote: > On Wed, Aug 28, 2013 at 4:03 PM, Sandoval Zazueta Francisco-B20593 > wrote: >> Hello! >> >> I found a thread looking around on touch screen working with community >> yocto: >> >> http://comments.gmane.org/gmane.linux.embedded.yocto.meta-freescale/62 >> >> I'm trying to get touch to work with the same display on master. Did you >> figure out the issue? I compiled the kernel with p1003 and irq_set_irq_type. >> It compiles but touch still doesn't work. >> I have no idea what a p1003 is. It's not used on our WVGA display. >> evtest gives the following output: >> >> root@imx6qsabreauto:~# evtest /dev/input/event0 >> Input driver version is 1.0.1 >> Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100 >> Input device name: "gpio-keys" > event0 is monitors 'gpio-keys', ot the touchscreen. gpio-keys isn't a touch-screen. It's a driver for a GPIO button board and delivers keys POWER/HOME/BACK/VOL+-. It's mostly useful for Android on small displays. http://boundarydevices.com/products/nit6x_android/ > > Have you tried other eventX? Do you see the touchscreen driver to > probe in dmesg? Our kernel configurations have included support for this touch screen (TSC2004) since "the beginning" of i.MX6 support: CONFIG_TOUCHSCREEN_TSC2004=y Can you double-check your kernel config? zcat /proc/config.gz | grep TSC2004 You can also check for connectivity to the I2C device under U-Boot: U-Boot > i2c dev 2 Setting bus to 2 U-Boot > i2c probe Valid chip addresses: 48 As shown, the TSC2004 is on I2C bus 2 (I2C3 for the hardware folks), and is at address 0x48. Regards, Eric