From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932124AbaGVUe7 (ORCPT ); Tue, 22 Jul 2014 16:34:59 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:33137 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932068AbaGVUe5 (ORCPT ); Tue, 22 Jul 2014 16:34:57 -0400 Message-ID: <53CECAEC.8080905@wwwdotorg.org> Date: Tue, 22 Jul 2014 14:34:52 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: nick.dyer@itdev.co.uk CC: Dmitry Torokhov , Yufeng Shen , Daniel Kurtz , Henrik Rydberg , Joonyoung Shim , Alan Bowens , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Meerwald , Benson Leung , Olof Johansson , Sekhar Nori Subject: Re: [PATCH 00/15] atmel_mxt_ts - device tree, bootloader, etc References: <1404399697-26484-1-git-send-email-nick.dyer@itdev.co.uk> In-Reply-To: <1404399697-26484-1-git-send-email-nick.dyer@itdev.co.uk> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/2014 09:01 AM, nick.dyer@itdev.co.uk wrote: > Hi Dimitry- > > Here is another set of atmel_mxt_ts patches for upstream. There are some > really useful new features, but I hope nothing too controversial. Unfortunately, I still can't get these to work on my system. Per your "Re: atmel_mxt_ts: defaulting irqflags to IRQF_TRIGGER_FALLING", I set up the IRQ type in the Tegra DT file, and then applied this series on top of next-20140721. The driver appears to initialize OK, but neither X nor evtest see any events from the device. The IRQ count in /proc/interrupts doesn't increase when I touch the touchpad, but does when I press it hard enough to trigger the physical button. A boot log with debug enabled follows. No additional kernel log messages are generated by touches or clicks. Do you have any idea what I should try? > [ 1.634289] atmel_mxt_ts 1-004b: T37 Start:142 Size:130 Instances:1 Report IDs:0-0 > [ 1.641889] atmel_mxt_ts 1-004b: T44 Start:272 Size:1 Instances:1 Report IDs:0-0 > [ 1.649316] atmel_mxt_ts 1-004b: T5 Start:273 Size:9 Instances:1 Report IDs:0-0 > [ 1.656631] atmel_mxt_ts 1-004b: T6 Start:282 Size:6 Instances:1 Report IDs:1-1 > [ 1.663960] atmel_mxt_ts 1-004b: T38 Start:288 Size:8 Instances:1 Report IDs:0-0 > [ 1.671376] atmel_mxt_ts 1-004b: T7 Start:296 Size:4 Instances:1 Report IDs:0-0 > [ 1.678703] atmel_mxt_ts 1-004b: T8 Start:300 Size:10 Instances:1 Report IDs:0-0 > [ 1.686104] atmel_mxt_ts 1-004b: T9 Start:310 Size:36 Instances:1 Report IDs:2-11 > [ 1.693605] atmel_mxt_ts 1-004b: T15 Start:346 Size:11 Instances:1 Report IDs:12-12 > [ 1.701286] atmel_mxt_ts 1-004b: T18 Start:357 Size:2 Instances:1 Report IDs:0-0 > [ 1.708701] atmel_mxt_ts 1-004b: T19 Start:359 Size:6 Instances:1 Report IDs:13-13 > [ 1.716276] atmel_mxt_ts 1-004b: T23 Start:365 Size:15 Instances:1 Report IDs:14-14 > [ 1.723950] atmel_mxt_ts 1-004b: T25 Start:380 Size:15 Instances:1 Report IDs:15-15 > [ 1.731622] atmel_mxt_ts 1-004b: T40 Start:395 Size:5 Instances:1 Report IDs:0-0 > [ 1.739037] atmel_mxt_ts 1-004b: T42 Start:400 Size:10 Instances:1 Report IDs:16-16 > [ 1.746697] atmel_mxt_ts 1-004b: T46 Start:410 Size:9 Instances:1 Report IDs:17-17 > [ 1.754282] atmel_mxt_ts 1-004b: T47 Start:419 Size:13 Instances:1 Report IDs:0-0 > [ 1.761783] atmel_mxt_ts 1-004b: T55 Start:432 Size:6 Instances:1 Report IDs:0-0 > [ 1.769195] atmel_mxt_ts 1-004b: T56 Start:438 Size:40 Instances:1 Report IDs:18-18 > [ 1.776855] atmel_mxt_ts 1-004b: T57 Start:478 Size:3 Instances:1 Report IDs:19-19 > [ 1.784441] atmel_mxt_ts 1-004b: T61 Start:481 Size:5 Instances:2 Report IDs:20-21 > [ 1.792028] atmel_mxt_ts 1-004b: T62 Start:491 Size:54 Instances:1 Report IDs:22-22 > [ 1.821133] atmel_mxt_ts 1-004b: T6 Config Checksum: 0xC4CC1B > [ 1.826899] atmel_mxt_ts 1-004b: T6 Status 0x80 RESET > [ 1.831983] atmel_mxt_ts 1-004b: message: 00 20 00 00 00 00 00 00 > [ 1.831998] atmel_mxt_ts 1-004b: Interrupt triggered but zero messages > [ 1.844743] atmel_mxt_ts 1-004b: Direct firmware load for maxtouch.cfg failed with error -2 > [ 1.854145] atmel_mxt_ts 1-004b: Initialized power cfg: ACTV 16, IDLE 32 > [ 1.862567] atmel_mxt_ts 1-004b: Touchscreen size X2040Y1360 > [ 1.863232] input: Atmel maXTouch Touchpad as /devices/soc0/7000c400.i2c/i2c-1/1-004b/input/input1 > [ 1.888976] atmel_mxt_ts 1-004b: Family: 130 Variant: 1 Firmware V1.0.AA Objects: 22 ... > [ 8.591036] atmel_mxt_ts 1-004b: Set T7 ACTV:16 IDLE:32 > [ 8.629419] atmel_mxt_ts 1-004b: Set T7 ACTV:0 IDLE:0 > [ 8.669210] atmel_mxt_ts 1-004b: Set T7 ACTV:16 IDLE:32