From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965769AbdKQJLx (ORCPT ); Fri, 17 Nov 2017 04:11:53 -0500 Received: from mga07.intel.com ([134.134.136.100]:23404 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933916AbdKQJLj (ORCPT ); Fri, 17 Nov 2017 04:11:39 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,408,1505804400"; d="scan'208";a="2662959" Date: Fri, 17 Nov 2017 11:11:34 +0200 From: Mika Westerberg To: Chris Chiu Cc: Daniel Drake , heikki.krogerus@linux.intel.com, linux-gpio@vger.kernel.org, Linux Kernel , Endless Linux Upstreaming Team , Jarkko Nikula Subject: Re: intel-gpio interrupts stop firing with Focaltech I2C-HID touchpad Message-ID: <20171117091134.GB17200@lahna.fi.intel.com> References: <20171116115244.GQ17200@lahna.fi.intel.com> <20171116130743.GT17200@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 17, 2017 at 04:27:39PM +0800, Chris Chiu wrote: > On Thu, Nov 16, 2017 at 9:07 PM, Mika Westerberg > wrote: > > On Thu, Nov 16, 2017 at 12:01:24PM +0000, Daniel Drake wrote: > >> On Thu, Nov 16, 2017 at 11:52 AM, Mika Westerberg > >> wrote: > >> > Please first check the signal with some analyzator if it works as > >> > expected and let's then figure out what needs to be fixed and where ;-) > >> > >> It works fine under Windows, so I think it's already clear that there > >> is a Linux bug to be solved here. > > > > Can you remove all the "debugging" patches and hacks and then add > > "i2c_hid.debug=1" to the kernel command line. > > > > Then reproduce the issue and send me full dmesg and acpidump of the > > system. Thanks. > > Hi Mika, > Here's the dmesg log which stops at 214th seconds and no more > further output and archive of "acpidump -b" output files FYI. Thanks! The dmesg is not complete, I wonder if you can make the buffer a bit bigger by increasing CONFIG_LOG_BUF_SHIFT (or get it from /var/log/messages or so). I would like to see i2c-hid init and related messages. >>From the acpidump related to the i2c-hid device, the system provides custom I2C timings via FMCN ACPI method but it misses one value (sda_hold). Not sure if if has anything to do with the problem, though. Adding Jarkko in case he has any ideas. BTW, is this the same machine which has problems in S3 suspend/resume?