Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7047745imm; Tue, 28 Aug 2018 05:40:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYh9Skk5gqmeZbpklzKEA/hGMIRtYYSr/+Yjj610SN5+96kHawe0YH8cY6JEPWpIsOLD4ax X-Received: by 2002:a62:760a:: with SMTP id r10-v6mr1423354pfc.207.1535460053911; Tue, 28 Aug 2018 05:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535460053; cv=none; d=google.com; s=arc-20160816; b=jn2GtUUT4QYPLn+K3fU+JIPtQ249FyjD+iUMVjxGTWVFuvy/LmToShlZilJ7KEDNEW iRtFgJO0/4eTamVPV0MqOIW2pP/FKdaTbyH9CUewcb6dOgTaKlAMo0wx1Uu4gkpIWxiB WUaExQqC4VB70dkYg1SPLxvCjZhfaZu2l9Tegayl7rp7aAs/4aRQXVDaKv1mkHZoNY2C 37VcnuuK8crynDq6SvfODoMkm1azbbo/vyMpjO7JCKBb9SvPqhD5l3vwcd6kBykwyxXg QS4lY3xuuyoYfNLlFjExftveuT3eP3ON+2MD1hbdZKdEnVGexG2NJBt0Sw5noeCFjOGs uZLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=zCqjS7Z13C+VdmB7nErIoWjLyg5hCdYBA5g2QlPvym8=; b=Bh/zbMnpfYWqOGlcuf0s4J/OzjZGVX5G3SMIxgF5qDRon2awynnF9UQFvSXUa/PmX3 2lFM1exjXUrx8764azCqtkZ8ENGMfOYLkkpkmsYEs+cP0nokO5/HTx3KHNapFjhZv9HW gY4MDgI2EmeV9Jg3nsleX81qSSMoIBW9Zb3MxeHFef5fEPba3Z5k4bWjmqHb/o10Asb+ ORg6U6khFjOYiHm8zXc4fgM+GP0tYgopOgvkquw8erVc4mTJaWtq3qKqjxuMPcd38Q9d x3il51vc/Bsdfjtmx3uxiS9odtz4LGX/s2yFrrR7yxsdCt9IQE8W9XooJu6Dlk3Alp9t Hhdg== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10-v6si1058267pln.161.2018.08.28.05.40.38; Tue, 28 Aug 2018 05:40:53 -0700 (PDT) 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727873AbeH1Q37 (ORCPT + 99 others); Tue, 28 Aug 2018 12:29:59 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:36126 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbeH1Q36 (ORCPT ); Tue, 28 Aug 2018 12:29:58 -0400 Received: by mail-qt0-f180.google.com with SMTP id t5-v6so1431432qtn.3 for ; Tue, 28 Aug 2018 05:38:30 -0700 (PDT) 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; bh=zCqjS7Z13C+VdmB7nErIoWjLyg5hCdYBA5g2QlPvym8=; b=DenCLYdycfCqF+64VGX44Y/Ep/J1PlnMXM3cwlY/M/z1seO3rDoJYp/vJshh7M+XMo hxUX06u5qMqycIsEvwjvSm9c3R3RyPUbudoVlSi03HTXUxaiK9KyVb5muAE2BeYQv/Pj d3+nEicHbpMKhIEhdtJOJW95Vrod00P4HeutcQjSyFIg7cn8li5it44IFQ4DK8GU42cY XRhcGukgGC5jeh86K7PFfZABSe9HU64TZg1LRbMOlwAa46aLp4GlezLRRV7pF8VdsoOf 0FkTJgOn/fRtfUzbUUpO1eQw4bol/NP1DszK3/sMMcXN5v+Y9DolUs114EelEuPB5umL 6Pyw== X-Gm-Message-State: APzg51AhgCVB2OnkPZ6ANPPopsdjH5Gb4Xzpj9HZ0XfLgu/tV+qMT+E/ CV1um5nrUeaPY4IzhDS/P5QcQSy/yLinEI3ZUotbzg== X-Received: by 2002:a0c:d647:: with SMTP id e7-v6mr1252888qvj.238.1535459910518; Tue, 28 Aug 2018 05:38:30 -0700 (PDT) MIME-Version: 1.0 References: <20180821085513.13739-1-acelan.kao@canonical.com> In-Reply-To: From: Benjamin Tissoires Date: Tue, 28 Aug 2018 14:38:18 +0200 Message-ID: Subject: Re: [PATCH] HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen To: Jiri Kosina Cc: acelan.kao@canonical.com, Hans de Goede , Dmitry Torokhov , Aaron Ma , "open list:HID CORE LAYER" , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 28, 2018 at 1:46 PM Jiri Kosina wrote: > > On Tue, 21 Aug 2018, AceLan Kao wrote: > > > The incomplete report flooded after S3 and touchscreen becomes > > malfunctioned. > > [ 1367.646244] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/18785) > > [ 1367.649471] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/28743) > > [ 1367.651092] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/26757) > > [ 1367.652658] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/52280) > > [ 1367.654287] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/56059) > > > > Adding device ID, 04F3:30CC, to the quirk to re-send report description > > after resume. > > > > Cc: stable@vger.kernel.org > > Signed-off-by: AceLan Kao > > Applied, thanks. Just a quick note Jiri. Hans pointed me this morning to https://bugzilla.redhat.com/show_bug.cgi?id=1622695 And I think we should apply the quirk unconditionally as it should be safe to retrieve the HID descriptor at all times. I am planning on working on that tomorrow or Thursday when I have access to the XPS with i2c_hid devices attached to it. Cheers, Benjamin > > -- > Jiri Kosina > SUSE Labs >