Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp376763imj; Sat, 16 Feb 2019 02:20:26 -0800 (PST) X-Google-Smtp-Source: AHgI3IZak3A7nm4SsYsDYsELjhF9cfXqSQBKQE+dEL8GvyoyL0NeeUPkCap7ck9Ibp7mtiBXcqZN X-Received: by 2002:a17:902:e01:: with SMTP id 1mr14515332plw.251.1550312426221; Sat, 16 Feb 2019 02:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550312426; cv=none; d=google.com; s=arc-20160816; b=e2sxZp0k9VFxQdqXaUjvhyuilMvW989J2NIvhzgtdsLPssVYhZ/aU7jnhKbRMnkEsd KNKIczNQIp1onlhZp4H+doRn3rf94km0/ocHJBQIsLJ3SKZooGj0IE9XjVSpwA0QyvtE qKD64NP2jfXsHWW2goEH47i/aC+y6JMa4Fa1b1YMetGYLMoejgAD+nrumNpSOyKhzyWS HXxKgZaH5t9/b7wSwvMP0w2sJgH8rAcaqAMYKVqLprOBrILPEIwtMBJrOF9FgkiMyCSV 47lNQIswNKV+j15CuPWaZlCfn+n5Ow0Ce67nNmgW3aNc2M+/8bjn3g4FKLIwLmfTAvTw O0aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/TYbp6WTFquopYV48HIsUS8kivveVqNwysscHdcJ7ow=; b=GjP0ik4AyIW4w7W2IhVNUw0rJWL8TX6soW6F0UU5k+MDu4fZp3FySPmWLyC9eYIlG9 72+zKDqrAWVuqjX64JwguxfBwYWrztLTZNGcH0cObMg2Qbs+cyFNK0di6JiEVXl5eugt rKy73M00JZN/fN0hl+ZyJhLZDuTXzGblSSm2oLdJBtNm7VAbE8t4COJMl/sH9uuexwF0 8qvQWbQXCH2DhKGFRU4zwhE9fJ1v0AQ7ASguyIbaMUpf4l80ZcJajABEDbIQSxh0wD/T puJ4WScjYgtzgIjo2cneQbfWp4wm5plq24TBoKVadeZnCYqWmWxcaQKdm8gkJddPZr6I nbOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XuLxCXe3; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2si7854129pfc.287.2019.02.16.02.20.08; Sat, 16 Feb 2019 02:20:26 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XuLxCXe3; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732184AbfBPBm1 (ORCPT + 99 others); Fri, 15 Feb 2019 20:42:27 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45121 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727144AbfBPBm1 (ORCPT ); Fri, 15 Feb 2019 20:42:27 -0500 Received: by mail-qk1-f194.google.com with SMTP id y195so6881751qka.12 for ; Fri, 15 Feb 2019 17:42:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=/TYbp6WTFquopYV48HIsUS8kivveVqNwysscHdcJ7ow=; b=XuLxCXe3PP7ofUqlKs7c4KiG4GTLtai2zMf/TipAAflWEkZT+VHfqaoEsGdSEkyr3d 60f3RO4MO69b9CNzN7Z+T0wCpRrvMxeAG8f7/SSd2rGLGq3flVdMFmMAtxnkP+2ToxaX FMi0Osshhen71jUimqeuNtVHBo1qFXnGNmqzem5Q/PPOg/8JKRh4ipENoTw9z7mfoAIN 17bs5IcZo2p7yggaHH/syR3ruv8iDqek26XUE5Uu2hMc1dPmS7zCTNtDJjc4rzFmDqv1 2p0+DzPIFh8mRkTlYutOcrYSVIJM7ecVi7ZjeUtYL69Ns+/szQdorXt36RUrd4Q5SVyF +Q4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=/TYbp6WTFquopYV48HIsUS8kivveVqNwysscHdcJ7ow=; b=KzzLZhSxS1N6qOsNABKJ4H9L15lz3XZnY/uxHLoXRk8E+6QavnFqo6RxQr90pUdjn0 iR2dwDTDxm07jgLEJX6I7puYhAE1O3j+jfMcQFq9131i3NRZ5pQRp652qLX0roVSW/Yr protnyZCPnZju54XVKv0cmSZXTLpCkhFD7T9K+MXo5NhOlokLTWmWoqQgN1+su0jJ/U6 xehJd6GXhC27AIP4B9UJLl5esGtBg5hKwUj1Y9+PyX/p7zMiy2Hzn97mC97MEns7X8cj oueQgxhtkx+cja4VkwQbF/b8m9IJgFXakRfo+hwy2Ckym+kDTsrWomL8eV6pXzz78Otl o+sA== X-Gm-Message-State: AHQUAuYOx+/PLU0wzsLw/q0WvYY6bpUfMZQEJxPWASpIov0X7mb+So90 UDIitYnl5D2gA17kQl/zrCzkxoRB3waDkS+hOZI= X-Received: by 2002:a37:4751:: with SMTP id u78mr9000418qka.280.1550281346032; Fri, 15 Feb 2019 17:42:26 -0800 (PST) MIME-Version: 1.0 References: <20190211070040.4569-1-jbroadus@gmail.com> <6280CE2E-0820-48DA-ABA1-621D107511CF@canonical.com> In-Reply-To: <6280CE2E-0820-48DA-ABA1-621D107511CF@canonical.com> From: Jim Broadus Date: Fri, 15 Feb 2019 17:42:14 -0800 Message-ID: Subject: Re: [PATCH] Fix resume for ELAN2097 touchscreen. To: Kai-Heng Feng Cc: Jiri Kosina , Benjamin Tissoires , Linux Kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Happy new year. I think you might be right. I found some discussions about Dell disabling S3 support in a recent bios due to a C-state bug. I'll try to investigate a bit more this weekend. Jim On Fri, Feb 15, 2019 at 1:25 AM Kai-Heng Feng wrote: > > 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 wor= k. > >> 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, s= o it=E2=80=99s different to this patch. > > I=E2=80=99ve seen similar bugs happens on new platforms that defaults S2I= dle (Modern Standby), but user uses S3 instead. > On those systems, S3 was never tested, so the BIOS doesn=E2=80=99t cut th= e touchpad=E2=80=99s power off during S3, and the IRQ line wasn=E2=80=99t g= etting properly reset. > > So if the platform defaults to S2Idle but user wants to use S3, this issu= e happens. > If that=E2=80=99s the case, maybe it=E2=80=99s better to report to the pl= atform vendor. > > Kai-Heng > > > > > Thanks, > > > > -- > > Jiri Kosina > > SUSE Labs > > >