Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp844048imj; Fri, 15 Feb 2019 07:44:16 -0800 (PST) X-Google-Smtp-Source: AHgI3IabnyLeRtEXPfXmFPoFCTka1+RdB/rWSfsD8pCypwjP7ZBNlsFlzspBpPvKZB98kJfMgyuw X-Received: by 2002:a62:9305:: with SMTP id b5mr10298561pfe.10.1550245456097; Fri, 15 Feb 2019 07:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550245456; cv=none; d=google.com; s=arc-20160816; b=xMJOACcAZnN6yv7UPQTHQTrzfkUAu9lBzw0QeJDvXS9HqJqjjpBXSGRHiaThwNCM8L ZrqhXpXZCj8RekPhzRDl5VSwutqPrIq289OZf0TNNdupeHUHkOJN7klM3XBjMaanb4GV VziYWftm9h89SqjopzgB92VZe8iS3z22NQPCUWjabBQ2zOFMNqUqXWpbF1GilasTpZLE MawaojcKck/DBA9JNR9y3p6UaYVfSfEY/G4Le+aZpZ67jazNf0kVnDcYRpPcqZNbUmhz 1i6Urm09SCFTsjHkw1mL8N7pen4apAG9sE4hbJgDy+sex0qDn8/hwkuAAbj/4NTmnrFD Qpsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=VK+KmpJePoDeUx/X1LUaDuHyL2mHrhkeFMOeISyEFaE=; b=QD7QyS3hr1sEqyj3kZArz2MXyxaRSJ86BfgrBg2feO4tZ5abY1gccQK4PidKiXzNme DzwTAVb7VBJAuzvPm+PW2syCXQmLekGq8scHXsOWCdtT/RIoQtVR47DGqrx+XRmiwezm +mFmi5ACTJF+rJj1W6RqPJ58c8BIgWJc5LCKWXc4MX4GP2jI/pJFEMEcHs1G3bAvk2Bu 8UtNlfZYGaB+eKQJ3M/Ja2gNW21Y1BEwC/HZiMHt6fd/LL0ZJR/+O5EakZlxffJ4xaRi VNfIyyEz6GU6ewPSQpQomEUUBG48C0b6Dv1bpBs4z5YJ2RdRlpOP1rSY73Xn4MGqgmO9 pD0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8si2862080plo.203.2019.02.15.07.43.53; Fri, 15 Feb 2019 07:44:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392593AbfBOJZH convert rfc822-to-8bit (ORCPT + 99 others); Fri, 15 Feb 2019 04:25:07 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:59000 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387827AbfBOJZF (ORCPT ); Fri, 15 Feb 2019 04:25:05 -0500 Received: from mail-pg1-f197.google.com ([209.85.215.197]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1guZjy-0007ma-Fi for linux-kernel@vger.kernel.org; Fri, 15 Feb 2019 09:25:02 +0000 Received: by mail-pg1-f197.google.com with SMTP id t26so6387893pgu.18 for ; Fri, 15 Feb 2019 01:25:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BJoGR3Jqu9tA0XPgH2mLolLr0PGFn7j/pRWqd1Fbzbk=; b=mi7IiMSECh7WJiGPTjXniI5y+qKO0tms1WwCQMPF8w4pyMWm9kxQR47JECqGpDJv3w hOUmgaMHr+pKCMlsZ3pm91SvNyLF0QwR23naX+DK8m9EczIQwBeDDplmatuO0IuCs2+p G7KILkDlQqUAXA445hfLADRbEgFpkz7Z0fO05YUyirdBhdHnZxohb6DDeRomh+wqU6ds tUYfoTTQyKOIVdEHJSCE+WXp9DQC4q2ZPfc7aPwLtUQolZYRgAfjg4Z97B2CEwUCF3vf G7EEBzrHnPe2mLZoBHHEaJzGfVJkN52ucRhxyIIxA1AqBregih4BWSBPhEgqvv8HcF/y lqxQ== X-Gm-Message-State: AHQUAuYEn2RY2jc5Nuq7q+4GHQAGitgecyo9VqD4WjSct6JbIf7OUjg+ oyiGRmjCd5LbSR5Ib8G114FzO6ixa4UgBdlC+MlBWKq0rwqjCh2C871FHeFnTDSuA9LVssqMIWH T2fYMR5gbzMmufKyCAy6t+iesGQ+XDzhYf1XtdmZqPg== X-Received: by 2002:a17:902:a50a:: with SMTP id s10mr8794989plq.278.1550222701200; Fri, 15 Feb 2019 01:25:01 -0800 (PST) X-Received: by 2002:a17:902:a50a:: with SMTP id s10mr8794967plq.278.1550222700789; Fri, 15 Feb 2019 01:25:00 -0800 (PST) Received: from 2001-b011-380f-39c7-759a-ff6b-a5f3-69c6.dynamic-ip6.hinet.net (2001-b011-380f-39c7-759a-ff6b-a5f3-69c6.dynamic-ip6.hinet.net. [2001:b011:380f:39c7:759a:ff6b:a5f3:69c6]) by smtp.gmail.com with ESMTPSA id 125sm6067365pfg.39.2019.02.15.01.24.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Feb 2019 01:24:59 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH] Fix resume for ELAN2097 touchscreen. From: Kai-Heng Feng In-Reply-To: Date: Fri, 15 Feb 2019 17:24:57 +0800 Cc: Benjamin Tissoires , Linux Kernel Content-Transfer-Encoding: 8BIT Message-Id: <6280CE2E-0820-48DA-ABA1-621D107511CF@canonical.com> References: <20190211070040.4569-1-jbroadus@gmail.com> To: Jiri Kosina , james broadus X-Mailer: Apple Mail (2.3445.102.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jiri and James, > On Feb 15, 2019, at 15:35, Jiri Kosina wrote: > > On Thu, 14 Feb 2019, james broadus wrote: > >>> This should be fixed in hid.git#for-5.1/i2c-hid already by commit >>> 1475af255e18f. Could you please confirm that? >>> >> >> Hi Jiri. That change mutes the log messages, but I'm still counting >> around 35000 interrupts per second after resume and touch does not work. >> With the reset, the device works properly. > > Ah, I see. Should your patch then actually replace 1475af255e18f? Sorry for the late reply, was off because of Lunar new year. Commit 1475af255e18f is to silence the message when using the touchpad, so it’s different to this patch. I’ve seen similar bugs happens on new platforms that defaults S2Idle (Modern Standby), but user uses S3 instead. On those systems, S3 was never tested, so the BIOS doesn’t cut the touchpad’s power off during S3, and the IRQ line wasn’t getting properly reset. So if the platform defaults to S2Idle but user wants to use S3, this issue happens. If that’s the case, maybe it’s better to report to the platform vendor. Kai-Heng > > Thanks, > > -- > Jiri Kosina > SUSE Labs >